network
'kovan'
, 'mainnet'
or an actual list of contract addresses.provider
from
, gasPrice
, gas
(gas limit, web3.js ony) or gasLimit
(gas limit, ethers.js only). The object can then be passed to the sendTransaction
of ehters.js or web3.js​tokenAddress
: string): Erc20tokenAddress
gebContractClass
: GebContractAPIConstructorInterface‹T›, address
: string): TgebContractClass
address
campaignNumber
: number): Promise‹StakingRewards‹››campaignNumber
DOES_NOT_OWN_HAVE_PROXY
error if the address specified does not have a proxy. Use the deployProxy function to get a new proxy.ownerAddress
safeManager
id or a safeEngine
handler address.idOrHandler
collateralType?
address
calls
: [MulticallRequest‹O1›, MulticallRequest‹O2›, MulticallRequest‹O3›]): Promise‹[O1, O2, O3]›multicall
parameter of the contract function to true
, it is the always the last parameter of the function. Multicall works for all contracts in the Geb.contracts
and can be use with any contract that inherit the BaseContractApi
. Note that it does not support non-view calls (Calls that require to pay gas and change the state of the blockchain).calls
multicall
set to true
as seen in the example above.Static
getGebContractgebContractClass
: GebContractAPIConstructorInterface‹T›, address
: string, provider
: GebProviderInterface | Provider): TgebContractClass
address
provider