Developer Guide

governance/proxy

Index

Variables

Functions

Variables

Const PROXY_ABI

PROXY_ABI: ABIDefinition[] = [ { constant: true, inputs: [], name: '_getImplementation', outputs: [ { name: 'implementation', type: 'address', }, ], payable: false, stateMutability: 'view', type: 'function', signature: '0x42404e07', }, { constant: false, inputs: [ { name: 'implementation', type: 'address', }, ], name: '_setImplementation', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', signature: '0xbb913f41', }, ]

Defined in contractkit/src/governance/proxy.ts:4

Functions

Const getImplementationOfProxy

getImplementationOfProxy(web3: Web3, proxyContractAddress: string): Promise‹string›

Defined in contractkit/src/governance/proxy.ts:37

Parameters:

Name

Type

web3

Web3

proxyContractAddress

string

Returns: Promise‹string›

Const setImplementationOnProxy

setImplementationOnProxy(address: string): any

Defined in contractkit/src/governance/proxy.ts:45

Parameters:

Name

Type

address

string

Returns: any