This repository has been archived by the owner on Dec 17, 2024. It is now read-only.
forked from celo-org/celo-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.ts
67 lines (66 loc) · 1.63 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
import ContractUtils from './src/contract-utils-v2'
import GenesisBlockUtils from './src/genesis-block-utils'
import GoogleStorageUtils from './src/google-storage-utils'
import { Logger, LogLevel } from './src/logger'
import StaticNodeUtils from './src/static-node-utils'
import { Web3Utils } from './src/web3-utils'
export {
Attestations,
Escrow,
Exchange,
GasPriceMinimum,
GoldToken,
Governance,
LockedGold,
Random,
Registry,
Reserve,
SortedOracles,
StableToken,
Validators,
} from './contracts/index'
export { unlockAccount } from './src/account-utils'
export {
awaitConfirmation,
CeloContract,
Contracts,
emptyTxLogger,
getContracts,
selectContractByAddress,
SendTransaction,
sendTransaction,
sendTransactionAsync,
sendTransactionAsyncWithWeb3Signing,
SendTransactionLogEvent,
SendTransactionLogEventType,
TxLogger,
TxPromises,
} from './src/contract-utils'
export {
getAttestationsContract,
getEscrowContract,
getExchangeContract,
getGasPriceMinimumContract,
getGoldTokenContract,
getStableTokenContract,
} from './src/contracts'
export {
allowance,
approveToken,
balanceOf,
CeloTokenType,
convertToContractDecimals,
getErc20Balance,
getGoldTokenAddress,
parseFromContractDecimals,
selectTokenContractByIdentifier,
transferToken,
transferTokenWithComment,
} from './src/erc20-utils'
export { addLocalAccount, getAccountAddressFromPrivateKey } from './src/new-web3-utils'
export { ContractUtils }
export { GenesisBlockUtils }
export { GoogleStorageUtils }
export { Logger as WalletKitLogger, LogLevel as WalletKitLogLevel }
export { StaticNodeUtils }
export { Web3Utils }