ERC20BoundContractView

Class in @sentio/sdk/eth/builtin › erc20

Defined in @sentio/sdk/eth/builtin › erc20

Extends

Constructors

Constructor

new ERC20BoundContractView(address: string, view: ERC20ContractView): ERC20BoundContractView;

Parameters

ParameterType
addressstring
viewERC20ContractView

Returns

ERC20BoundContractView

Inherited from

BoundContractView.constructor

Properties

PropertyTypeOverridesInherited from
addressstring-BoundContractView.address
callStaticobjectBoundContractView.callStatic-
callStatic.contextEthContext--
callStatic.viewERC20ContractView--
callStatic.approvePromise<boolean>--
callStatic.burnPromise<void>--
callStatic.burnFromPromise<void>--
callStatic.decreaseAllowancePromise<boolean>--
callStatic.increaseAllowancePromise<boolean>--
callStatic.renounceOwnershipPromise<void>--
callStatic.setLockerPromise<void>--
callStatic.transferPromise<boolean>--
callStatic.transferFromPromise<boolean>--
callStatic.transferOwnershipPromise<void>--
contextEthContext-BoundContractView.context
encodeCallobjectBoundContractView.encodeCall-
encodeCall.contextEthContext--
encodeCall.viewERC20ContractView--
encodeCall.allowanceEthCallParam--
encodeCall.approveEthCallParam--
encodeCall.balanceOfEthCallParam--
encodeCall.burnEthCallParam--
encodeCall.burnFromEthCallParam--
encodeCall.decimalsEthCallParam--
encodeCall.decreaseAllowanceEthCallParam--
encodeCall.increaseAllowanceEthCallParam--
encodeCall.lockerEthCallParam--
encodeCall.nameEthCallParam--
encodeCall.ownerEthCallParam--
encodeCall.renounceOwnershipEthCallParam--
encodeCall.setLockerEthCallParam--
encodeCall.symbolEthCallParam--
encodeCall.totalSupplyEthCallParam--
encodeCall.transferEthCallParam--
encodeCall.transferFromEthCallParam--
encodeCall.transferOwnershipEthCallParam--

Accessors

filters

Get Signature

get filters(): Record<string, ContractEvent<any[]>>;
Returns

Record<string, ContractEvent<any[]>>

Inherited from

BoundContractView.filters


provider

Get Signature

get provider(): Provider;
Returns

Provider

Inherited from

BoundContractView.provider


rawContract

Get Signature

get rawContract(): TContract;
Returns

TContract

Inherited from

BoundContractView.rawContract

Methods

allowance()

allowance(
   owner: string, 
   spender: string, 
   overrides?: Overrides
): Promise<bigint>;

Parameters

ParameterType
ownerstring
spenderstring
overrides?Overrides

Returns

Promise<bigint>


balanceOf()

balanceOf(account: string, overrides?: Overrides): Promise<bigint>;

Parameters

ParameterType
accountstring
overrides?Overrides

Returns

Promise<bigint>


decimals()

decimals(overrides?: Overrides): Promise<bigint>;

Parameters

ParameterType
overrides?Overrides

Returns

Promise<bigint>


locker()

locker(overrides?: Overrides): Promise<string>;

Parameters

ParameterType
overrides?Overrides

Returns

Promise<string>


name()

name(overrides?: Overrides): Promise<string>;

Parameters

ParameterType
overrides?Overrides

Returns

Promise<string>


owner()

owner(overrides?: Overrides): Promise<string>;

Parameters

ParameterType
overrides?Overrides

Returns

Promise<string>


symbol()

symbol(overrides?: Overrides): Promise<string>;

Parameters

ParameterType
overrides?Overrides

Returns

Promise<string>


totalSupply()

totalSupply(overrides?: Overrides): Promise<bigint>;

Parameters

ParameterType
overrides?Overrides

Returns

Promise<bigint>

On this page