@subwallet/extension-base 1.1.33-beta.1 → 1.1.34-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/background/KoniTypes.d.ts +69 -120
- package/background/KoniTypes.js +13 -22
- package/background/errors/TransactionError.js +0 -9
- package/cjs/background/KoniTypes.js +16 -23
- package/cjs/background/errors/TransactionError.js +0 -9
- package/cjs/constants/index.js +4 -19
- package/cjs/koni/api/nft/config.js +23 -33
- package/cjs/koni/api/nft/index.js +0 -14
- package/cjs/koni/api/nft/nft.js +22 -1
- package/cjs/koni/api/staking/bonding/amplitude.js +16 -19
- package/cjs/koni/api/staking/bonding/astar.js +10 -11
- package/cjs/koni/api/staking/bonding/index.js +1 -4
- package/cjs/koni/api/staking/bonding/paraChain.js +23 -25
- package/cjs/koni/api/staking/bonding/relayChain.js +45 -48
- package/cjs/koni/api/staking/bonding/utils.js +86 -104
- package/cjs/koni/api/staking/index.js +5 -6
- package/cjs/koni/api/staking/paraChain.js +17 -10
- package/cjs/koni/api/staking/relayChain.js +2 -3
- package/cjs/koni/background/cron.js +21 -3
- package/cjs/koni/background/handlers/Extension.js +69 -368
- package/cjs/koni/background/handlers/State.js +12 -18
- package/cjs/koni/background/handlers/index.js +2 -4
- package/cjs/koni/background/subscription.js +104 -7
- package/cjs/packageInfo.js +1 -1
- package/cjs/services/balance-service/helpers/subscribe/substrate/index.js +1 -3
- package/cjs/services/campaign-service/index.js +6 -9
- package/cjs/services/chain-service/constants.js +17 -2
- package/cjs/services/chain-service/index.js +3 -25
- package/cjs/services/chain-service/utils.js +1 -7
- package/cjs/services/event-service/index.js +0 -5
- package/cjs/services/keyring-service/index.js +2 -14
- package/cjs/services/migration-service/scripts/MigrateLedgerAccount.js +1 -1
- package/cjs/services/migration-service/scripts/MigrateTransactionHistory.js +1 -1
- package/cjs/services/migration-service/scripts/index.js +1 -6
- package/cjs/services/notification-service/NotificationService.js +1 -1
- package/cjs/services/storage-service/DatabaseService.js +1 -92
- package/cjs/services/storage-service/databases/index.js +0 -7
- package/cjs/services/storage-service/db-stores/NominatorMetadata.js +3 -3
- package/cjs/services/subscan-service/index.js +0 -16
- package/cjs/services/transaction-service/event-parser/index.js +0 -58
- package/cjs/services/transaction-service/helpers/index.js +1 -3
- package/cjs/services/transaction-service/index.js +75 -252
- package/cjs/services/transaction-service/utils.js +0 -1
- package/cjs/types/index.js +0 -44
- package/cjs/utils/fetchStaticData.js +1 -2
- package/cjs/utils/index.js +1 -89
- package/cjs/utils/number.js +2 -6
- package/constants/index.d.ts +1 -6
- package/constants/index.js +1 -6
- package/koni/api/nft/config.js +23 -33
- package/koni/api/nft/index.js +1 -15
- package/koni/api/nft/nft.js +23 -2
- package/koni/api/staking/bonding/amplitude.js +10 -13
- package/koni/api/staking/bonding/astar.js +8 -9
- package/koni/api/staking/bonding/index.d.ts +1 -1
- package/koni/api/staking/bonding/index.js +1 -5
- package/koni/api/staking/bonding/paraChain.js +10 -12
- package/koni/api/staking/bonding/relayChain.d.ts +2 -2
- package/koni/api/staking/bonding/relayChain.js +30 -33
- package/koni/api/staking/bonding/utils.d.ts +38 -15
- package/koni/api/staking/bonding/utils.js +69 -85
- package/koni/api/staking/index.js +1 -2
- package/koni/api/staking/paraChain.js +18 -11
- package/koni/api/staking/relayChain.js +3 -4
- package/koni/background/cron.d.ts +4 -0
- package/koni/background/cron.js +22 -4
- package/koni/background/handlers/Extension.d.ts +1 -17
- package/koni/background/handlers/Extension.js +30 -327
- package/koni/background/handlers/State.d.ts +1 -6
- package/koni/background/handlers/State.js +12 -17
- package/koni/background/handlers/index.js +2 -4
- package/koni/background/subscription.d.ts +6 -1
- package/koni/background/subscription.js +104 -8
- package/package.json +8 -331
- package/packageInfo.js +1 -1
- package/services/balance-service/helpers/subscribe/substrate/index.js +2 -4
- package/services/campaign-service/index.js +6 -9
- package/services/chain-service/constants.d.ts +13 -1
- package/services/chain-service/constants.js +15 -1
- package/services/chain-service/index.d.ts +0 -2
- package/services/chain-service/index.js +3 -25
- package/services/chain-service/utils.d.ts +0 -1
- package/services/chain-service/utils.js +1 -5
- package/services/event-service/index.d.ts +0 -2
- package/services/event-service/index.js +0 -5
- package/services/event-service/types.d.ts +0 -9
- package/services/keyring-service/index.d.ts +1 -2
- package/services/keyring-service/index.js +2 -14
- package/services/migration-service/scripts/MigrateLedgerAccount.js +1 -1
- package/services/migration-service/scripts/MigrateTransactionHistory.js +1 -1
- package/services/migration-service/scripts/index.js +1 -6
- package/services/notification-service/NotificationService.js +1 -1
- package/services/storage-service/DatabaseService.d.ts +3 -30
- package/services/storage-service/DatabaseService.js +1 -91
- package/services/storage-service/databases/index.d.ts +2 -8
- package/services/storage-service/databases/index.js +0 -7
- package/services/storage-service/db-stores/NominatorMetadata.js +3 -3
- package/services/subscan-service/index.d.ts +2 -3
- package/services/subscan-service/index.js +0 -15
- package/services/subscan-service/types.d.ts +0 -20
- package/services/transaction-service/event-parser/index.d.ts +1 -3
- package/services/transaction-service/event-parser/index.js +1 -57
- package/services/transaction-service/helpers/index.js +1 -3
- package/services/transaction-service/index.d.ts +13 -6
- package/services/transaction-service/index.js +73 -250
- package/services/transaction-service/types.d.ts +0 -2
- package/services/transaction-service/utils.js +0 -1
- package/types/index.d.ts +0 -5
- package/types/index.js +1 -5
- package/utils/fetchStaticData.js +1 -2
- package/utils/index.d.ts +0 -5
- package/utils/index.js +0 -52
- package/utils/number.d.ts +1 -2
- package/utils/number.js +1 -2
- package/cjs/koni/api/dotsama/balance.js +0 -464
- package/cjs/koni/api/nft/ordinal_nft/constants.js +0 -21
- package/cjs/koni/api/nft/ordinal_nft/index.js +0 -121
- package/cjs/koni/api/nft/ordinal_nft/utils.js +0 -41
- package/cjs/koni/api/yield/helper/utils.js +0 -49
- package/cjs/services/earning-service/constants/chains.js +0 -30
- package/cjs/services/earning-service/constants/index.js +0 -27
- package/cjs/services/earning-service/constants/step.js +0 -18
- package/cjs/services/earning-service/handlers/base.js +0 -262
- package/cjs/services/earning-service/handlers/index.js +0 -60
- package/cjs/services/earning-service/handlers/lending/base.js +0 -81
- package/cjs/services/earning-service/handlers/lending/index.js +0 -13
- package/cjs/services/earning-service/handlers/lending/interlay.js +0 -192
- package/cjs/services/earning-service/handlers/liquid-staking/acala.js +0 -240
- package/cjs/services/earning-service/handlers/liquid-staking/base.js +0 -98
- package/cjs/services/earning-service/handlers/liquid-staking/bifrost-manta.js +0 -140
- package/cjs/services/earning-service/handlers/liquid-staking/bifrost.js +0 -299
- package/cjs/services/earning-service/handlers/liquid-staking/index.js +0 -41
- package/cjs/services/earning-service/handlers/liquid-staking/parallel.js +0 -227
- package/cjs/services/earning-service/handlers/liquid-staking/stella-swap.js +0 -404
- package/cjs/services/earning-service/handlers/native-staking/amplitude.js +0 -434
- package/cjs/services/earning-service/handlers/native-staking/astar.js +0 -466
- package/cjs/services/earning-service/handlers/native-staking/base-para.js +0 -146
- package/cjs/services/earning-service/handlers/native-staking/base.js +0 -161
- package/cjs/services/earning-service/handlers/native-staking/index.js +0 -34
- package/cjs/services/earning-service/handlers/native-staking/para-chain.js +0 -390
- package/cjs/services/earning-service/handlers/native-staking/relay-chain.js +0 -567
- package/cjs/services/earning-service/handlers/nomination-pool/index.js +0 -566
- package/cjs/services/earning-service/handlers/special.js +0 -497
- package/cjs/services/earning-service/service.js +0 -741
- package/cjs/services/earning-service/utils/index.js +0 -128
- package/cjs/services/migration-service/scripts/DeleteEarningData.js +0 -21
- package/cjs/services/migration-service/scripts/EnableEarningChains.js +0 -21
- package/cjs/services/migration-service/scripts/MigrateEthProvider.js +0 -17
- package/cjs/services/migration-service/scripts/MigratePioneerProvider.js +0 -17
- package/cjs/services/migration-service/scripts/MigrateProvider.js +0 -29
- package/cjs/services/migration-service/scripts/databases/MigrateEarningHistory.js +0 -21
- package/cjs/services/migration-service/scripts/databases/MigrateEarningVersion.js +0 -21
- package/cjs/services/mint-campaign-service/campaigns/UnlockDotCampaign.js +0 -149
- package/cjs/services/mint-campaign-service/campaigns/index.js +0 -13
- package/cjs/services/mint-campaign-service/constants.js +0 -11
- package/cjs/services/mint-campaign-service/index.js +0 -18
- package/cjs/services/storage-service/db-stores/AssetRef.js +0 -24
- package/cjs/services/storage-service/db-stores/YieldPoolStore.js +0 -36
- package/cjs/services/storage-service/db-stores/YieldPositionStore.js +0 -71
- package/cjs/services/storage-service/index.js +0 -241
- package/cjs/types/campaigns/index.js +0 -16
- package/cjs/types/campaigns/unlock-dot.js +0 -1
- package/cjs/types/ordinal.js +0 -1
- package/cjs/types/transaction.js +0 -1
- package/cjs/types/yield/actions/index.js +0 -27
- package/cjs/types/yield/actions/join/index.js +0 -38
- package/cjs/types/yield/actions/join/step.js +0 -48
- package/cjs/types/yield/actions/join/submit.js +0 -1
- package/cjs/types/yield/actions/join/validate.js +0 -16
- package/cjs/types/yield/actions/others.js +0 -1
- package/cjs/types/yield/index.js +0 -27
- package/cjs/types/yield/info/account/index.js +0 -49
- package/cjs/types/yield/info/account/info.js +0 -1
- package/cjs/types/yield/info/account/reward.js +0 -1
- package/cjs/types/yield/info/account/target.js +0 -32
- package/cjs/types/yield/info/account/unstake.js +0 -27
- package/cjs/types/yield/info/base.js +0 -41
- package/cjs/types/yield/info/chain/index.js +0 -27
- package/cjs/types/yield/info/chain/info.js +0 -1
- package/cjs/types/yield/info/chain/target.js +0 -1
- package/cjs/types/yield/info/index.js +0 -49
- package/cjs/types/yield/info/pallet.js +0 -15
- package/cjs/types.js +0 -1
- package/cjs/utils/address.js +0 -34
- package/cjs/utils/keyring.js +0 -57
- package/cjs/utils/object.js +0 -12
- package/koni/api/nft/ordinal_nft/constants.d.ts +0 -9
- package/koni/api/nft/ordinal_nft/constants.js +0 -12
- package/koni/api/nft/ordinal_nft/index.d.ts +0 -8
- package/koni/api/nft/ordinal_nft/index.js +0 -114
- package/koni/api/nft/ordinal_nft/utils.d.ts +0 -2
- package/koni/api/nft/ordinal_nft/utils.js +0 -33
- package/koni/api/yield/helper/utils.d.ts +0 -10
- package/koni/api/yield/helper/utils.js +0 -34
- package/services/earning-service/constants/abis/compound_finance_v2_abi.json +0 -1235
- package/services/earning-service/constants/abis/st_liquid_token_abi.json +0 -1355
- package/services/earning-service/constants/chains.d.ts +0 -15
- package/services/earning-service/constants/chains.js +0 -22
- package/services/earning-service/constants/index.d.ts +0 -2
- package/services/earning-service/constants/index.js +0 -5
- package/services/earning-service/constants/step.d.ts +0 -3
- package/services/earning-service/constants/step.js +0 -10
- package/services/earning-service/handlers/base.d.ts +0 -113
- package/services/earning-service/handlers/base.js +0 -256
- package/services/earning-service/handlers/index.d.ts +0 -5
- package/services/earning-service/handlers/index.js +0 -8
- package/services/earning-service/handlers/lending/base.d.ts +0 -8
- package/services/earning-service/handlers/lending/base.js +0 -73
- package/services/earning-service/handlers/lending/index.d.ts +0 -1
- package/services/earning-service/handlers/lending/index.js +0 -4
- package/services/earning-service/handlers/lending/interlay.d.ts +0 -24
- package/services/earning-service/handlers/lending/interlay.js +0 -184
- package/services/earning-service/handlers/liquid-staking/acala.d.ts +0 -27
- package/services/earning-service/handlers/liquid-staking/acala.js +0 -232
- package/services/earning-service/handlers/liquid-staking/base.d.ts +0 -11
- package/services/earning-service/handlers/liquid-staking/base.js +0 -90
- package/services/earning-service/handlers/liquid-staking/bifrost-manta.d.ts +0 -37
- package/services/earning-service/handlers/liquid-staking/bifrost-manta.js +0 -132
- package/services/earning-service/handlers/liquid-staking/bifrost.d.ts +0 -46
- package/services/earning-service/handlers/liquid-staking/bifrost.js +0 -288
- package/services/earning-service/handlers/liquid-staking/index.d.ts +0 -5
- package/services/earning-service/handlers/liquid-staking/index.js +0 -8
- package/services/earning-service/handlers/liquid-staking/parallel.d.ts +0 -26
- package/services/earning-service/handlers/liquid-staking/parallel.js +0 -219
- package/services/earning-service/handlers/liquid-staking/stella-swap.d.ts +0 -34
- package/services/earning-service/handlers/liquid-staking/stella-swap.js +0 -394
- package/services/earning-service/handlers/native-staking/amplitude.d.ts +0 -22
- package/services/earning-service/handlers/native-staking/amplitude.js +0 -425
- package/services/earning-service/handlers/native-staking/astar.d.ts +0 -19
- package/services/earning-service/handlers/native-staking/astar.js +0 -456
- package/services/earning-service/handlers/native-staking/base-para.d.ts +0 -11
- package/services/earning-service/handlers/native-staking/base-para.js +0 -138
- package/services/earning-service/handlers/native-staking/base.d.ts +0 -21
- package/services/earning-service/handlers/native-staking/base.js +0 -152
- package/services/earning-service/handlers/native-staking/index.d.ts +0 -4
- package/services/earning-service/handlers/native-staking/index.js +0 -7
- package/services/earning-service/handlers/native-staking/para-chain.d.ts +0 -15
- package/services/earning-service/handlers/native-staking/para-chain.js +0 -382
- package/services/earning-service/handlers/native-staking/relay-chain.d.ts +0 -21
- package/services/earning-service/handlers/native-staking/relay-chain.js +0 -558
- package/services/earning-service/handlers/nomination-pool/index.d.ts +0 -36
- package/services/earning-service/handlers/nomination-pool/index.js +0 -556
- package/services/earning-service/handlers/special.d.ts +0 -64
- package/services/earning-service/handlers/special.js +0 -489
- package/services/earning-service/service.d.ts +0 -94
- package/services/earning-service/service.js +0 -730
- package/services/earning-service/utils/index.d.ts +0 -18
- package/services/earning-service/utils/index.js +0 -112
- package/services/migration-service/scripts/DeleteEarningData.d.ts +0 -4
- package/services/migration-service/scripts/DeleteEarningData.js +0 -13
- package/services/migration-service/scripts/EnableEarningChains.d.ts +0 -4
- package/services/migration-service/scripts/EnableEarningChains.js +0 -13
- package/services/migration-service/scripts/databases/MigrateEarningHistory.d.ts +0 -4
- package/services/migration-service/scripts/databases/MigrateEarningHistory.js +0 -13
- package/services/migration-service/scripts/databases/MigrateEarningVersion.d.ts +0 -4
- package/services/migration-service/scripts/databases/MigrateEarningVersion.js +0 -13
- package/services/mint-campaign-service/campaigns/UnlockDotCampaign.d.ts +0 -13
- package/services/mint-campaign-service/campaigns/UnlockDotCampaign.js +0 -139
- package/services/mint-campaign-service/campaigns/index.d.ts +0 -1
- package/services/mint-campaign-service/campaigns/index.js +0 -4
- package/services/mint-campaign-service/constants.d.ts +0 -1
- package/services/mint-campaign-service/constants.js +0 -4
- package/services/mint-campaign-service/index.d.ts +0 -7
- package/services/mint-campaign-service/index.js +0 -11
- package/services/storage-service/db-stores/AssetRef.d.ts +0 -7
- package/services/storage-service/db-stores/AssetRef.js +0 -16
- package/services/storage-service/db-stores/YieldPoolStore.d.ts +0 -10
- package/services/storage-service/db-stores/YieldPoolStore.js +0 -28
- package/services/storage-service/db-stores/YieldPositionStore.d.ts +0 -11
- package/services/storage-service/db-stores/YieldPositionStore.js +0 -63
- package/types/campaigns/index.d.ts +0 -1
- package/types/campaigns/index.js +0 -4
- package/types/campaigns/unlock-dot.d.ts +0 -71
- package/types/campaigns/unlock-dot.js +0 -1
- package/types/ordinal.d.ts +0 -69
- package/types/ordinal.js +0 -1
- package/types/transaction.d.ts +0 -3
- package/types/transaction.js +0 -1
- package/types/yield/actions/index.d.ts +0 -2
- package/types/yield/actions/index.js +0 -5
- package/types/yield/actions/join/index.d.ts +0 -3
- package/types/yield/actions/join/index.js +0 -6
- package/types/yield/actions/join/step.d.ts +0 -96
- package/types/yield/actions/join/step.js +0 -47
- package/types/yield/actions/join/submit.d.ts +0 -58
- package/types/yield/actions/join/submit.js +0 -1
- package/types/yield/actions/join/validate.d.ts +0 -18
- package/types/yield/actions/join/validate.js +0 -10
- package/types/yield/actions/others.d.ts +0 -85
- package/types/yield/actions/others.js +0 -1
- package/types/yield/index.d.ts +0 -2
- package/types/yield/index.js +0 -5
- package/types/yield/info/account/index.d.ts +0 -4
- package/types/yield/info/account/index.js +0 -7
- package/types/yield/info/account/info.d.ts +0 -92
- package/types/yield/info/account/info.js +0 -1
- package/types/yield/info/account/reward.d.ts +0 -47
- package/types/yield/info/account/reward.js +0 -1
- package/types/yield/info/account/target.d.ts +0 -43
- package/types/yield/info/account/target.js +0 -27
- package/types/yield/info/account/unstake.d.ts +0 -31
- package/types/yield/info/account/unstake.js +0 -22
- package/types/yield/info/base.d.ts +0 -45
- package/types/yield/info/base.js +0 -36
- package/types/yield/info/chain/index.d.ts +0 -2
- package/types/yield/info/chain/index.js +0 -5
- package/types/yield/info/chain/info.d.ts +0 -252
- package/types/yield/info/chain/info.js +0 -1
- package/types/yield/info/chain/target.d.ts +0 -37
- package/types/yield/info/chain/target.js +0 -1
- package/types/yield/info/index.d.ts +0 -4
- package/types/yield/info/index.js +0 -7
- package/types/yield/info/pallet.d.ts +0 -143
- package/types/yield/info/pallet.js +0 -9
- package/utils/object.d.ts +0 -1
- package/utils/object.js +0 -6
|
@@ -1,1235 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"constant": true,
|
|
4
|
-
"inputs": [],
|
|
5
|
-
"name": "name",
|
|
6
|
-
"outputs": [
|
|
7
|
-
{
|
|
8
|
-
"name": "",
|
|
9
|
-
"type": "string"
|
|
10
|
-
}
|
|
11
|
-
],
|
|
12
|
-
"payable": false,
|
|
13
|
-
"stateMutability": "view",
|
|
14
|
-
"type": "function",
|
|
15
|
-
"signature": "0x06fdde03"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"constant": false,
|
|
19
|
-
"inputs": [
|
|
20
|
-
{
|
|
21
|
-
"name": "spender",
|
|
22
|
-
"type": "address"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"name": "amount",
|
|
26
|
-
"type": "uint256"
|
|
27
|
-
}
|
|
28
|
-
],
|
|
29
|
-
"name": "approve",
|
|
30
|
-
"outputs": [
|
|
31
|
-
{
|
|
32
|
-
"name": "",
|
|
33
|
-
"type": "bool"
|
|
34
|
-
}
|
|
35
|
-
],
|
|
36
|
-
"payable": false,
|
|
37
|
-
"stateMutability": "nonpayable",
|
|
38
|
-
"type": "function",
|
|
39
|
-
"signature": "0x095ea7b3"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"constant": false,
|
|
43
|
-
"inputs": [
|
|
44
|
-
{
|
|
45
|
-
"name": "repayAmount",
|
|
46
|
-
"type": "uint256"
|
|
47
|
-
}
|
|
48
|
-
],
|
|
49
|
-
"name": "repayBorrow",
|
|
50
|
-
"outputs": [
|
|
51
|
-
{
|
|
52
|
-
"name": "",
|
|
53
|
-
"type": "uint256"
|
|
54
|
-
}
|
|
55
|
-
],
|
|
56
|
-
"payable": false,
|
|
57
|
-
"stateMutability": "nonpayable",
|
|
58
|
-
"type": "function",
|
|
59
|
-
"signature": "0x0e752702"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"constant": true,
|
|
63
|
-
"inputs": [],
|
|
64
|
-
"name": "reserveFactorMantissa",
|
|
65
|
-
"outputs": [
|
|
66
|
-
{
|
|
67
|
-
"name": "",
|
|
68
|
-
"type": "uint256"
|
|
69
|
-
}
|
|
70
|
-
],
|
|
71
|
-
"payable": false,
|
|
72
|
-
"stateMutability": "view",
|
|
73
|
-
"type": "function",
|
|
74
|
-
"signature": "0x173b9904"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"constant": false,
|
|
78
|
-
"inputs": [
|
|
79
|
-
{
|
|
80
|
-
"name": "account",
|
|
81
|
-
"type": "address"
|
|
82
|
-
}
|
|
83
|
-
],
|
|
84
|
-
"name": "borrowBalanceCurrent",
|
|
85
|
-
"outputs": [
|
|
86
|
-
{
|
|
87
|
-
"name": "",
|
|
88
|
-
"type": "uint256"
|
|
89
|
-
}
|
|
90
|
-
],
|
|
91
|
-
"payable": false,
|
|
92
|
-
"stateMutability": "nonpayable",
|
|
93
|
-
"type": "function",
|
|
94
|
-
"signature": "0x17bfdfbc"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"constant": true,
|
|
98
|
-
"inputs": [],
|
|
99
|
-
"name": "totalSupply",
|
|
100
|
-
"outputs": [
|
|
101
|
-
{
|
|
102
|
-
"name": "",
|
|
103
|
-
"type": "uint256"
|
|
104
|
-
}
|
|
105
|
-
],
|
|
106
|
-
"payable": false,
|
|
107
|
-
"stateMutability": "view",
|
|
108
|
-
"type": "function",
|
|
109
|
-
"signature": "0x18160ddd"
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"constant": true,
|
|
113
|
-
"inputs": [],
|
|
114
|
-
"name": "exchangeRateStored",
|
|
115
|
-
"outputs": [
|
|
116
|
-
{
|
|
117
|
-
"name": "",
|
|
118
|
-
"type": "uint256"
|
|
119
|
-
}
|
|
120
|
-
],
|
|
121
|
-
"payable": false,
|
|
122
|
-
"stateMutability": "view",
|
|
123
|
-
"type": "function",
|
|
124
|
-
"signature": "0x182df0f5"
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"constant": false,
|
|
128
|
-
"inputs": [
|
|
129
|
-
{
|
|
130
|
-
"name": "src",
|
|
131
|
-
"type": "address"
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"name": "dst",
|
|
135
|
-
"type": "address"
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"name": "amount",
|
|
139
|
-
"type": "uint256"
|
|
140
|
-
}
|
|
141
|
-
],
|
|
142
|
-
"name": "transferFrom",
|
|
143
|
-
"outputs": [
|
|
144
|
-
{
|
|
145
|
-
"name": "",
|
|
146
|
-
"type": "bool"
|
|
147
|
-
}
|
|
148
|
-
],
|
|
149
|
-
"payable": false,
|
|
150
|
-
"stateMutability": "nonpayable",
|
|
151
|
-
"type": "function",
|
|
152
|
-
"signature": "0x23b872dd"
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"constant": false,
|
|
156
|
-
"inputs": [
|
|
157
|
-
{
|
|
158
|
-
"name": "borrower",
|
|
159
|
-
"type": "address"
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"name": "repayAmount",
|
|
163
|
-
"type": "uint256"
|
|
164
|
-
}
|
|
165
|
-
],
|
|
166
|
-
"name": "repayBorrowBehalf",
|
|
167
|
-
"outputs": [
|
|
168
|
-
{
|
|
169
|
-
"name": "",
|
|
170
|
-
"type": "uint256"
|
|
171
|
-
}
|
|
172
|
-
],
|
|
173
|
-
"payable": false,
|
|
174
|
-
"stateMutability": "nonpayable",
|
|
175
|
-
"type": "function",
|
|
176
|
-
"signature": "0x2608f818"
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"constant": true,
|
|
180
|
-
"inputs": [],
|
|
181
|
-
"name": "pendingAdmin",
|
|
182
|
-
"outputs": [
|
|
183
|
-
{
|
|
184
|
-
"name": "",
|
|
185
|
-
"type": "address"
|
|
186
|
-
}
|
|
187
|
-
],
|
|
188
|
-
"payable": false,
|
|
189
|
-
"stateMutability": "view",
|
|
190
|
-
"type": "function",
|
|
191
|
-
"signature": "0x26782247"
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
"constant": true,
|
|
195
|
-
"inputs": [],
|
|
196
|
-
"name": "decimals",
|
|
197
|
-
"outputs": [
|
|
198
|
-
{
|
|
199
|
-
"name": "",
|
|
200
|
-
"type": "uint256"
|
|
201
|
-
}
|
|
202
|
-
],
|
|
203
|
-
"payable": false,
|
|
204
|
-
"stateMutability": "view",
|
|
205
|
-
"type": "function",
|
|
206
|
-
"signature": "0x313ce567"
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
"constant": false,
|
|
210
|
-
"inputs": [
|
|
211
|
-
{
|
|
212
|
-
"name": "owner",
|
|
213
|
-
"type": "address"
|
|
214
|
-
}
|
|
215
|
-
],
|
|
216
|
-
"name": "balanceOfUnderlying",
|
|
217
|
-
"outputs": [
|
|
218
|
-
{
|
|
219
|
-
"name": "",
|
|
220
|
-
"type": "uint256"
|
|
221
|
-
}
|
|
222
|
-
],
|
|
223
|
-
"payable": false,
|
|
224
|
-
"stateMutability": "nonpayable",
|
|
225
|
-
"type": "function",
|
|
226
|
-
"signature": "0x3af9e669"
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
"constant": true,
|
|
230
|
-
"inputs": [],
|
|
231
|
-
"name": "getCash",
|
|
232
|
-
"outputs": [
|
|
233
|
-
{
|
|
234
|
-
"name": "",
|
|
235
|
-
"type": "uint256"
|
|
236
|
-
}
|
|
237
|
-
],
|
|
238
|
-
"payable": false,
|
|
239
|
-
"stateMutability": "view",
|
|
240
|
-
"type": "function",
|
|
241
|
-
"signature": "0x3b1d21a2"
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
"constant": false,
|
|
245
|
-
"inputs": [
|
|
246
|
-
{
|
|
247
|
-
"name": "newComptroller",
|
|
248
|
-
"type": "address"
|
|
249
|
-
}
|
|
250
|
-
],
|
|
251
|
-
"name": "_setComptroller",
|
|
252
|
-
"outputs": [
|
|
253
|
-
{
|
|
254
|
-
"name": "",
|
|
255
|
-
"type": "uint256"
|
|
256
|
-
}
|
|
257
|
-
],
|
|
258
|
-
"payable": false,
|
|
259
|
-
"stateMutability": "nonpayable",
|
|
260
|
-
"type": "function",
|
|
261
|
-
"signature": "0x4576b5db"
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"constant": true,
|
|
265
|
-
"inputs": [],
|
|
266
|
-
"name": "totalBorrows",
|
|
267
|
-
"outputs": [
|
|
268
|
-
{
|
|
269
|
-
"name": "",
|
|
270
|
-
"type": "uint256"
|
|
271
|
-
}
|
|
272
|
-
],
|
|
273
|
-
"payable": false,
|
|
274
|
-
"stateMutability": "view",
|
|
275
|
-
"type": "function",
|
|
276
|
-
"signature": "0x47bd3718"
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
"constant": true,
|
|
280
|
-
"inputs": [],
|
|
281
|
-
"name": "comptroller",
|
|
282
|
-
"outputs": [
|
|
283
|
-
{
|
|
284
|
-
"name": "",
|
|
285
|
-
"type": "address"
|
|
286
|
-
}
|
|
287
|
-
],
|
|
288
|
-
"payable": false,
|
|
289
|
-
"stateMutability": "view",
|
|
290
|
-
"type": "function",
|
|
291
|
-
"signature": "0x5fe3b567"
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
"constant": false,
|
|
295
|
-
"inputs": [
|
|
296
|
-
{
|
|
297
|
-
"name": "reduceAmount",
|
|
298
|
-
"type": "uint256"
|
|
299
|
-
}
|
|
300
|
-
],
|
|
301
|
-
"name": "_reduceReserves",
|
|
302
|
-
"outputs": [
|
|
303
|
-
{
|
|
304
|
-
"name": "",
|
|
305
|
-
"type": "uint256"
|
|
306
|
-
}
|
|
307
|
-
],
|
|
308
|
-
"payable": false,
|
|
309
|
-
"stateMutability": "nonpayable",
|
|
310
|
-
"type": "function",
|
|
311
|
-
"signature": "0x601a0bf1"
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
"constant": true,
|
|
315
|
-
"inputs": [],
|
|
316
|
-
"name": "initialExchangeRateMantissa",
|
|
317
|
-
"outputs": [
|
|
318
|
-
{
|
|
319
|
-
"name": "",
|
|
320
|
-
"type": "uint256"
|
|
321
|
-
}
|
|
322
|
-
],
|
|
323
|
-
"payable": false,
|
|
324
|
-
"stateMutability": "view",
|
|
325
|
-
"type": "function",
|
|
326
|
-
"signature": "0x675d972c"
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
"constant": true,
|
|
330
|
-
"inputs": [],
|
|
331
|
-
"name": "accrualBlockNumber",
|
|
332
|
-
"outputs": [
|
|
333
|
-
{
|
|
334
|
-
"name": "",
|
|
335
|
-
"type": "uint256"
|
|
336
|
-
}
|
|
337
|
-
],
|
|
338
|
-
"payable": false,
|
|
339
|
-
"stateMutability": "view",
|
|
340
|
-
"type": "function",
|
|
341
|
-
"signature": "0x6c540baf"
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
"constant": true,
|
|
345
|
-
"inputs": [],
|
|
346
|
-
"name": "underlying",
|
|
347
|
-
"outputs": [
|
|
348
|
-
{
|
|
349
|
-
"name": "",
|
|
350
|
-
"type": "address"
|
|
351
|
-
}
|
|
352
|
-
],
|
|
353
|
-
"payable": false,
|
|
354
|
-
"stateMutability": "view",
|
|
355
|
-
"type": "function",
|
|
356
|
-
"signature": "0x6f307dc3"
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
"constant": true,
|
|
360
|
-
"inputs": [
|
|
361
|
-
{
|
|
362
|
-
"name": "owner",
|
|
363
|
-
"type": "address"
|
|
364
|
-
}
|
|
365
|
-
],
|
|
366
|
-
"name": "balanceOf",
|
|
367
|
-
"outputs": [
|
|
368
|
-
{
|
|
369
|
-
"name": "",
|
|
370
|
-
"type": "uint256"
|
|
371
|
-
}
|
|
372
|
-
],
|
|
373
|
-
"payable": false,
|
|
374
|
-
"stateMutability": "view",
|
|
375
|
-
"type": "function",
|
|
376
|
-
"signature": "0x70a08231"
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
"constant": false,
|
|
380
|
-
"inputs": [],
|
|
381
|
-
"name": "totalBorrowsCurrent",
|
|
382
|
-
"outputs": [
|
|
383
|
-
{
|
|
384
|
-
"name": "",
|
|
385
|
-
"type": "uint256"
|
|
386
|
-
}
|
|
387
|
-
],
|
|
388
|
-
"payable": false,
|
|
389
|
-
"stateMutability": "nonpayable",
|
|
390
|
-
"type": "function",
|
|
391
|
-
"signature": "0x73acee98"
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
"constant": false,
|
|
395
|
-
"inputs": [
|
|
396
|
-
{
|
|
397
|
-
"name": "redeemAmount",
|
|
398
|
-
"type": "uint256"
|
|
399
|
-
}
|
|
400
|
-
],
|
|
401
|
-
"name": "redeemUnderlying",
|
|
402
|
-
"outputs": [
|
|
403
|
-
{
|
|
404
|
-
"name": "",
|
|
405
|
-
"type": "uint256"
|
|
406
|
-
}
|
|
407
|
-
],
|
|
408
|
-
"payable": false,
|
|
409
|
-
"stateMutability": "nonpayable",
|
|
410
|
-
"type": "function",
|
|
411
|
-
"signature": "0x852a12e3"
|
|
412
|
-
},
|
|
413
|
-
{
|
|
414
|
-
"constant": true,
|
|
415
|
-
"inputs": [],
|
|
416
|
-
"name": "totalReserves",
|
|
417
|
-
"outputs": [
|
|
418
|
-
{
|
|
419
|
-
"name": "",
|
|
420
|
-
"type": "uint256"
|
|
421
|
-
}
|
|
422
|
-
],
|
|
423
|
-
"payable": false,
|
|
424
|
-
"stateMutability": "view",
|
|
425
|
-
"type": "function",
|
|
426
|
-
"signature": "0x8f840ddd"
|
|
427
|
-
},
|
|
428
|
-
{
|
|
429
|
-
"constant": true,
|
|
430
|
-
"inputs": [],
|
|
431
|
-
"name": "symbol",
|
|
432
|
-
"outputs": [
|
|
433
|
-
{
|
|
434
|
-
"name": "",
|
|
435
|
-
"type": "string"
|
|
436
|
-
}
|
|
437
|
-
],
|
|
438
|
-
"payable": false,
|
|
439
|
-
"stateMutability": "view",
|
|
440
|
-
"type": "function",
|
|
441
|
-
"signature": "0x95d89b41"
|
|
442
|
-
},
|
|
443
|
-
{
|
|
444
|
-
"constant": true,
|
|
445
|
-
"inputs": [
|
|
446
|
-
{
|
|
447
|
-
"name": "account",
|
|
448
|
-
"type": "address"
|
|
449
|
-
}
|
|
450
|
-
],
|
|
451
|
-
"name": "borrowBalanceStored",
|
|
452
|
-
"outputs": [
|
|
453
|
-
{
|
|
454
|
-
"name": "",
|
|
455
|
-
"type": "uint256"
|
|
456
|
-
}
|
|
457
|
-
],
|
|
458
|
-
"payable": false,
|
|
459
|
-
"stateMutability": "view",
|
|
460
|
-
"type": "function",
|
|
461
|
-
"signature": "0x95dd9193"
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
"constant": false,
|
|
465
|
-
"inputs": [
|
|
466
|
-
{
|
|
467
|
-
"name": "mintAmount",
|
|
468
|
-
"type": "uint256"
|
|
469
|
-
}
|
|
470
|
-
],
|
|
471
|
-
"name": "mint",
|
|
472
|
-
"outputs": [
|
|
473
|
-
{
|
|
474
|
-
"name": "",
|
|
475
|
-
"type": "uint256"
|
|
476
|
-
}
|
|
477
|
-
],
|
|
478
|
-
"payable": false,
|
|
479
|
-
"stateMutability": "nonpayable",
|
|
480
|
-
"type": "function",
|
|
481
|
-
"signature": "0xa0712d68"
|
|
482
|
-
},
|
|
483
|
-
{
|
|
484
|
-
"constant": false,
|
|
485
|
-
"inputs": [],
|
|
486
|
-
"name": "accrueInterest",
|
|
487
|
-
"outputs": [
|
|
488
|
-
{
|
|
489
|
-
"name": "",
|
|
490
|
-
"type": "uint256"
|
|
491
|
-
}
|
|
492
|
-
],
|
|
493
|
-
"payable": false,
|
|
494
|
-
"stateMutability": "nonpayable",
|
|
495
|
-
"type": "function",
|
|
496
|
-
"signature": "0xa6afed95"
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
"constant": false,
|
|
500
|
-
"inputs": [
|
|
501
|
-
{
|
|
502
|
-
"name": "dst",
|
|
503
|
-
"type": "address"
|
|
504
|
-
},
|
|
505
|
-
{
|
|
506
|
-
"name": "amount",
|
|
507
|
-
"type": "uint256"
|
|
508
|
-
}
|
|
509
|
-
],
|
|
510
|
-
"name": "transfer",
|
|
511
|
-
"outputs": [
|
|
512
|
-
{
|
|
513
|
-
"name": "",
|
|
514
|
-
"type": "bool"
|
|
515
|
-
}
|
|
516
|
-
],
|
|
517
|
-
"payable": false,
|
|
518
|
-
"stateMutability": "nonpayable",
|
|
519
|
-
"type": "function",
|
|
520
|
-
"signature": "0xa9059cbb"
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
"constant": true,
|
|
524
|
-
"inputs": [],
|
|
525
|
-
"name": "borrowIndex",
|
|
526
|
-
"outputs": [
|
|
527
|
-
{
|
|
528
|
-
"name": "",
|
|
529
|
-
"type": "uint256"
|
|
530
|
-
}
|
|
531
|
-
],
|
|
532
|
-
"payable": false,
|
|
533
|
-
"stateMutability": "view",
|
|
534
|
-
"type": "function",
|
|
535
|
-
"signature": "0xaa5af0fd"
|
|
536
|
-
},
|
|
537
|
-
{
|
|
538
|
-
"constant": true,
|
|
539
|
-
"inputs": [],
|
|
540
|
-
"name": "supplyRatePerBlock",
|
|
541
|
-
"outputs": [
|
|
542
|
-
{
|
|
543
|
-
"name": "",
|
|
544
|
-
"type": "uint256"
|
|
545
|
-
}
|
|
546
|
-
],
|
|
547
|
-
"payable": false,
|
|
548
|
-
"stateMutability": "view",
|
|
549
|
-
"type": "function",
|
|
550
|
-
"signature": "0xae9d70b0"
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
"constant": false,
|
|
554
|
-
"inputs": [
|
|
555
|
-
{
|
|
556
|
-
"name": "liquidator",
|
|
557
|
-
"type": "address"
|
|
558
|
-
},
|
|
559
|
-
{
|
|
560
|
-
"name": "borrower",
|
|
561
|
-
"type": "address"
|
|
562
|
-
},
|
|
563
|
-
{
|
|
564
|
-
"name": "seizeTokens",
|
|
565
|
-
"type": "uint256"
|
|
566
|
-
}
|
|
567
|
-
],
|
|
568
|
-
"name": "seize",
|
|
569
|
-
"outputs": [
|
|
570
|
-
{
|
|
571
|
-
"name": "",
|
|
572
|
-
"type": "uint256"
|
|
573
|
-
}
|
|
574
|
-
],
|
|
575
|
-
"payable": false,
|
|
576
|
-
"stateMutability": "nonpayable",
|
|
577
|
-
"type": "function",
|
|
578
|
-
"signature": "0xb2a02ff1"
|
|
579
|
-
},
|
|
580
|
-
{
|
|
581
|
-
"constant": false,
|
|
582
|
-
"inputs": [
|
|
583
|
-
{
|
|
584
|
-
"name": "newPendingAdmin",
|
|
585
|
-
"type": "address"
|
|
586
|
-
}
|
|
587
|
-
],
|
|
588
|
-
"name": "_setPendingAdmin",
|
|
589
|
-
"outputs": [
|
|
590
|
-
{
|
|
591
|
-
"name": "",
|
|
592
|
-
"type": "uint256"
|
|
593
|
-
}
|
|
594
|
-
],
|
|
595
|
-
"payable": false,
|
|
596
|
-
"stateMutability": "nonpayable",
|
|
597
|
-
"type": "function",
|
|
598
|
-
"signature": "0xb71d1a0c"
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
"constant": false,
|
|
602
|
-
"inputs": [],
|
|
603
|
-
"name": "exchangeRateCurrent",
|
|
604
|
-
"outputs": [
|
|
605
|
-
{
|
|
606
|
-
"name": "",
|
|
607
|
-
"type": "uint256"
|
|
608
|
-
}
|
|
609
|
-
],
|
|
610
|
-
"payable": false,
|
|
611
|
-
"stateMutability": "nonpayable",
|
|
612
|
-
"type": "function",
|
|
613
|
-
"signature": "0xbd6d894d"
|
|
614
|
-
},
|
|
615
|
-
{
|
|
616
|
-
"constant": true,
|
|
617
|
-
"inputs": [
|
|
618
|
-
{
|
|
619
|
-
"name": "account",
|
|
620
|
-
"type": "address"
|
|
621
|
-
}
|
|
622
|
-
],
|
|
623
|
-
"name": "getAccountSnapshot",
|
|
624
|
-
"outputs": [
|
|
625
|
-
{
|
|
626
|
-
"name": "",
|
|
627
|
-
"type": "uint256"
|
|
628
|
-
},
|
|
629
|
-
{
|
|
630
|
-
"name": "",
|
|
631
|
-
"type": "uint256"
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
"name": "",
|
|
635
|
-
"type": "uint256"
|
|
636
|
-
},
|
|
637
|
-
{
|
|
638
|
-
"name": "",
|
|
639
|
-
"type": "uint256"
|
|
640
|
-
}
|
|
641
|
-
],
|
|
642
|
-
"payable": false,
|
|
643
|
-
"stateMutability": "view",
|
|
644
|
-
"type": "function",
|
|
645
|
-
"signature": "0xc37f68e2"
|
|
646
|
-
},
|
|
647
|
-
{
|
|
648
|
-
"constant": false,
|
|
649
|
-
"inputs": [
|
|
650
|
-
{
|
|
651
|
-
"name": "borrowAmount",
|
|
652
|
-
"type": "uint256"
|
|
653
|
-
}
|
|
654
|
-
],
|
|
655
|
-
"name": "borrow",
|
|
656
|
-
"outputs": [
|
|
657
|
-
{
|
|
658
|
-
"name": "",
|
|
659
|
-
"type": "uint256"
|
|
660
|
-
}
|
|
661
|
-
],
|
|
662
|
-
"payable": false,
|
|
663
|
-
"stateMutability": "nonpayable",
|
|
664
|
-
"type": "function",
|
|
665
|
-
"signature": "0xc5ebeaec"
|
|
666
|
-
},
|
|
667
|
-
{
|
|
668
|
-
"constant": false,
|
|
669
|
-
"inputs": [
|
|
670
|
-
{
|
|
671
|
-
"name": "redeemTokens",
|
|
672
|
-
"type": "uint256"
|
|
673
|
-
}
|
|
674
|
-
],
|
|
675
|
-
"name": "redeem",
|
|
676
|
-
"outputs": [
|
|
677
|
-
{
|
|
678
|
-
"name": "",
|
|
679
|
-
"type": "uint256"
|
|
680
|
-
}
|
|
681
|
-
],
|
|
682
|
-
"payable": false,
|
|
683
|
-
"stateMutability": "nonpayable",
|
|
684
|
-
"type": "function",
|
|
685
|
-
"signature": "0xdb006a75"
|
|
686
|
-
},
|
|
687
|
-
{
|
|
688
|
-
"constant": true,
|
|
689
|
-
"inputs": [
|
|
690
|
-
{
|
|
691
|
-
"name": "owner",
|
|
692
|
-
"type": "address"
|
|
693
|
-
},
|
|
694
|
-
{
|
|
695
|
-
"name": "spender",
|
|
696
|
-
"type": "address"
|
|
697
|
-
}
|
|
698
|
-
],
|
|
699
|
-
"name": "allowance",
|
|
700
|
-
"outputs": [
|
|
701
|
-
{
|
|
702
|
-
"name": "",
|
|
703
|
-
"type": "uint256"
|
|
704
|
-
}
|
|
705
|
-
],
|
|
706
|
-
"payable": false,
|
|
707
|
-
"stateMutability": "view",
|
|
708
|
-
"type": "function",
|
|
709
|
-
"signature": "0xdd62ed3e"
|
|
710
|
-
},
|
|
711
|
-
{
|
|
712
|
-
"constant": false,
|
|
713
|
-
"inputs": [],
|
|
714
|
-
"name": "_acceptAdmin",
|
|
715
|
-
"outputs": [
|
|
716
|
-
{
|
|
717
|
-
"name": "",
|
|
718
|
-
"type": "uint256"
|
|
719
|
-
}
|
|
720
|
-
],
|
|
721
|
-
"payable": false,
|
|
722
|
-
"stateMutability": "nonpayable",
|
|
723
|
-
"type": "function",
|
|
724
|
-
"signature": "0xe9c714f2"
|
|
725
|
-
},
|
|
726
|
-
{
|
|
727
|
-
"constant": false,
|
|
728
|
-
"inputs": [
|
|
729
|
-
{
|
|
730
|
-
"name": "newInterestRateModel",
|
|
731
|
-
"type": "address"
|
|
732
|
-
}
|
|
733
|
-
],
|
|
734
|
-
"name": "_setInterestRateModel",
|
|
735
|
-
"outputs": [
|
|
736
|
-
{
|
|
737
|
-
"name": "",
|
|
738
|
-
"type": "uint256"
|
|
739
|
-
}
|
|
740
|
-
],
|
|
741
|
-
"payable": false,
|
|
742
|
-
"stateMutability": "nonpayable",
|
|
743
|
-
"type": "function",
|
|
744
|
-
"signature": "0xf2b3abbd"
|
|
745
|
-
},
|
|
746
|
-
{
|
|
747
|
-
"constant": true,
|
|
748
|
-
"inputs": [],
|
|
749
|
-
"name": "interestRateModel",
|
|
750
|
-
"outputs": [
|
|
751
|
-
{
|
|
752
|
-
"name": "",
|
|
753
|
-
"type": "address"
|
|
754
|
-
}
|
|
755
|
-
],
|
|
756
|
-
"payable": false,
|
|
757
|
-
"stateMutability": "view",
|
|
758
|
-
"type": "function",
|
|
759
|
-
"signature": "0xf3fdb15a"
|
|
760
|
-
},
|
|
761
|
-
{
|
|
762
|
-
"constant": false,
|
|
763
|
-
"inputs": [
|
|
764
|
-
{
|
|
765
|
-
"name": "borrower",
|
|
766
|
-
"type": "address"
|
|
767
|
-
},
|
|
768
|
-
{
|
|
769
|
-
"name": "repayAmount",
|
|
770
|
-
"type": "uint256"
|
|
771
|
-
},
|
|
772
|
-
{
|
|
773
|
-
"name": "cTokenCollateral",
|
|
774
|
-
"type": "address"
|
|
775
|
-
}
|
|
776
|
-
],
|
|
777
|
-
"name": "liquidateBorrow",
|
|
778
|
-
"outputs": [
|
|
779
|
-
{
|
|
780
|
-
"name": "",
|
|
781
|
-
"type": "uint256"
|
|
782
|
-
}
|
|
783
|
-
],
|
|
784
|
-
"payable": false,
|
|
785
|
-
"stateMutability": "nonpayable",
|
|
786
|
-
"type": "function",
|
|
787
|
-
"signature": "0xf5e3c462"
|
|
788
|
-
},
|
|
789
|
-
{
|
|
790
|
-
"constant": true,
|
|
791
|
-
"inputs": [],
|
|
792
|
-
"name": "admin",
|
|
793
|
-
"outputs": [
|
|
794
|
-
{
|
|
795
|
-
"name": "",
|
|
796
|
-
"type": "address"
|
|
797
|
-
}
|
|
798
|
-
],
|
|
799
|
-
"payable": false,
|
|
800
|
-
"stateMutability": "view",
|
|
801
|
-
"type": "function",
|
|
802
|
-
"signature": "0xf851a440"
|
|
803
|
-
},
|
|
804
|
-
{
|
|
805
|
-
"constant": true,
|
|
806
|
-
"inputs": [],
|
|
807
|
-
"name": "borrowRatePerBlock",
|
|
808
|
-
"outputs": [
|
|
809
|
-
{
|
|
810
|
-
"name": "",
|
|
811
|
-
"type": "uint256"
|
|
812
|
-
}
|
|
813
|
-
],
|
|
814
|
-
"payable": false,
|
|
815
|
-
"stateMutability": "view",
|
|
816
|
-
"type": "function",
|
|
817
|
-
"signature": "0xf8f9da28"
|
|
818
|
-
},
|
|
819
|
-
{
|
|
820
|
-
"constant": false,
|
|
821
|
-
"inputs": [
|
|
822
|
-
{
|
|
823
|
-
"name": "newReserveFactorMantissa",
|
|
824
|
-
"type": "uint256"
|
|
825
|
-
}
|
|
826
|
-
],
|
|
827
|
-
"name": "_setReserveFactor",
|
|
828
|
-
"outputs": [
|
|
829
|
-
{
|
|
830
|
-
"name": "",
|
|
831
|
-
"type": "uint256"
|
|
832
|
-
}
|
|
833
|
-
],
|
|
834
|
-
"payable": false,
|
|
835
|
-
"stateMutability": "nonpayable",
|
|
836
|
-
"type": "function",
|
|
837
|
-
"signature": "0xfca7820b"
|
|
838
|
-
},
|
|
839
|
-
{
|
|
840
|
-
"constant": true,
|
|
841
|
-
"inputs": [],
|
|
842
|
-
"name": "isCToken",
|
|
843
|
-
"outputs": [
|
|
844
|
-
{
|
|
845
|
-
"name": "",
|
|
846
|
-
"type": "bool"
|
|
847
|
-
}
|
|
848
|
-
],
|
|
849
|
-
"payable": false,
|
|
850
|
-
"stateMutability": "view",
|
|
851
|
-
"type": "function",
|
|
852
|
-
"signature": "0xfe9c44ae"
|
|
853
|
-
},
|
|
854
|
-
{
|
|
855
|
-
"inputs": [
|
|
856
|
-
{
|
|
857
|
-
"name": "underlying_",
|
|
858
|
-
"type": "address"
|
|
859
|
-
},
|
|
860
|
-
{
|
|
861
|
-
"name": "comptroller_",
|
|
862
|
-
"type": "address"
|
|
863
|
-
},
|
|
864
|
-
{
|
|
865
|
-
"name": "interestRateModel_",
|
|
866
|
-
"type": "address"
|
|
867
|
-
},
|
|
868
|
-
{
|
|
869
|
-
"name": "initialExchangeRateMantissa_",
|
|
870
|
-
"type": "uint256"
|
|
871
|
-
},
|
|
872
|
-
{
|
|
873
|
-
"name": "name_",
|
|
874
|
-
"type": "string"
|
|
875
|
-
},
|
|
876
|
-
{
|
|
877
|
-
"name": "symbol_",
|
|
878
|
-
"type": "string"
|
|
879
|
-
},
|
|
880
|
-
{
|
|
881
|
-
"name": "decimals_",
|
|
882
|
-
"type": "uint256"
|
|
883
|
-
}
|
|
884
|
-
],
|
|
885
|
-
"payable": false,
|
|
886
|
-
"stateMutability": "nonpayable",
|
|
887
|
-
"type": "constructor",
|
|
888
|
-
"signature": "constructor"
|
|
889
|
-
},
|
|
890
|
-
{
|
|
891
|
-
"anonymous": false,
|
|
892
|
-
"inputs": [
|
|
893
|
-
{
|
|
894
|
-
"indexed": false,
|
|
895
|
-
"name": "interestAccumulated",
|
|
896
|
-
"type": "uint256"
|
|
897
|
-
},
|
|
898
|
-
{
|
|
899
|
-
"indexed": false,
|
|
900
|
-
"name": "borrowIndex",
|
|
901
|
-
"type": "uint256"
|
|
902
|
-
},
|
|
903
|
-
{
|
|
904
|
-
"indexed": false,
|
|
905
|
-
"name": "totalBorrows",
|
|
906
|
-
"type": "uint256"
|
|
907
|
-
}
|
|
908
|
-
],
|
|
909
|
-
"name": "AccrueInterest",
|
|
910
|
-
"type": "event",
|
|
911
|
-
"signature": "0x875352fb3fadeb8c0be7cbbe8ff761b308fa7033470cd0287f02f3436fd76cb9"
|
|
912
|
-
},
|
|
913
|
-
{
|
|
914
|
-
"anonymous": false,
|
|
915
|
-
"inputs": [
|
|
916
|
-
{
|
|
917
|
-
"indexed": false,
|
|
918
|
-
"name": "minter",
|
|
919
|
-
"type": "address"
|
|
920
|
-
},
|
|
921
|
-
{
|
|
922
|
-
"indexed": false,
|
|
923
|
-
"name": "mintAmount",
|
|
924
|
-
"type": "uint256"
|
|
925
|
-
},
|
|
926
|
-
{
|
|
927
|
-
"indexed": false,
|
|
928
|
-
"name": "mintTokens",
|
|
929
|
-
"type": "uint256"
|
|
930
|
-
}
|
|
931
|
-
],
|
|
932
|
-
"name": "Mint",
|
|
933
|
-
"type": "event",
|
|
934
|
-
"signature": "0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f"
|
|
935
|
-
},
|
|
936
|
-
{
|
|
937
|
-
"anonymous": false,
|
|
938
|
-
"inputs": [
|
|
939
|
-
{
|
|
940
|
-
"indexed": false,
|
|
941
|
-
"name": "redeemer",
|
|
942
|
-
"type": "address"
|
|
943
|
-
},
|
|
944
|
-
{
|
|
945
|
-
"indexed": false,
|
|
946
|
-
"name": "redeemAmount",
|
|
947
|
-
"type": "uint256"
|
|
948
|
-
},
|
|
949
|
-
{
|
|
950
|
-
"indexed": false,
|
|
951
|
-
"name": "redeemTokens",
|
|
952
|
-
"type": "uint256"
|
|
953
|
-
}
|
|
954
|
-
],
|
|
955
|
-
"name": "Redeem",
|
|
956
|
-
"type": "event",
|
|
957
|
-
"signature": "0xe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a929"
|
|
958
|
-
},
|
|
959
|
-
{
|
|
960
|
-
"anonymous": false,
|
|
961
|
-
"inputs": [
|
|
962
|
-
{
|
|
963
|
-
"indexed": false,
|
|
964
|
-
"name": "borrower",
|
|
965
|
-
"type": "address"
|
|
966
|
-
},
|
|
967
|
-
{
|
|
968
|
-
"indexed": false,
|
|
969
|
-
"name": "borrowAmount",
|
|
970
|
-
"type": "uint256"
|
|
971
|
-
},
|
|
972
|
-
{
|
|
973
|
-
"indexed": false,
|
|
974
|
-
"name": "accountBorrows",
|
|
975
|
-
"type": "uint256"
|
|
976
|
-
},
|
|
977
|
-
{
|
|
978
|
-
"indexed": false,
|
|
979
|
-
"name": "totalBorrows",
|
|
980
|
-
"type": "uint256"
|
|
981
|
-
}
|
|
982
|
-
],
|
|
983
|
-
"name": "Borrow",
|
|
984
|
-
"type": "event",
|
|
985
|
-
"signature": "0x13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80"
|
|
986
|
-
},
|
|
987
|
-
{
|
|
988
|
-
"anonymous": false,
|
|
989
|
-
"inputs": [
|
|
990
|
-
{
|
|
991
|
-
"indexed": false,
|
|
992
|
-
"name": "payer",
|
|
993
|
-
"type": "address"
|
|
994
|
-
},
|
|
995
|
-
{
|
|
996
|
-
"indexed": false,
|
|
997
|
-
"name": "borrower",
|
|
998
|
-
"type": "address"
|
|
999
|
-
},
|
|
1000
|
-
{
|
|
1001
|
-
"indexed": false,
|
|
1002
|
-
"name": "repayAmount",
|
|
1003
|
-
"type": "uint256"
|
|
1004
|
-
},
|
|
1005
|
-
{
|
|
1006
|
-
"indexed": false,
|
|
1007
|
-
"name": "accountBorrows",
|
|
1008
|
-
"type": "uint256"
|
|
1009
|
-
},
|
|
1010
|
-
{
|
|
1011
|
-
"indexed": false,
|
|
1012
|
-
"name": "totalBorrows",
|
|
1013
|
-
"type": "uint256"
|
|
1014
|
-
}
|
|
1015
|
-
],
|
|
1016
|
-
"name": "RepayBorrow",
|
|
1017
|
-
"type": "event",
|
|
1018
|
-
"signature": "0x1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1"
|
|
1019
|
-
},
|
|
1020
|
-
{
|
|
1021
|
-
"anonymous": false,
|
|
1022
|
-
"inputs": [
|
|
1023
|
-
{
|
|
1024
|
-
"indexed": false,
|
|
1025
|
-
"name": "liquidator",
|
|
1026
|
-
"type": "address"
|
|
1027
|
-
},
|
|
1028
|
-
{
|
|
1029
|
-
"indexed": false,
|
|
1030
|
-
"name": "borrower",
|
|
1031
|
-
"type": "address"
|
|
1032
|
-
},
|
|
1033
|
-
{
|
|
1034
|
-
"indexed": false,
|
|
1035
|
-
"name": "repayAmount",
|
|
1036
|
-
"type": "uint256"
|
|
1037
|
-
},
|
|
1038
|
-
{
|
|
1039
|
-
"indexed": false,
|
|
1040
|
-
"name": "cTokenCollateral",
|
|
1041
|
-
"type": "address"
|
|
1042
|
-
},
|
|
1043
|
-
{
|
|
1044
|
-
"indexed": false,
|
|
1045
|
-
"name": "seizeTokens",
|
|
1046
|
-
"type": "uint256"
|
|
1047
|
-
}
|
|
1048
|
-
],
|
|
1049
|
-
"name": "LiquidateBorrow",
|
|
1050
|
-
"type": "event",
|
|
1051
|
-
"signature": "0x298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb52"
|
|
1052
|
-
},
|
|
1053
|
-
{
|
|
1054
|
-
"anonymous": false,
|
|
1055
|
-
"inputs": [
|
|
1056
|
-
{
|
|
1057
|
-
"indexed": false,
|
|
1058
|
-
"name": "oldPendingAdmin",
|
|
1059
|
-
"type": "address"
|
|
1060
|
-
},
|
|
1061
|
-
{
|
|
1062
|
-
"indexed": false,
|
|
1063
|
-
"name": "newPendingAdmin",
|
|
1064
|
-
"type": "address"
|
|
1065
|
-
}
|
|
1066
|
-
],
|
|
1067
|
-
"name": "NewPendingAdmin",
|
|
1068
|
-
"type": "event",
|
|
1069
|
-
"signature": "0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9"
|
|
1070
|
-
},
|
|
1071
|
-
{
|
|
1072
|
-
"anonymous": false,
|
|
1073
|
-
"inputs": [
|
|
1074
|
-
{
|
|
1075
|
-
"indexed": false,
|
|
1076
|
-
"name": "oldAdmin",
|
|
1077
|
-
"type": "address"
|
|
1078
|
-
},
|
|
1079
|
-
{
|
|
1080
|
-
"indexed": false,
|
|
1081
|
-
"name": "newAdmin",
|
|
1082
|
-
"type": "address"
|
|
1083
|
-
}
|
|
1084
|
-
],
|
|
1085
|
-
"name": "NewAdmin",
|
|
1086
|
-
"type": "event",
|
|
1087
|
-
"signature": "0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc"
|
|
1088
|
-
},
|
|
1089
|
-
{
|
|
1090
|
-
"anonymous": false,
|
|
1091
|
-
"inputs": [
|
|
1092
|
-
{
|
|
1093
|
-
"indexed": false,
|
|
1094
|
-
"name": "oldComptroller",
|
|
1095
|
-
"type": "address"
|
|
1096
|
-
},
|
|
1097
|
-
{
|
|
1098
|
-
"indexed": false,
|
|
1099
|
-
"name": "newComptroller",
|
|
1100
|
-
"type": "address"
|
|
1101
|
-
}
|
|
1102
|
-
],
|
|
1103
|
-
"name": "NewComptroller",
|
|
1104
|
-
"type": "event",
|
|
1105
|
-
"signature": "0x7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d"
|
|
1106
|
-
},
|
|
1107
|
-
{
|
|
1108
|
-
"anonymous": false,
|
|
1109
|
-
"inputs": [
|
|
1110
|
-
{
|
|
1111
|
-
"indexed": false,
|
|
1112
|
-
"name": "oldInterestRateModel",
|
|
1113
|
-
"type": "address"
|
|
1114
|
-
},
|
|
1115
|
-
{
|
|
1116
|
-
"indexed": false,
|
|
1117
|
-
"name": "newInterestRateModel",
|
|
1118
|
-
"type": "address"
|
|
1119
|
-
}
|
|
1120
|
-
],
|
|
1121
|
-
"name": "NewMarketInterestRateModel",
|
|
1122
|
-
"type": "event",
|
|
1123
|
-
"signature": "0xedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f926"
|
|
1124
|
-
},
|
|
1125
|
-
{
|
|
1126
|
-
"anonymous": false,
|
|
1127
|
-
"inputs": [
|
|
1128
|
-
{
|
|
1129
|
-
"indexed": false,
|
|
1130
|
-
"name": "oldReserveFactorMantissa",
|
|
1131
|
-
"type": "uint256"
|
|
1132
|
-
},
|
|
1133
|
-
{
|
|
1134
|
-
"indexed": false,
|
|
1135
|
-
"name": "newReserveFactorMantissa",
|
|
1136
|
-
"type": "uint256"
|
|
1137
|
-
}
|
|
1138
|
-
],
|
|
1139
|
-
"name": "NewReserveFactor",
|
|
1140
|
-
"type": "event",
|
|
1141
|
-
"signature": "0xaaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460"
|
|
1142
|
-
},
|
|
1143
|
-
{
|
|
1144
|
-
"anonymous": false,
|
|
1145
|
-
"inputs": [
|
|
1146
|
-
{
|
|
1147
|
-
"indexed": false,
|
|
1148
|
-
"name": "admin",
|
|
1149
|
-
"type": "address"
|
|
1150
|
-
},
|
|
1151
|
-
{
|
|
1152
|
-
"indexed": false,
|
|
1153
|
-
"name": "reduceAmount",
|
|
1154
|
-
"type": "uint256"
|
|
1155
|
-
},
|
|
1156
|
-
{
|
|
1157
|
-
"indexed": false,
|
|
1158
|
-
"name": "newTotalReserves",
|
|
1159
|
-
"type": "uint256"
|
|
1160
|
-
}
|
|
1161
|
-
],
|
|
1162
|
-
"name": "ReservesReduced",
|
|
1163
|
-
"type": "event",
|
|
1164
|
-
"signature": "0x3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e"
|
|
1165
|
-
},
|
|
1166
|
-
{
|
|
1167
|
-
"anonymous": false,
|
|
1168
|
-
"inputs": [
|
|
1169
|
-
{
|
|
1170
|
-
"indexed": false,
|
|
1171
|
-
"name": "error",
|
|
1172
|
-
"type": "uint256"
|
|
1173
|
-
},
|
|
1174
|
-
{
|
|
1175
|
-
"indexed": false,
|
|
1176
|
-
"name": "info",
|
|
1177
|
-
"type": "uint256"
|
|
1178
|
-
},
|
|
1179
|
-
{
|
|
1180
|
-
"indexed": false,
|
|
1181
|
-
"name": "detail",
|
|
1182
|
-
"type": "uint256"
|
|
1183
|
-
}
|
|
1184
|
-
],
|
|
1185
|
-
"name": "Failure",
|
|
1186
|
-
"type": "event",
|
|
1187
|
-
"signature": "0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0"
|
|
1188
|
-
},
|
|
1189
|
-
{
|
|
1190
|
-
"anonymous": false,
|
|
1191
|
-
"inputs": [
|
|
1192
|
-
{
|
|
1193
|
-
"indexed": true,
|
|
1194
|
-
"name": "from",
|
|
1195
|
-
"type": "address"
|
|
1196
|
-
},
|
|
1197
|
-
{
|
|
1198
|
-
"indexed": true,
|
|
1199
|
-
"name": "to",
|
|
1200
|
-
"type": "address"
|
|
1201
|
-
},
|
|
1202
|
-
{
|
|
1203
|
-
"indexed": false,
|
|
1204
|
-
"name": "amount",
|
|
1205
|
-
"type": "uint256"
|
|
1206
|
-
}
|
|
1207
|
-
],
|
|
1208
|
-
"name": "Transfer",
|
|
1209
|
-
"type": "event",
|
|
1210
|
-
"signature": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"
|
|
1211
|
-
},
|
|
1212
|
-
{
|
|
1213
|
-
"anonymous": false,
|
|
1214
|
-
"inputs": [
|
|
1215
|
-
{
|
|
1216
|
-
"indexed": true,
|
|
1217
|
-
"name": "owner",
|
|
1218
|
-
"type": "address"
|
|
1219
|
-
},
|
|
1220
|
-
{
|
|
1221
|
-
"indexed": true,
|
|
1222
|
-
"name": "spender",
|
|
1223
|
-
"type": "address"
|
|
1224
|
-
},
|
|
1225
|
-
{
|
|
1226
|
-
"indexed": false,
|
|
1227
|
-
"name": "amount",
|
|
1228
|
-
"type": "uint256"
|
|
1229
|
-
}
|
|
1230
|
-
],
|
|
1231
|
-
"name": "Approval",
|
|
1232
|
-
"type": "event",
|
|
1233
|
-
"signature": "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925"
|
|
1234
|
-
}
|
|
1235
|
-
]
|