yearn-vaults / Modules / AffiliateToken / AffiliateTokenInterface
Interface: AffiliateTokenInterface
AffiliateToken.AffiliateTokenInterface
Hierarchy
Interface
↳ AffiliateTokenInterface
Table of contents
Properties
Methods
- _decodeParams
- _encodeParams
- decodeErrorResult
- decodeEventLog
- decodeFunctionData
- decodeFunctionResult
- encodeDeploy
- encodeErrorResult
- encodeEventLog
- encodeFilterTopics
- encodeFunctionData
- encodeFunctionResult
- format
- getError
- getEvent
- getEventTopic
- getFunction
- getSighash
- parseError
- parseLog
- parseTransaction
Properties
_abiCoder
• Readonly
_abiCoder: AbiCoder
Inherited from
ethers.utils.Interface._abiCoder
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:50
_isInterface
• Readonly
_isInterface: boolean
Inherited from
ethers.utils.Interface._isInterface
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:51
deploy
• Readonly
deploy: ConstructorFragment
Inherited from
ethers.utils.Interface.deploy
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:49
errors
• Readonly
errors: Object
Index signature
▪ [name: string
]: ErrorFragment
Inherited from
ethers.utils.Interface.errors
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:37
events
• events: Object
Type declaration
Name | Type |
---|---|
Approval(address,address,uint256) |
EventFragment |
Transfer(address,address,uint256) |
EventFragment |
Overrides
ethers.utils.Interface.events
Defined in
typechain/AffiliateToken.d.ts:231
fragments
• Readonly
fragments: readonly Fragment
[]
Inherited from
ethers.utils.Interface.fragments
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:36
functions
• functions: Object
Type declaration
Name | Type |
---|---|
DOMAIN_SEPARATOR() |
FunctionFragment |
DOMAIN_TYPEHASH() |
FunctionFragment |
PERMIT_TYPEHASH() |
FunctionFragment |
acceptAffiliate() |
FunctionFragment |
affiliate() |
FunctionFragment |
allVaults() |
FunctionFragment |
allowance(address,address) |
FunctionFragment |
approve(address,uint256) |
FunctionFragment |
balanceOf(address) |
FunctionFragment |
bestVault(address) |
FunctionFragment |
decimals() |
FunctionFragment |
decreaseAllowance(address,uint256) |
FunctionFragment |
deposit(uint256) |
FunctionFragment |
increaseAllowance(address,uint256) |
FunctionFragment |
migrate(uint256,uint256) |
FunctionFragment |
name() |
FunctionFragment |
nonces(address) |
FunctionFragment |
pendingAffiliate() |
FunctionFragment |
permit(address,address,uint256,uint256,uint8,bytes32,bytes32) |
FunctionFragment |
pricePerShare() |
FunctionFragment |
registry() |
FunctionFragment |
setAffiliate(address) |
FunctionFragment |
setRegistry(address) |
FunctionFragment |
symbol() |
FunctionFragment |
token() |
FunctionFragment |
totalAssets() |
FunctionFragment |
totalSupply() |
FunctionFragment |
totalVaultBalance(address,address) |
FunctionFragment |
transfer(address,uint256) |
FunctionFragment |
transferFrom(address,address,uint256) |
FunctionFragment |
withdraw(uint256) |
FunctionFragment |
Overrides
ethers.utils.Interface.functions
Defined in
typechain/AffiliateToken.d.ts:23
structs
• Readonly
structs: Object
Index signature
▪ [name: string
]: any
Inherited from
ethers.utils.Interface.structs
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:46
Methods
_decodeParams
▸ _decodeParams(params
, data
): Result
Parameters
Name | Type |
---|---|
params |
readonly ParamType [] |
data |
BytesLike |
Returns
Result
Inherited from
ethers.utils.Interface._decodeParams
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:63
_encodeParams
▸ _encodeParams(params
, values
): string
Parameters
Name | Type |
---|---|
params |
readonly ParamType [] |
values |
readonly any [] |
Returns
string
Inherited from
ethers.utils.Interface._encodeParams
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:64
decodeErrorResult
▸ decodeErrorResult(fragment
, data
): Result
Parameters
Name | Type |
---|---|
fragment |
string | ErrorFragment |
data |
BytesLike |
Returns
Result
Inherited from
ethers.utils.Interface.decodeErrorResult
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:66
decodeEventLog
▸ decodeEventLog(eventFragment
, data
, topics?
): Result
Parameters
Name | Type |
---|---|
eventFragment |
string | EventFragment |
data |
BytesLike |
topics? |
readonly string [] |
Returns
Result
Inherited from
ethers.utils.Interface.decodeEventLog
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:77
decodeFunctionData
▸ decodeFunctionData(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
string | FunctionFragment |
data |
BytesLike |
Returns
Result
Inherited from
ethers.utils.Interface.decodeFunctionData
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:68
decodeFunctionResult
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"DOMAIN_SEPARATOR" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:157
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"DOMAIN_TYPEHASH" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:161
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"PERMIT_TYPEHASH" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:165
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"acceptAffiliate" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:169
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"affiliate" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:173
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"allVaults" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:174
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"allowance" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:175
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"approve" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:176
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"balanceOf" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:177
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"bestVault" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:178
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"decimals" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:179
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"decreaseAllowance" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:180
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"deposit" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:184
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"increaseAllowance" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:185
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"migrate" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:189
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"name" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:190
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"nonces" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:191
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"pendingAffiliate" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:192
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"permit" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:196
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"pricePerShare" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:197
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"registry" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:201
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setAffiliate" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:202
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setRegistry" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:206
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"symbol" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:210
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"token" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:211
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"totalAssets" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:212
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"totalSupply" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:216
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"totalVaultBalance" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:220
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"transfer" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:224
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"transferFrom" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:225
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"withdraw" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/AffiliateToken.d.ts:229
encodeDeploy
▸ encodeDeploy(values?
): string
Parameters
Name | Type |
---|---|
values? |
readonly any [] |
Returns
string
Inherited from
ethers.utils.Interface.encodeDeploy
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:65
encodeErrorResult
▸ encodeErrorResult(fragment
, values?
): string
Parameters
Name | Type |
---|---|
fragment |
string | ErrorFragment |
values? |
readonly any [] |
Returns
string
Inherited from
ethers.utils.Interface.encodeErrorResult
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:67
encodeEventLog
▸ encodeEventLog(eventFragment
, values
): Object
Parameters
Name | Type |
---|---|
eventFragment |
EventFragment |
values |
readonly any [] |
Returns
Object
Name | Type |
---|---|
data |
string |
topics |
string [] |
Inherited from
ethers.utils.Interface.encodeEventLog
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:73
encodeFilterTopics
▸ encodeFilterTopics(eventFragment
, values
): (string
| string
[])[]
Parameters
Name | Type |
---|---|
eventFragment |
EventFragment |
values |
readonly any [] |
Returns
(string
| string
[])[]
Inherited from
ethers.utils.Interface.encodeFilterTopics
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:72
encodeFunctionData
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"DOMAIN_SEPARATOR" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:57
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"DOMAIN_TYPEHASH" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:61
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"PERMIT_TYPEHASH" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:65
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"acceptAffiliate" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:69
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"affiliate" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:73
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"allVaults" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:74
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"allowance" |
values |
[string , string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:75
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"approve" |
values |
[string , BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:79
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"balanceOf" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:83
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"bestVault" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:84
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"decimals" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:85
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"decreaseAllowance" |
values |
[string , BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:86
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"deposit" |
values |
[BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:90
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"increaseAllowance" |
values |
[string , BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:94
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"migrate" |
values |
[BigNumberish , BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:98
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"name" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:102
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"nonces" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:103
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"pendingAffiliate" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:104
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"permit" |
values |
[string , string , BigNumberish , BigNumberish , BigNumberish , BytesLike , BytesLike ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:108
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"pricePerShare" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:120
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"registry" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:124
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setAffiliate" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:125
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setRegistry" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:129
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"symbol" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:130
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"token" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:131
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"totalAssets" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:132
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"totalSupply" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:136
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"totalVaultBalance" |
values |
[string , string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:140
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"transfer" |
values |
[string , BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:144
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"transferFrom" |
values |
[string , string , BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:148
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"withdraw" |
values |
[BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/AffiliateToken.d.ts:152
encodeFunctionResult
▸ encodeFunctionResult(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
string | FunctionFragment |
values? |
readonly any [] |
Returns
string
Inherited from
ethers.utils.Interface.encodeFunctionResult
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:71
format
▸ format(format?
): string
| string
[]
Parameters
Name | Type |
---|---|
format? |
string |
Returns
string
| string
[]
Inherited from
ethers.utils.Interface.format
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:53
getError
▸ getError(nameOrSignatureOrSighash
): ErrorFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrSighash |
string |
Returns
ErrorFragment
Inherited from
ethers.utils.Interface.getError
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:60
getEvent
▸ getEvent(nameOrSignatureOrTopic
): EventFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrTopic |
"Approval" |
Returns
EventFragment
Overrides
ethers.utils.Interface.getEvent
Defined in
typechain/AffiliateToken.d.ts:236
▸ getEvent(nameOrSignatureOrTopic
): EventFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrTopic |
"Transfer" |
Returns
EventFragment
Overrides
ethers.utils.Interface.getEvent
Defined in
typechain/AffiliateToken.d.ts:237
getEventTopic
▸ getEventTopic(eventFragment
): string
Parameters
Name | Type |
---|---|
eventFragment |
string | EventFragment |
Returns
string
Inherited from
ethers.utils.Interface.getEventTopic
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:62
getFunction
▸ getFunction(nameOrSignatureOrSighash
): FunctionFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrSighash |
string |
Returns
FunctionFragment
Inherited from
ethers.utils.Interface.getFunction
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:58
getSighash
▸ getSighash(fragment
): string
Parameters
Name | Type |
---|---|
fragment |
string | ErrorFragment | FunctionFragment |
Returns
string
Inherited from
ethers.utils.Interface.getSighash
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:61
parseError
▸ parseError(data
): ErrorDescription
Parameters
Name | Type |
---|---|
data |
BytesLike |
Returns
ErrorDescription
Inherited from
ethers.utils.Interface.parseError
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:86
parseLog
▸ parseLog(log
): LogDescription
Parameters
Name | Type |
---|---|
log |
Object |
log.data |
string |
log.topics |
string [] |
Returns
LogDescription
Inherited from
ethers.utils.Interface.parseLog
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:82
parseTransaction
▸ parseTransaction(tx
): TransactionDescription
Parameters
Name | Type |
---|---|
tx |
Object |
tx.data |
string |
tx.value? |
BigNumberish |
Returns
TransactionDescription
Inherited from
ethers.utils.Interface.parseTransaction
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:78