filters
filters: {
Approval(owner?, spender?, value?): ApprovalEventFilter;
Approval(address,address,uint256)(owner?, spender?, value?): ApprovalEventFilter;
Burn(caller?, receiver?, amountPYToRedeem?, amountSyOut?): BurnEventFilter;
Burn(address,address,uint256,uint256)(caller?, receiver?, amountPYToRedeem?, amountSyOut?): BurnEventFilter;
CollectInterestFee(amountInterestFee?): CollectInterestFeeEventFilter;
CollectInterestFee(uint256)(amountInterestFee?): CollectInterestFeeEventFilter;
CollectRewardFee(rewardToken?, amountRewardFee?): CollectRewardFeeEventFilter;
CollectRewardFee(address,uint256)(rewardToken?, amountRewardFee?): CollectRewardFeeEventFilter;
EIP712DomainChanged(): EIP712DomainChangedEventFilter;
EIP712DomainChanged()(): EIP712DomainChangedEventFilter;
Mint(caller?, receiverPT?, receiverYT?, amountSyToMint?, amountPYOut?): MintEventFilter;
Mint(address,address,address,uint256,uint256)(caller?, receiverPT?, receiverYT?, amountSyToMint?, amountPYOut?): MintEventFilter;
RedeemInterest(user?, interestOut?): RedeemInterestEventFilter;
RedeemInterest(address,uint256)(user?, interestOut?): RedeemInterestEventFilter;
RedeemRewards(user?, amountRewardsOut?): RedeemRewardsEventFilter;
RedeemRewards(address,uint256[])(user?, amountRewardsOut?): RedeemRewardsEventFilter;
Transfer(from?, to?, value?): TransferEventFilter;
Transfer(address,address,uint256)(from?, to?, value?): TransferEventFilter;
WithdrawFeeToTreasury(amountRewardsOut?, syOut?): WithdrawFeeToTreasuryEventFilter;
WithdrawFeeToTreasury(uint256[],uint256)(amountRewardsOut?, syOut?): WithdrawFeeToTreasuryEventFilter;
}
Type declaration
Approval:function
- Approval(owner?, spender?, value?): ApprovalEventFilter
Parameters
Optional
owner: null | string
Optional
spender: null | string
Optional
value: null
Returns ApprovalEventFilter
Approval(address,address,uint256):function
- Approval(address,address,uint256)(owner?, spender?, value?): ApprovalEventFilter
Parameters
Optional
owner: null | string
Optional
spender: null | string
Optional
value: null
Returns ApprovalEventFilter
Burn:function
- Burn(caller?, receiver?, amountPYToRedeem?, amountSyOut?): BurnEventFilter
Parameters
Optional
caller: null | string
Optional
receiver: null | string
Optional
amountPYToRedeem: null
Optional
amountSyOut: null
Returns BurnEventFilter
Burn(address,address,uint256,uint256):function
- Burn(address,address,uint256,uint256)(caller?, receiver?, amountPYToRedeem?, amountSyOut?): BurnEventFilter
Parameters
Optional
caller: null | string
Optional
receiver: null | string
Optional
amountPYToRedeem: null
Optional
amountSyOut: null
Returns BurnEventFilter
CollectInterestFee:function
- CollectInterestFee(amountInterestFee?): CollectInterestFeeEventFilter
Parameters
Optional
amountInterestFee: null
Returns CollectInterestFeeEventFilter
CollectInterestFee(uint256):function
- CollectInterestFee(uint256)(amountInterestFee?): CollectInterestFeeEventFilter
Parameters
Optional
amountInterestFee: null
Returns CollectInterestFeeEventFilter
CollectRewardFee:function
- CollectRewardFee(rewardToken?, amountRewardFee?): CollectRewardFeeEventFilter
Parameters
Optional
rewardToken: null | string
Optional
amountRewardFee: null
Returns CollectRewardFeeEventFilter
CollectRewardFee(address,uint256):function
- CollectRewardFee(address,uint256)(rewardToken?, amountRewardFee?): CollectRewardFeeEventFilter
Parameters
Optional
rewardToken: null | string
Optional
amountRewardFee: null
Returns CollectRewardFeeEventFilter
EIP712DomainChanged:function
- EIP712DomainChanged(): EIP712DomainChangedEventFilter
Returns EIP712DomainChangedEventFilter
EIP712DomainChanged():function
- EIP712DomainChanged()(): EIP712DomainChangedEventFilter
Returns EIP712DomainChangedEventFilter
Mint:function
- Mint(caller?, receiverPT?, receiverYT?, amountSyToMint?, amountPYOut?): MintEventFilter
Parameters
Optional
caller: null | string
Optional
receiverPT: null | string
Optional
receiverYT: null | string
Optional
amountSyToMint: null
Optional
amountPYOut: null
Returns MintEventFilter
Mint(address,address,address,uint256,uint256):function
- Mint(address,address,address,uint256,uint256)(caller?, receiverPT?, receiverYT?, amountSyToMint?, amountPYOut?): MintEventFilter
Parameters
Optional
caller: null | string
Optional
receiverPT: null | string
Optional
receiverYT: null | string
Optional
amountSyToMint: null
Optional
amountPYOut: null
Returns MintEventFilter
RedeemInterest:function
- RedeemInterest(user?, interestOut?): RedeemInterestEventFilter
Parameters
Optional
user: null | string
Optional
interestOut: null
Returns RedeemInterestEventFilter
RedeemInterest(address,uint256):function
- RedeemInterest(address,uint256)(user?, interestOut?): RedeemInterestEventFilter
Parameters
Optional
user: null | string
Optional
interestOut: null
Returns RedeemInterestEventFilter
RedeemRewards:function
- RedeemRewards(user?, amountRewardsOut?): RedeemRewardsEventFilter
Parameters
Optional
user: null | string
Optional
amountRewardsOut: null
Returns RedeemRewardsEventFilter
RedeemRewards(address,uint256[]):function
- RedeemRewards(address,uint256[])(user?, amountRewardsOut?): RedeemRewardsEventFilter
Parameters
Optional
user: null | string
Optional
amountRewardsOut: null
Returns RedeemRewardsEventFilter
Transfer:function
- Transfer(from?, to?, value?): TransferEventFilter
Parameters
Optional
from: null | string
Optional
to: null | string
Optional
value: null
Returns TransferEventFilter
Transfer(address,address,uint256):function
- Transfer(address,address,uint256)(from?, to?, value?): TransferEventFilter
Parameters
Optional
from: null | string
Optional
to: null | string
Optional
value: null
Returns TransferEventFilter
WithdrawFeeToTreasury:function
- WithdrawFeeToTreasury(amountRewardsOut?, syOut?): WithdrawFeeToTreasuryEventFilter
Parameters
Optional
amountRewardsOut: null
Optional
syOut: null
Returns WithdrawFeeToTreasuryEventFilter
WithdrawFeeToTreasury(uint256[],uint256):function
- WithdrawFeeToTreasury(uint256[],uint256)(amountRewardsOut?, syOut?): WithdrawFeeToTreasuryEventFilter
Parameters
Optional
amountRewardsOut: null
Optional
syOut: null
Returns WithdrawFeeToTreasuryEventFilter
populateTransaction
populateTransaction: {
DOMAIN_SEPARATOR(overrides?): Promise<PopulatedTransaction>;
PT(overrides?): Promise<PopulatedTransaction>;
SY(overrides?): Promise<PopulatedTransaction>;
allowance(owner, spender, overrides?): Promise<PopulatedTransaction>;
approve(spender, amount, overrides?): Promise<PopulatedTransaction>;
balanceOf(account, overrides?): Promise<PopulatedTransaction>;
decimals(overrides?): Promise<PopulatedTransaction>;
doCacheIndexSameBlock(overrides?): Promise<PopulatedTransaction>;
eip712Domain(overrides?): Promise<PopulatedTransaction>;
expiry(overrides?): Promise<PopulatedTransaction>;
factory(overrides?): Promise<PopulatedTransaction>;
getPostExpiryData(overrides?): Promise<PopulatedTransaction>;
getRewardTokens(overrides?): Promise<PopulatedTransaction>;
globalInterestIndex(overrides?): Promise<PopulatedTransaction>;
isDistributingInterestAndRewards(overrides?): Promise<PopulatedTransaction>;
isExpired(overrides?): Promise<PopulatedTransaction>;
lastInterestBlock(overrides?): Promise<PopulatedTransaction>;
lastRewardBlock(overrides?): Promise<PopulatedTransaction>;
mintPY(receiverPT, receiverYT, overrides?): Promise<PopulatedTransaction>;
mintPYMulti(receiverPTs, receiverYTs, amountSyToMints, overrides?): Promise<PopulatedTransaction>;
name(overrides?): Promise<PopulatedTransaction>;
nonces(owner, overrides?): Promise<PopulatedTransaction>;
permit(owner, spender, value, deadline, v, r, s, overrides?): Promise<PopulatedTransaction>;
postExpiry(overrides?): Promise<PopulatedTransaction>;
pyIndexCurrent(overrides?): Promise<PopulatedTransaction>;
pyIndexLastUpdatedBlock(overrides?): Promise<PopulatedTransaction>;
pyIndexStored(overrides?): Promise<PopulatedTransaction>;
redeemDueInterestAndRewards(user, redeemInterest, redeemRewards, overrides?): Promise<PopulatedTransaction>;
redeemInterestAndRewardsPostExpiryForTreasury(overrides?): Promise<PopulatedTransaction>;
redeemPY(receiver, overrides?): Promise<PopulatedTransaction>;
redeemPYMulti(receivers, amountPYToRedeems, overrides?): Promise<PopulatedTransaction>;
rewardIndexesCurrent(overrides?): Promise<PopulatedTransaction>;
rewardState(arg0, overrides?): Promise<PopulatedTransaction>;
setPostExpiryData(overrides?): Promise<PopulatedTransaction>;
syReserve(overrides?): Promise<PopulatedTransaction>;
symbol(overrides?): Promise<PopulatedTransaction>;
totalSupply(overrides?): Promise<PopulatedTransaction>;
transfer(to, amount, overrides?): Promise<PopulatedTransaction>;
transferFrom(from, to, amount, overrides?): Promise<PopulatedTransaction>;
userInterest(arg0, overrides?): Promise<PopulatedTransaction>;
userReward(arg0, arg1, overrides?): Promise<PopulatedTransaction>;
}
Type declaration
DOMAIN_SEPARATOR:function
- DOMAIN_SEPARATOR(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
PT:function
- PT(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
SY:function
- SY(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
allowance:function
- allowance(owner, spender, overrides?): Promise<PopulatedTransaction>
Parameters
owner: string
spender: string
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
approve:function
- approve(spender, amount, overrides?): Promise<PopulatedTransaction>
Parameters
spender: string
Optional
overrides: Overrides & {
from?: string | Promise<string>;
}
Returns Promise<PopulatedTransaction>
balanceOf:function
- balanceOf(account, overrides?): Promise<PopulatedTransaction>
Parameters
account: string
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
decimals:function
- decimals(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
doCacheIndexSameBlock:function
- doCacheIndexSameBlock(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
eip712Domain:function
- eip712Domain(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
expiry:function
- expiry(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
factory:function
- factory(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
getPostExpiryData:function
- getPostExpiryData(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
getRewardTokens:function
- getRewardTokens(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
globalInterestIndex:function
- globalInterestIndex(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
isDistributingInterestAndRewards:function
- isDistributingInterestAndRewards(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
isExpired:function
- isExpired(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
lastInterestBlock:function
- lastInterestBlock(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
lastRewardBlock:function
- lastRewardBlock(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
mintPY:function
- mintPY(receiverPT, receiverYT, overrides?): Promise<PopulatedTransaction>
Parameters
receiverPT: string
receiverYT: string
Optional
overrides: Overrides & {
from?: string | Promise<string>;
}
Returns Promise<PopulatedTransaction>
mintPYMulti:function
- mintPYMulti(receiverPTs, receiverYTs, amountSyToMints, overrides?): Promise<PopulatedTransaction>
Parameters
receiverPTs: string[]
receiverYTs: string[]
Optional
overrides: Overrides & {
from?: string | Promise<string>;
}
Returns Promise<PopulatedTransaction>
name:function
- name(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
nonces:function
- nonces(owner, overrides?): Promise<PopulatedTransaction>
Parameters
owner: string
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
permit:function
- permit(owner, spender, value, deadline, v, r, s, overrides?): Promise<PopulatedTransaction>
Parameters
owner: string
spender: string
Optional
overrides: Overrides & {
from?: string | Promise<string>;
}
Returns Promise<PopulatedTransaction>
postExpiry:function
- postExpiry(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
pyIndexCurrent:function
- pyIndexCurrent(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: Overrides & {
from?: string | Promise<string>;
}
Returns Promise<PopulatedTransaction>
pyIndexLastUpdatedBlock:function
- pyIndexLastUpdatedBlock(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
pyIndexStored:function
- pyIndexStored(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
redeemDueInterestAndRewards:function
- redeemDueInterestAndRewards(user, redeemInterest, redeemRewards, overrides?): Promise<PopulatedTransaction>
Parameters
user: string
redeemInterest: boolean
redeemRewards: boolean
Optional
overrides: Overrides & {
from?: string | Promise<string>;
}
Returns Promise<PopulatedTransaction>
redeemInterestAndRewardsPostExpiryForTreasury:function
- redeemInterestAndRewardsPostExpiryForTreasury(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: Overrides & {
from?: string | Promise<string>;
}
Returns Promise<PopulatedTransaction>
redeemPY:function
- redeemPY(receiver, overrides?): Promise<PopulatedTransaction>
Parameters
receiver: string
Optional
overrides: Overrides & {
from?: string | Promise<string>;
}
Returns Promise<PopulatedTransaction>
redeemPYMulti:function
- redeemPYMulti(receivers, amountPYToRedeems, overrides?): Promise<PopulatedTransaction>
Parameters
receivers: string[]
Optional
overrides: Overrides & {
from?: string | Promise<string>;
}
Returns Promise<PopulatedTransaction>
rewardIndexesCurrent:function
- rewardIndexesCurrent(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: Overrides & {
from?: string | Promise<string>;
}
Returns Promise<PopulatedTransaction>
rewardState:function
- rewardState(arg0, overrides?): Promise<PopulatedTransaction>
Parameters
arg0: string
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
setPostExpiryData:function
- setPostExpiryData(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: Overrides & {
from?: string | Promise<string>;
}
Returns Promise<PopulatedTransaction>
syReserve:function
- syReserve(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
symbol:function
- symbol(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
totalSupply:function
- totalSupply(overrides?): Promise<PopulatedTransaction>
Parameters
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
transfer:function
- transfer(to, amount, overrides?): Promise<PopulatedTransaction>
Parameters
to: string
Optional
overrides: Overrides & {
from?: string | Promise<string>;
}
Returns Promise<PopulatedTransaction>
transferFrom:function
- transferFrom(from, to, amount, overrides?): Promise<PopulatedTransaction>
Parameters
from: string
to: string
Optional
overrides: Overrides & {
from?: string | Promise<string>;
}
Returns Promise<PopulatedTransaction>
userInterest:function
- userInterest(arg0, overrides?): Promise<PopulatedTransaction>
Parameters
arg0: string
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
userReward:function
- userReward(arg0, arg1, overrides?): Promise<PopulatedTransaction>
Parameters
arg0: string
arg1: string
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>