UNPKG

@celo/contractkit

Version:

Celo's ContractKit to interact with Celo network

46 lines (45 loc) 2.17 kB
import { ABIDefinition, AbiItem } from '@celo/connect'; import Web3 from 'web3'; export declare const GET_IMPLEMENTATION_ABI: ABIDefinition; export declare const SET_IMPLEMENTATION_ABI: ABIDefinition; export declare const SET_AND_INITIALIZE_IMPLEMENTATION_ABI: ABIDefinition; export declare const TRANSFER_OWNERSHIP_ABI: ABIDefinition; export declare const PROXY_ABI: ABIDefinition[]; export declare const PROXY_SET_IMPLEMENTATION_SIGNATURE: string; export declare const PROXY_SET_AND_INITIALIZE_IMPLEMENTATION_SIGNATURE: string; declare const initializeAbiMap: { AccountsProxy: AbiItem | undefined; AttestationsProxy: AbiItem | undefined; CeloUnreleasedTreasuryProxy: AbiItem | undefined; DoubleSigningSlasherProxy: AbiItem | undefined; DowntimeSlasherProxy: AbiItem | undefined; ElectionProxy: AbiItem | undefined; EpochManagerProxy: AbiItem | undefined; EpochManagerEnablerProxy: AbiItem | undefined; EpochRewardsProxy: AbiItem | undefined; EscrowProxy: AbiItem | undefined; FederatedAttestationsProxy: AbiItem | undefined; FeeCurrencyDirectoryProxy: AbiItem | undefined; FeeCurrencyWhitelistProxy: AbiItem | undefined; FeeHandlerProxy: AbiItem | undefined; MentoFeeHandlerSellerProxy: AbiItem | undefined; UniswapFeeHandlerSellerProxy: AbiItem | undefined; FreezerProxy: AbiItem | undefined; GoldTokenProxy: AbiItem | undefined; GovernanceProxy: AbiItem | undefined; LockedGoldProxy: AbiItem | undefined; MultiSigProxy: AbiItem | undefined; OdisPaymentsProxy: AbiItem | undefined; ProxyProxy: AbiItem | undefined; RegistryProxy: AbiItem | undefined; ReserveProxy: AbiItem | undefined; ScoreManagerProxy: AbiItem | undefined; SortedOraclesProxy: AbiItem | undefined; StableTokenProxy: AbiItem | undefined; StableTokenEURProxy: AbiItem | undefined; StableTokenBRLProxy: AbiItem | undefined; ValidatorsProxy: AbiItem | undefined; }; export declare const getInitializeAbiOfImplementation: (proxyContractName: keyof typeof initializeAbiMap) => AbiItem; export declare const setImplementationOnProxy: (address: string, web3: Web3) => any; export {};