ERC20Bytes__factory

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

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

Constructors

Constructor

new ERC20Bytes__factory(): ERC20Bytes__factory;

Returns

ERC20Bytes__factory

Properties

PropertyModifierTypeDefault value
abireadonlyreadonly [{ constant: true; inputs: readonly []; name: "name"; outputs: readonly [{ name: ""; type: "bytes32"; }]; payable: false; stateMutability: "view"; type: "function"; }, { constant: false; inputs: readonly [{ name: "spender"; type: "address"; }, { name: "value"; type: "uint256"; }]; name: "approve"; outputs: readonly [{ name: ""; type: "bool"; }]; payable: false; stateMutability: "nonpayable"; type: "function"; }, { constant: true; inputs: readonly []; name: "totalSupply"; outputs: readonly [{ name: ""; type: "uint256"; }]; payable: false; stateMutability: "view"; type: "function"; }, { constant: false; inputs: readonly [{ name: "from"; type: "address"; }, { name: "to"; type: "address"; }, { name: "value"; type: "uint256"; }]; name: "transferFrom"; outputs: readonly [{ name: ""; type: "bool"; }]; payable: false; stateMutability: "nonpayable"; type: "function"; }, { constant: true; inputs: readonly []; name: "decimals"; outputs: readonly [{ name: ""; type: "uint8"; }]; payable: false; stateMutability: "view"; type: "function"; }, { constant: true; inputs: readonly [{ name: "who"; type: "address"; }]; name: "balanceOf"; outputs: readonly [{ name: ""; type: "uint256"; }]; payable: false; stateMutability: "view"; type: "function"; }, { constant: true; inputs: readonly []; name: "symbol"; outputs: readonly [{ name: ""; type: "bytes32"; }]; payable: false; stateMutability: "view"; type: "function"; }, { constant: false; inputs: readonly [{ name: "to"; type: "address"; }, { name: "value"; type: "uint256"; }]; name: "transfer"; outputs: readonly [{ name: ""; type: "bool"; }]; payable: false; stateMutability: "nonpayable"; type: "function"; }, { constant: true; inputs: readonly [{ name: "owner"; type: "address"; }, { name: "spender"; type: "address"; }]; name: "allowance"; outputs: readonly [{ name: ""; type: "uint256"; }]; payable: false; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ name: "_name"; type: "string"; }, { name: "_symbol"; type: "string"; }, { name: "_decimals"; type: "uint8"; }]; payable: false; stateMutability: "nonpayable"; type: "constructor"; }, { anonymous: false; inputs: readonly [{ indexed: true; name: "owner"; type: "address"; }, { indexed: true; name: "spender"; type: "address"; }, { indexed: false; name: "value"; type: "uint256"; }]; name: "Approval"; type: "event"; }, { anonymous: false; inputs: readonly [{ indexed: true; name: "from"; type: "address"; }, { indexed: true; name: "to"; type: "address"; }, { indexed: false; name: "value"; type: "uint256"; }]; name: "Transfer"; type: "event"; }]_abi

Methods

connect()

static connect(address: string, signerOrProvider: Provider | Signer): ERC20Bytes;

Parameters

ParameterType
addressstring
signerOrProviderProvider | Signer

Returns

ERC20Bytes


createInterface()

static createInterface(): ERC20BytesInterface;

Returns

ERC20BytesInterface

On this page