delegateAll

Allow the delegate to act on behalf of `msg.sender` for all contracts

delegateAll( to: string, rights: string, enable: boolean ) ⇒ Promise< TransactionHash >

Returns the transaction hash of the submitted delegation.

Usage Example

const to = "0x0000000000000000000000000000000000000003";
const from = "0x0000000000000000000000000000000000000001";
const tx = await v2.delegateAll(to, "", true);

Last updated