Skip to main content

Class: TokenAuthority__factory

Extends

  • ContractFactory

Constructors

new TokenAuthority__factory()

new TokenAuthority__factory(...args): TokenAuthority__factory

Parameters

args

...TokenAuthorityConstructorParams

Returns

TokenAuthority__factory

Overrides

ContractFactory.constructor

Properties

bytecode

readonly bytecode: string

Inherited from

ContractFactory.bytecode


interface

readonly interface: Interface

Inherited from

ContractFactory.interface


signer

readonly signer: Signer

Inherited from

ContractFactory.signer


abi

readonly static abi: readonly [{ constant: true; inputs: readonly []; name: "token"; outputs: readonly [{ name: ""; type: "address"; }]; payable: false; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ name: "_token"; type: "address"; }, { name: "_colony"; type: "address"; }, { name: "allowedToTransfer"; type: "address[]"; }]; payable: false; stateMutability: "nonpayable"; type: "constructor"; }, { constant: true; inputs: readonly [{ name: "src"; type: "address"; }, { name: "dst"; type: "address"; }, { name: "sig"; type: "bytes4"; }]; name: "canCall"; outputs: readonly [{ name: ""; type: "bool"; }]; payable: false; stateMutability: "view"; type: "function"; }]


bytecode

readonly static bytecode: "0x608060405234801561001057600080fd5b506040516104e63803806104e68339810180604052606081101561003357600080fd5b815160208301516040840180519294919382019264010000000081111561005957600080fd5b8201602081018481111561006c57600080fd5b815185602082028301116401000000008211171561008957600080fd5b5050600080546001600160a01b0388166001600160a01b0319909116178155604080517f7472616e7366657228616464726573732c75696e7432353629000000000000008152905190819003601901812092955091935091508060256104c18239604080519182900360250182207f6d696e742875696e7432353629000000000000000000000000000000000000008352815192839003600d0183207f6d696e7428616464726573732c75696e7432353629000000000000000000000084528251938490036015019093206001600160a01b0389166000908152600160208181528583207fffffffff00000000000000000000000000000000000000000000000000000000808c168552818352878520805460ff199081168617909155818a1686528284528886208054821686179055908616855291529482208054909516179093559094509192505b85518110156102cb5760018060008884815181106101ed57fe5b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000876001600160e01b0319166001600160e01b031916815260200190815260200160002060006101000a81548160ff021916908315150217905550600180600088848151811061026257fe5b6020908102919091018101516001600160a01b0316825281810192909252604090810160009081207fffffffff00000000000000000000000000000000000000000000000000000000891682529092529020805460ff19169115159190911790556001016101d3565b50505050505050506101df806102e26000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063b70096131461003b578063fc0c546a14610090575b600080fd5b61007c6004803603606081101561005157600080fd5b5080356001600160a01b0390811691602081013590911690604001356001600160e01b0319166100b4565b604080519115158252519081900360200190f35b6100986101a4565b604080516001600160a01b039092168252519081900360200190f35b604080517f6275726e2875696e7432353629000000000000000000000000000000000000008152905190819003600d0190206000906001600160e01b0319838116911614806101405750604080517f6275726e28616464726573732c75696e74323536290000000000000000000000815290519081900360150190206001600160e01b03198381169116145b1561014d5750600161019d565b6000546001600160a01b0384811691161461016a5750600061019d565b506001600160a01b03831660009081526001602090815260408083206001600160e01b03198516845290915290205460ff165b9392505050565b6000546001600160a01b03168156fea165627a7a72305820905ae19ec95e696850884f6171ef6edd4a5cbabf1cd08b31581bca5024779c4100297472616e7366657246726f6d28616464726573732c616464726573732c75696e7432353629" = "0x608060405234801561001057600080fd5b506040516104e63803806104e68339810180604052606081101561003357600080fd5b815160208301516040840180519294919382019264010000000081111561005957600080fd5b8201602081018481111561006c57600080fd5b815185602082028301116401000000008211171561008957600080fd5b5050600080546001600160a01b0388166001600160a01b0319909116178155604080517f7472616e7366657228616464726573732c75696e7432353629000000000000008152905190819003601901812092955091935091508060256104c18239604080519182900360250182207f6d696e742875696e7432353629000000000000000000000000000000000000008352815192839003600d0183207f6d696e7428616464726573732c75696e7432353629000000000000000000000084528251938490036015019093206001600160a01b0389166000908152600160208181528583207fffffffff00000000000000000000000000000000000000000000000000000000808c168552818352878520805460ff199081168617909155818a1686528284528886208054821686179055908616855291529482208054909516179093559094509192505b85518110156102cb5760018060008884815181106101ed57fe5b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000876001600160e01b0319166001600160e01b031916815260200190815260200160002060006101000a81548160ff021916908315150217905550600180600088848151811061026257fe5b6020908102919091018101516001600160a01b0316825281810192909252604090810160009081207fffffffff00000000000000000000000000000000000000000000000000000000891682529092529020805460ff19169115159190911790556001016101d3565b50505050505050506101df806102e26000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063b70096131461003b578063fc0c546a14610090575b600080fd5b61007c6004803603606081101561005157600080fd5b5080356001600160a01b0390811691602081013590911690604001356001600160e01b0319166100b4565b604080519115158252519081900360200190f35b6100986101a4565b604080516001600160a01b039092168252519081900360200190f35b604080517f6275726e2875696e7432353629000000000000000000000000000000000000008152905190819003600d0190206000906001600160e01b0319838116911614806101405750604080517f6275726e28616464726573732c75696e74323536290000000000000000000000815290519081900360150190206001600160e01b03198381169116145b1561014d5750600161019d565b6000546001600160a01b0384811691161461016a5750600061019d565b506001600160a01b03831660009081526001602090815260408083206001600160e01b03198516845290915290205460ff165b9392505050565b6000546001600160a01b03168156fea165627a7a72305820905ae19ec95e696850884f6171ef6edd4a5cbabf1cd08b31581bca5024779c4100297472616e7366657246726f6d28616464726573732c616464726573732c75696e7432353629"

Methods

attach()

attach(address): TokenAuthority

Parameters

address

string

Returns

TokenAuthority

Overrides

ContractFactory.attach


connect()

connect(signer): TokenAuthority__factory

Parameters

signer

Signer

Returns

TokenAuthority__factory

Overrides

ContractFactory.connect


deploy()

deploy(_token, _colony, allowedToTransfer, overrides?): Promise\<TokenAuthority>

Parameters

_token

string

_colony

string

allowedToTransfer

string[]

overrides?

Overrides & object

Returns

Promise\<TokenAuthority>

Overrides

ContractFactory.deploy


getDeployTransaction()

getDeployTransaction(_token, _colony, allowedToTransfer, overrides?): TransactionRequest

Parameters

_token

string

_colony

string

allowedToTransfer

string[]

overrides?

Overrides & object

Returns

TransactionRequest

Overrides

ContractFactory.getDeployTransaction


connect()

static connect(address, signerOrProvider): TokenAuthority

Parameters

address

string

signerOrProvider

Signer | Provider

Returns

TokenAuthority


createInterface()

static createInterface(): TokenAuthorityInterface

Returns

TokenAuthorityInterface


fromSolidity()

static fromSolidity(compilerOutput, signer?): ContractFactory

Parameters

compilerOutput

any

signer?

Signer

Returns

ContractFactory

Inherited from

ContractFactory.fromSolidity


getContract()

static getContract(address, contractInterface, signer?): Contract

Parameters

address

string

contractInterface

ContractInterface

signer?

Signer

Returns

Contract

Inherited from

ContractFactory.getContract


getContractAddress()

static getContractAddress(tx): string

Parameters

tx
from

string

nonce

number | BigNumber | BytesLike

Returns

string

Inherited from

ContractFactory.getContractAddress


getInterface()

static getInterface(contractInterface): Interface

Parameters

contractInterface

ContractInterface

Returns

Interface

Inherited from

ContractFactory.getInterface