@augustdigital/sdk 3.16.3-alpha → 3.16.5-alpha
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/lib/abis/src.ts/AddressResolver.d.ts +28 -0
- package/lib/abis/src.ts/AddressResolver.js +23 -0
- package/lib/abis/src.ts/AddressResolver.js.map +1 -0
- package/lib/abis/src.ts/ChainlinkV3.d.ts +87 -0
- package/lib/abis/src.ts/ChainlinkV3.js +117 -0
- package/lib/abis/src.ts/ChainlinkV3.js.map +1 -0
- package/lib/abis/src.ts/ERC20.d.ts +168 -0
- package/lib/abis/src.ts/ERC20.js +226 -0
- package/lib/abis/src.ts/ERC20.js.map +1 -0
- package/lib/abis/src.ts/ERC20_Bytes32.d.ts +135 -0
- package/lib/abis/src.ts/ERC20_Bytes32.js +192 -0
- package/lib/abis/src.ts/ERC20_Bytes32.js.map +1 -0
- package/lib/abis/src.ts/ERC4626.d.ts +363 -0
- package/lib/abis/src.ts/ERC4626.js +506 -0
- package/lib/abis/src.ts/ERC4626.js.map +1 -0
- package/lib/abis/src.ts/ERC721.d.ts +230 -0
- package/lib/abis/src.ts/ERC721.js +320 -0
- package/lib/abis/src.ts/ERC721.js.map +1 -0
- package/lib/abis/src.ts/FeeOracle.d.ts +120 -0
- package/lib/abis/src.ts/FeeOracle.js +161 -0
- package/lib/abis/src.ts/FeeOracle.js.map +1 -0
- package/lib/abis/src.ts/LendingPool.d.ts +1393 -0
- package/lib/abis/src.ts/LendingPool.js +1806 -0
- package/lib/abis/src.ts/LendingPool.js.map +1 -0
- package/lib/abis/src.ts/LendingPoolV2.d.ts +55 -0
- package/lib/abis/src.ts/LendingPoolV2.js +1832 -0
- package/lib/abis/src.ts/LendingPoolV2.js.map +1 -0
- package/lib/abis/src.ts/LendingPoolV3.d.ts +35 -0
- package/lib/abis/src.ts/LendingPoolV3.js +1160 -0
- package/lib/abis/src.ts/LendingPoolV3.js.map +1 -0
- package/lib/abis/src.ts/Loan.d.ts +837 -0
- package/lib/abis/src.ts/Loan.js +1080 -0
- package/lib/abis/src.ts/Loan.js.map +1 -0
- package/lib/abis/src.ts/Multicall3.d.ts +30 -0
- package/lib/abis/src.ts/Multicall3.js +94 -0
- package/lib/abis/src.ts/Multicall3.js.map +1 -0
- package/lib/abis/src.ts/PoolAdapter.d.ts +76 -0
- package/lib/abis/src.ts/PoolAdapter.js +412 -0
- package/lib/abis/src.ts/PoolAdapter.js.map +1 -0
- package/lib/abis/src.ts/RewardDistributor.d.ts +46 -0
- package/lib/abis/src.ts/RewardDistributor.js +352 -0
- package/lib/abis/src.ts/RewardDistributor.js.map +1 -0
- package/lib/abis/src.ts/SmartAccount.d.ts +16 -0
- package/lib/abis/src.ts/SmartAccount.js +16 -0
- package/lib/abis/src.ts/SmartAccount.js.map +1 -0
- package/lib/abis/src.ts/TextResolver.d.ts +16 -0
- package/lib/abis/src.ts/TextResolver.js +16 -0
- package/lib/abis/src.ts/TextResolver.js.map +1 -0
- package/lib/abis/src.ts/UniversalResolverResolve.d.ts +69 -0
- package/lib/abis/src.ts/UniversalResolverResolve.js +35 -0
- package/lib/abis/src.ts/UniversalResolverResolve.js.map +1 -0
- package/lib/abis/src.ts/UniversalSignatureValidator.d.ts +17 -0
- package/lib/abis/src.ts/UniversalSignatureValidator.js +27 -0
- package/lib/abis/src.ts/UniversalSignatureValidator.js.map +1 -0
- package/lib/abis/src.ts/WrapperAdapter.d.ts +60 -0
- package/lib/abis/src.ts/WrapperAdapter.js +150 -0
- package/lib/abis/src.ts/WrapperAdapter.js.map +1 -0
- package/lib/abis/src.ts/index.d.ts +19 -0
- package/lib/abis/src.ts/index.js +36 -0
- package/lib/abis/src.ts/index.js.map +1 -0
- package/lib/pools/src.ts/admin-actions.d.ts +0 -0
- package/lib/pools/src.ts/admin-actions.js +1 -0
- package/lib/pools/src.ts/admin-actions.js.map +1 -0
- package/lib/pools/src.ts/getters-v2.d.ts +0 -0
- package/lib/pools/src.ts/getters-v2.js +1 -0
- package/lib/pools/src.ts/getters-v2.js.map +1 -0
- package/lib/pools/src.ts/getters.d.ts +85 -0
- package/lib/pools/src.ts/getters.js +431 -0
- package/lib/pools/src.ts/getters.js.map +1 -0
- package/lib/pools/src.ts/helpers.d.ts +69 -0
- package/lib/pools/src.ts/helpers.js +634 -0
- package/lib/pools/src.ts/helpers.js.map +1 -0
- package/lib/pools/src.ts/index.d.ts +4 -0
- package/lib/pools/src.ts/index.js +21 -0
- package/lib/pools/src.ts/index.js.map +1 -0
- package/lib/pools/src.ts/main.d.ts +55 -0
- package/lib/pools/src.ts/main.js +270 -0
- package/lib/pools/src.ts/main.js.map +1 -0
- package/lib/pools/src.ts/staking.d.ts +8 -0
- package/lib/pools/src.ts/staking.js +116 -0
- package/lib/pools/src.ts/staking.js.map +1 -0
- package/lib/pools/src.ts/user-actions.d.ts +19 -0
- package/lib/pools/src.ts/user-actions.js +191 -0
- package/lib/pools/src.ts/user-actions.js.map +1 -0
- package/lib/sdk/src.ts/index.js.map +1 -0
- package/lib/{main.d.ts → sdk/src.ts/main.d.ts} +0 -2
- package/lib/{main.js → sdk/src.ts/main.js} +0 -3
- package/lib/sdk/src.ts/main.js.map +1 -0
- package/lib/sdk/src.ts/verify.js.map +1 -0
- package/lib/services/src.ts/index.d.ts +2 -0
- package/lib/services/src.ts/index.js +19 -0
- package/lib/services/src.ts/index.js.map +1 -0
- package/lib/services/src.ts/slack.d.ts +12 -0
- package/lib/services/src.ts/slack.js +57 -0
- package/lib/services/src.ts/slack.js.map +1 -0
- package/lib/services/src.ts/subgraph.d.ts +10 -0
- package/lib/services/src.ts/subgraph.js +460 -0
- package/lib/services/src.ts/subgraph.js.map +1 -0
- package/lib/types/src.ts/index.d.ts +8 -0
- package/lib/types/src.ts/index.js +24 -0
- package/lib/types/src.ts/index.js.map +1 -0
- package/lib/types/src.ts/pools.d.ts +141 -0
- package/lib/types/src.ts/pools.js +3 -0
- package/lib/types/src.ts/pools.js.map +1 -0
- package/lib/types/src.ts/staking.d.ts +28 -0
- package/lib/types/src.ts/staking.js +3 -0
- package/lib/types/src.ts/staking.js.map +1 -0
- package/lib/types/src.ts/subgraph.d.ts +45 -0
- package/lib/types/src.ts/subgraph.js +3 -0
- package/lib/types/src.ts/subgraph.js.map +1 -0
- package/lib/types/src.ts/user.d.ts +1 -0
- package/lib/types/src.ts/user.js +3 -0
- package/lib/types/src.ts/user.js.map +1 -0
- package/lib/types/src.ts/vaults.d.ts +159 -0
- package/lib/types/src.ts/vaults.js +3 -0
- package/lib/types/src.ts/vaults.js.map +1 -0
- package/lib/types/src.ts/web3.d.ts +19 -0
- package/lib/types/src.ts/web3.js +3 -0
- package/lib/types/src.ts/web3.js.map +1 -0
- package/lib/types/src.ts/webserver.d.ts +471 -0
- package/lib/types/src.ts/webserver.js +3 -0
- package/lib/types/src.ts/webserver.js.map +1 -0
- package/lib/utils/src.ts/base-class.d.ts +29 -0
- package/lib/utils/src.ts/base-class.js +48 -0
- package/lib/utils/src.ts/base-class.js.map +1 -0
- package/lib/utils/src.ts/constants/august.d.ts +57 -0
- package/lib/utils/src.ts/constants/august.js +61 -0
- package/lib/utils/src.ts/constants/august.js.map +1 -0
- package/lib/utils/src.ts/constants/fallbacks.d.ts +3 -0
- package/lib/utils/src.ts/constants/fallbacks.js +25 -0
- package/lib/utils/src.ts/constants/fallbacks.js.map +1 -0
- package/lib/utils/src.ts/constants/index.d.ts +3 -0
- package/lib/utils/src.ts/constants/index.js +20 -0
- package/lib/utils/src.ts/constants/index.js.map +1 -0
- package/lib/utils/src.ts/constants/web3.d.ts +25 -0
- package/lib/utils/src.ts/constants/web3.js +94 -0
- package/lib/utils/src.ts/constants/web3.js.map +1 -0
- package/lib/utils/src.ts/fetcher.d.ts +25 -0
- package/lib/utils/src.ts/fetcher.js +322 -0
- package/lib/utils/src.ts/fetcher.js.map +1 -0
- package/lib/utils/src.ts/helpers/array.d.ts +6 -0
- package/lib/utils/src.ts/helpers/array.js +35 -0
- package/lib/utils/src.ts/helpers/array.js.map +1 -0
- package/lib/utils/src.ts/helpers/datetime.d.ts +5 -0
- package/lib/utils/src.ts/helpers/datetime.js +32 -0
- package/lib/utils/src.ts/helpers/datetime.js.map +1 -0
- package/lib/utils/src.ts/helpers/formatters.d.ts +8 -0
- package/lib/utils/src.ts/helpers/formatters.js +114 -0
- package/lib/utils/src.ts/helpers/formatters.js.map +1 -0
- package/lib/utils/src.ts/helpers/index.d.ts +6 -0
- package/lib/utils/src.ts/helpers/index.js +23 -0
- package/lib/utils/src.ts/helpers/index.js.map +1 -0
- package/lib/utils/src.ts/helpers/responses.d.ts +32 -0
- package/lib/utils/src.ts/helpers/responses.js +238 -0
- package/lib/utils/src.ts/helpers/responses.js.map +1 -0
- package/lib/utils/src.ts/helpers/verify-keys.d.ts +2 -0
- package/lib/utils/src.ts/helpers/verify-keys.js +34 -0
- package/lib/utils/src.ts/helpers/verify-keys.js.map +1 -0
- package/lib/utils/src.ts/helpers/web3.d.ts +27 -0
- package/lib/utils/src.ts/helpers/web3.js +351 -0
- package/lib/utils/src.ts/helpers/web3.js.map +1 -0
- package/lib/utils/src.ts/index.d.ts +5 -0
- package/lib/utils/src.ts/index.js +22 -0
- package/lib/utils/src.ts/index.js.map +1 -0
- package/lib/utils/src.ts/vaults.d.ts +53 -0
- package/lib/utils/src.ts/vaults.js +167 -0
- package/lib/utils/src.ts/vaults.js.map +1 -0
- package/lib/vaults/src.ts/admin-actions.d.ts +0 -0
- package/lib/vaults/src.ts/admin-actions.js +1 -0
- package/lib/vaults/src.ts/admin-actions.js.map +1 -0
- package/lib/vaults/src.ts/getters.d.ts +36 -0
- package/lib/vaults/src.ts/getters.js +649 -0
- package/lib/vaults/src.ts/getters.js.map +1 -0
- package/lib/vaults/src.ts/index.d.ts +4 -0
- package/lib/vaults/src.ts/index.js +21 -0
- package/lib/vaults/src.ts/index.js.map +1 -0
- package/lib/vaults/src.ts/main.d.ts +88 -0
- package/lib/vaults/src.ts/main.js +497 -0
- package/lib/vaults/src.ts/main.js.map +1 -0
- package/lib/vaults/src.ts/rpc-config.d.ts +4 -0
- package/lib/vaults/src.ts/rpc-config.js +32 -0
- package/lib/vaults/src.ts/rpc-config.js.map +1 -0
- package/lib/vaults/src.ts/user-actions.d.ts +19 -0
- package/lib/vaults/src.ts/user-actions.js +191 -0
- package/lib/vaults/src.ts/user-actions.js.map +1 -0
- package/lib/vaults/src.ts/utils.d.ts +120 -0
- package/lib/vaults/src.ts/utils.js +438 -0
- package/lib/vaults/src.ts/utils.js.map +1 -0
- package/lib/vaults/src.ts/vault-fetching-examples.d.ts +4 -0
- package/lib/vaults/src.ts/vault-fetching-examples.js +40 -0
- package/lib/vaults/src.ts/vault-fetching-examples.js.map +1 -0
- package/package.json +6 -7
- package/lib/index.js.map +0 -1
- package/lib/main.js.map +0 -1
- package/lib/verify.js.map +0 -1
- /package/lib/{index.d.ts → sdk/src.ts/index.d.ts} +0 -0
- /package/lib/{index.js → sdk/src.ts/index.js} +0 -0
- /package/lib/{verify.d.ts → sdk/src.ts/verify.d.ts} +0 -0
- /package/lib/{verify.js → sdk/src.ts/verify.js} +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export declare const ABI_REWARD_DISTRIBUTOR: ({
|
|
2
|
+
type: string;
|
|
3
|
+
inputs: {
|
|
4
|
+
name: string;
|
|
5
|
+
type: string;
|
|
6
|
+
internalType: string;
|
|
7
|
+
}[];
|
|
8
|
+
stateMutability: string;
|
|
9
|
+
name?: undefined;
|
|
10
|
+
outputs?: undefined;
|
|
11
|
+
anonymous?: undefined;
|
|
12
|
+
} | {
|
|
13
|
+
type: string;
|
|
14
|
+
stateMutability: string;
|
|
15
|
+
inputs?: undefined;
|
|
16
|
+
name?: undefined;
|
|
17
|
+
outputs?: undefined;
|
|
18
|
+
anonymous?: undefined;
|
|
19
|
+
} | {
|
|
20
|
+
type: string;
|
|
21
|
+
name: string;
|
|
22
|
+
inputs: {
|
|
23
|
+
name: string;
|
|
24
|
+
type: string;
|
|
25
|
+
internalType: string;
|
|
26
|
+
}[];
|
|
27
|
+
outputs: {
|
|
28
|
+
name: string;
|
|
29
|
+
type: string;
|
|
30
|
+
internalType: string;
|
|
31
|
+
}[];
|
|
32
|
+
stateMutability: string;
|
|
33
|
+
anonymous?: undefined;
|
|
34
|
+
} | {
|
|
35
|
+
type: string;
|
|
36
|
+
name: string;
|
|
37
|
+
inputs: {
|
|
38
|
+
name: string;
|
|
39
|
+
type: string;
|
|
40
|
+
indexed: boolean;
|
|
41
|
+
internalType: string;
|
|
42
|
+
}[];
|
|
43
|
+
anonymous: boolean;
|
|
44
|
+
stateMutability?: undefined;
|
|
45
|
+
outputs?: undefined;
|
|
46
|
+
})[];
|
|
@@ -0,0 +1,352 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ABI_REWARD_DISTRIBUTOR = void 0;
|
|
4
|
+
exports.ABI_REWARD_DISTRIBUTOR = [
|
|
5
|
+
{
|
|
6
|
+
type: "constructor",
|
|
7
|
+
inputs: [
|
|
8
|
+
{
|
|
9
|
+
name: "ownerAddr",
|
|
10
|
+
type: "address",
|
|
11
|
+
internalType: "address",
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
name: "_rewardsPerSecond",
|
|
15
|
+
type: "uint256",
|
|
16
|
+
internalType: "uint256",
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
name: "_stakingToken",
|
|
20
|
+
type: "address",
|
|
21
|
+
internalType: "contract IERC20",
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
stateMutability: "nonpayable",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
type: "receive",
|
|
28
|
+
stateMutability: "payable",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
type: "function",
|
|
32
|
+
name: "balanceOf",
|
|
33
|
+
inputs: [
|
|
34
|
+
{
|
|
35
|
+
name: "",
|
|
36
|
+
type: "address",
|
|
37
|
+
internalType: "address",
|
|
38
|
+
},
|
|
39
|
+
],
|
|
40
|
+
outputs: [
|
|
41
|
+
{
|
|
42
|
+
name: "",
|
|
43
|
+
type: "uint256",
|
|
44
|
+
internalType: "uint256",
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
stateMutability: "view",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
type: "function",
|
|
51
|
+
name: "earned",
|
|
52
|
+
inputs: [
|
|
53
|
+
{
|
|
54
|
+
name: "account",
|
|
55
|
+
type: "address",
|
|
56
|
+
internalType: "address",
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
outputs: [
|
|
60
|
+
{
|
|
61
|
+
name: "",
|
|
62
|
+
type: "uint256",
|
|
63
|
+
internalType: "uint256",
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
stateMutability: "view",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
type: "function",
|
|
70
|
+
name: "getReward",
|
|
71
|
+
inputs: [],
|
|
72
|
+
outputs: [],
|
|
73
|
+
stateMutability: "nonpayable",
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
type: "function",
|
|
77
|
+
name: "lastUpdateTime",
|
|
78
|
+
inputs: [],
|
|
79
|
+
outputs: [
|
|
80
|
+
{
|
|
81
|
+
name: "",
|
|
82
|
+
type: "uint256",
|
|
83
|
+
internalType: "uint256",
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
stateMutability: "view",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
type: "function",
|
|
90
|
+
name: "owner",
|
|
91
|
+
inputs: [],
|
|
92
|
+
outputs: [
|
|
93
|
+
{
|
|
94
|
+
name: "",
|
|
95
|
+
type: "address",
|
|
96
|
+
internalType: "address",
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
stateMutability: "view",
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
type: "function",
|
|
103
|
+
name: "rewardPerTokenStored",
|
|
104
|
+
inputs: [],
|
|
105
|
+
outputs: [
|
|
106
|
+
{
|
|
107
|
+
name: "",
|
|
108
|
+
type: "uint256",
|
|
109
|
+
internalType: "uint256",
|
|
110
|
+
},
|
|
111
|
+
],
|
|
112
|
+
stateMutability: "view",
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
type: "function",
|
|
116
|
+
name: "rewards",
|
|
117
|
+
inputs: [
|
|
118
|
+
{
|
|
119
|
+
name: "",
|
|
120
|
+
type: "address",
|
|
121
|
+
internalType: "address",
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
outputs: [
|
|
125
|
+
{
|
|
126
|
+
name: "",
|
|
127
|
+
type: "uint256",
|
|
128
|
+
internalType: "uint256",
|
|
129
|
+
},
|
|
130
|
+
],
|
|
131
|
+
stateMutability: "view",
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
type: "function",
|
|
135
|
+
name: "rewardsPerSecond",
|
|
136
|
+
inputs: [],
|
|
137
|
+
outputs: [
|
|
138
|
+
{
|
|
139
|
+
name: "",
|
|
140
|
+
type: "uint256",
|
|
141
|
+
internalType: "uint256",
|
|
142
|
+
},
|
|
143
|
+
],
|
|
144
|
+
stateMutability: "view",
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
type: "function",
|
|
148
|
+
name: "setRewardRate",
|
|
149
|
+
inputs: [
|
|
150
|
+
{
|
|
151
|
+
name: "_rewardsPerSecond",
|
|
152
|
+
type: "uint256",
|
|
153
|
+
internalType: "uint256",
|
|
154
|
+
},
|
|
155
|
+
],
|
|
156
|
+
outputs: [],
|
|
157
|
+
stateMutability: "nonpayable",
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
type: "function",
|
|
161
|
+
name: "stake",
|
|
162
|
+
inputs: [
|
|
163
|
+
{
|
|
164
|
+
name: "amount",
|
|
165
|
+
type: "uint256",
|
|
166
|
+
internalType: "uint256",
|
|
167
|
+
},
|
|
168
|
+
],
|
|
169
|
+
outputs: [],
|
|
170
|
+
stateMutability: "nonpayable",
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
type: "function",
|
|
174
|
+
name: "stakingToken",
|
|
175
|
+
inputs: [],
|
|
176
|
+
outputs: [
|
|
177
|
+
{
|
|
178
|
+
name: "",
|
|
179
|
+
type: "address",
|
|
180
|
+
internalType: "contract IERC20",
|
|
181
|
+
},
|
|
182
|
+
],
|
|
183
|
+
stateMutability: "view",
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
type: "function",
|
|
187
|
+
name: "totalStaked",
|
|
188
|
+
inputs: [],
|
|
189
|
+
outputs: [
|
|
190
|
+
{
|
|
191
|
+
name: "",
|
|
192
|
+
type: "uint256",
|
|
193
|
+
internalType: "uint256",
|
|
194
|
+
},
|
|
195
|
+
],
|
|
196
|
+
stateMutability: "view",
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
type: "function",
|
|
200
|
+
name: "transferOwnership",
|
|
201
|
+
inputs: [
|
|
202
|
+
{
|
|
203
|
+
name: "newOwner",
|
|
204
|
+
type: "address",
|
|
205
|
+
internalType: "address",
|
|
206
|
+
},
|
|
207
|
+
],
|
|
208
|
+
outputs: [],
|
|
209
|
+
stateMutability: "nonpayable",
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
type: "function",
|
|
213
|
+
name: "userRewardPerTokenPaid",
|
|
214
|
+
inputs: [
|
|
215
|
+
{
|
|
216
|
+
name: "",
|
|
217
|
+
type: "address",
|
|
218
|
+
internalType: "address",
|
|
219
|
+
},
|
|
220
|
+
],
|
|
221
|
+
outputs: [
|
|
222
|
+
{
|
|
223
|
+
name: "",
|
|
224
|
+
type: "uint256",
|
|
225
|
+
internalType: "uint256",
|
|
226
|
+
},
|
|
227
|
+
],
|
|
228
|
+
stateMutability: "view",
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
type: "function",
|
|
232
|
+
name: "withdraw",
|
|
233
|
+
inputs: [
|
|
234
|
+
{
|
|
235
|
+
name: "amount",
|
|
236
|
+
type: "uint256",
|
|
237
|
+
internalType: "uint256",
|
|
238
|
+
},
|
|
239
|
+
],
|
|
240
|
+
outputs: [],
|
|
241
|
+
stateMutability: "nonpayable",
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
type: "event",
|
|
245
|
+
name: "OwnershipTransferred",
|
|
246
|
+
inputs: [
|
|
247
|
+
{
|
|
248
|
+
name: "previousOwner",
|
|
249
|
+
type: "address",
|
|
250
|
+
indexed: true,
|
|
251
|
+
internalType: "address",
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
name: "newOwner",
|
|
255
|
+
type: "address",
|
|
256
|
+
indexed: true,
|
|
257
|
+
internalType: "address",
|
|
258
|
+
},
|
|
259
|
+
],
|
|
260
|
+
anonymous: false,
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
type: "event",
|
|
264
|
+
name: "Received",
|
|
265
|
+
inputs: [
|
|
266
|
+
{
|
|
267
|
+
name: "sender",
|
|
268
|
+
type: "address",
|
|
269
|
+
indexed: true,
|
|
270
|
+
internalType: "address",
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
name: "value",
|
|
274
|
+
type: "uint256",
|
|
275
|
+
indexed: false,
|
|
276
|
+
internalType: "uint256",
|
|
277
|
+
},
|
|
278
|
+
],
|
|
279
|
+
anonymous: false,
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
type: "event",
|
|
283
|
+
name: "RewardPaid",
|
|
284
|
+
inputs: [
|
|
285
|
+
{
|
|
286
|
+
name: "user",
|
|
287
|
+
type: "address",
|
|
288
|
+
indexed: true,
|
|
289
|
+
internalType: "address",
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
name: "reward",
|
|
293
|
+
type: "uint256",
|
|
294
|
+
indexed: false,
|
|
295
|
+
internalType: "uint256",
|
|
296
|
+
},
|
|
297
|
+
],
|
|
298
|
+
anonymous: false,
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
type: "event",
|
|
302
|
+
name: "RewardRateUpdated",
|
|
303
|
+
inputs: [
|
|
304
|
+
{
|
|
305
|
+
name: "newRate",
|
|
306
|
+
type: "uint256",
|
|
307
|
+
indexed: false,
|
|
308
|
+
internalType: "uint256",
|
|
309
|
+
},
|
|
310
|
+
],
|
|
311
|
+
anonymous: false,
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
type: "event",
|
|
315
|
+
name: "Staked",
|
|
316
|
+
inputs: [
|
|
317
|
+
{
|
|
318
|
+
name: "user",
|
|
319
|
+
type: "address",
|
|
320
|
+
indexed: true,
|
|
321
|
+
internalType: "address",
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
name: "amount",
|
|
325
|
+
type: "uint256",
|
|
326
|
+
indexed: false,
|
|
327
|
+
internalType: "uint256",
|
|
328
|
+
},
|
|
329
|
+
],
|
|
330
|
+
anonymous: false,
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
type: "event",
|
|
334
|
+
name: "Withdrawn",
|
|
335
|
+
inputs: [
|
|
336
|
+
{
|
|
337
|
+
name: "user",
|
|
338
|
+
type: "address",
|
|
339
|
+
indexed: true,
|
|
340
|
+
internalType: "address",
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
name: "amount",
|
|
344
|
+
type: "uint256",
|
|
345
|
+
indexed: false,
|
|
346
|
+
internalType: "uint256",
|
|
347
|
+
},
|
|
348
|
+
],
|
|
349
|
+
anonymous: false,
|
|
350
|
+
},
|
|
351
|
+
];
|
|
352
|
+
//# sourceMappingURL=RewardDistributor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RewardDistributor.js","sourceRoot":"","sources":["../../../../abis/src.ts/RewardDistributor.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAG;IACpC;QACE,IAAI,EAAE,aAAa;QACnB,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,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,QAAQ;QACd,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;aACxB;YACD;gBACE,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,SAAS;aACxB;SACF;QACD,SAAS,EAAE,KAAK;KACjB;IACD;QACE,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,WAAW;QACjB,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;aACxB;YACD;gBACE,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,SAAS;aACxB;SACF;QACD,SAAS,EAAE,KAAK;KACjB;CACF,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const ABI_SMART_ACCOUNT: readonly [{
|
|
2
|
+
readonly name: "isValidSignature";
|
|
3
|
+
readonly type: "function";
|
|
4
|
+
readonly stateMutability: "view";
|
|
5
|
+
readonly inputs: readonly [{
|
|
6
|
+
readonly name: "hash";
|
|
7
|
+
readonly type: "bytes32";
|
|
8
|
+
}, {
|
|
9
|
+
readonly name: "signature";
|
|
10
|
+
readonly type: "bytes";
|
|
11
|
+
}];
|
|
12
|
+
readonly outputs: readonly [{
|
|
13
|
+
readonly name: "";
|
|
14
|
+
readonly type: "bytes4";
|
|
15
|
+
}];
|
|
16
|
+
}];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ABI_SMART_ACCOUNT = void 0;
|
|
4
|
+
exports.ABI_SMART_ACCOUNT = [
|
|
5
|
+
{
|
|
6
|
+
name: "isValidSignature",
|
|
7
|
+
type: "function",
|
|
8
|
+
stateMutability: "view",
|
|
9
|
+
inputs: [
|
|
10
|
+
{ name: "hash", type: "bytes32" },
|
|
11
|
+
{ name: "signature", type: "bytes" },
|
|
12
|
+
],
|
|
13
|
+
outputs: [{ name: "", type: "bytes4" }],
|
|
14
|
+
},
|
|
15
|
+
];
|
|
16
|
+
//# sourceMappingURL=SmartAccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SmartAccount.js","sourceRoot":"","sources":["../../../../abis/src.ts/SmartAccount.ts"],"names":[],"mappings":";;;AAGa,QAAA,iBAAiB,GAAG;IAC/B;QACE,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,UAAU;QAChB,eAAe,EAAE,MAAM;QACvB,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE;YACjC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO,EAAE;SACrC;QACD,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;KACxC;CACO,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const ABI_TEXT_RESOLVER: readonly [{
|
|
2
|
+
readonly name: "text";
|
|
3
|
+
readonly type: "function";
|
|
4
|
+
readonly stateMutability: "view";
|
|
5
|
+
readonly inputs: readonly [{
|
|
6
|
+
readonly name: "name";
|
|
7
|
+
readonly type: "bytes32";
|
|
8
|
+
}, {
|
|
9
|
+
readonly name: "key";
|
|
10
|
+
readonly type: "string";
|
|
11
|
+
}];
|
|
12
|
+
readonly outputs: readonly [{
|
|
13
|
+
readonly name: "";
|
|
14
|
+
readonly type: "string";
|
|
15
|
+
}];
|
|
16
|
+
}];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ABI_TEXT_RESOLVER = void 0;
|
|
4
|
+
exports.ABI_TEXT_RESOLVER = [
|
|
5
|
+
{
|
|
6
|
+
name: "text",
|
|
7
|
+
type: "function",
|
|
8
|
+
stateMutability: "view",
|
|
9
|
+
inputs: [
|
|
10
|
+
{ name: "name", type: "bytes32" },
|
|
11
|
+
{ name: "key", type: "string" },
|
|
12
|
+
],
|
|
13
|
+
outputs: [{ name: "", type: "string" }],
|
|
14
|
+
},
|
|
15
|
+
];
|
|
16
|
+
//# sourceMappingURL=TextResolver.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextResolver.js","sourceRoot":"","sources":["../../../../abis/src.ts/TextResolver.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG;IAC/B;QACE,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,UAAU;QAChB,eAAe,EAAE,MAAM;QACvB,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE;YACjC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE;SAChC;QACD,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;KACxC;CACO,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
export declare const ABI_UNIVERSAL_RESOLVER_RESOLVE: readonly [{
|
|
2
|
+
readonly inputs: readonly [{
|
|
3
|
+
readonly components: readonly [{
|
|
4
|
+
readonly name: "target";
|
|
5
|
+
readonly type: "address";
|
|
6
|
+
}, {
|
|
7
|
+
readonly name: "allowFailure";
|
|
8
|
+
readonly type: "bool";
|
|
9
|
+
}, {
|
|
10
|
+
readonly name: "callData";
|
|
11
|
+
readonly type: "bytes";
|
|
12
|
+
}];
|
|
13
|
+
readonly name: "calls";
|
|
14
|
+
readonly type: "tuple[]";
|
|
15
|
+
}];
|
|
16
|
+
readonly name: "aggregate3";
|
|
17
|
+
readonly outputs: readonly [{
|
|
18
|
+
readonly components: readonly [{
|
|
19
|
+
readonly name: "success";
|
|
20
|
+
readonly type: "bool";
|
|
21
|
+
}, {
|
|
22
|
+
readonly name: "returnData";
|
|
23
|
+
readonly type: "bytes";
|
|
24
|
+
}];
|
|
25
|
+
readonly name: "returnData";
|
|
26
|
+
readonly type: "tuple[]";
|
|
27
|
+
}];
|
|
28
|
+
readonly stateMutability: "view";
|
|
29
|
+
readonly type: "function";
|
|
30
|
+
}, {
|
|
31
|
+
readonly name: "resolve";
|
|
32
|
+
readonly type: "function";
|
|
33
|
+
readonly stateMutability: "view";
|
|
34
|
+
readonly inputs: readonly [{
|
|
35
|
+
readonly name: "name";
|
|
36
|
+
readonly type: "bytes";
|
|
37
|
+
}, {
|
|
38
|
+
readonly name: "data";
|
|
39
|
+
readonly type: "bytes";
|
|
40
|
+
}];
|
|
41
|
+
readonly outputs: readonly [{
|
|
42
|
+
readonly name: "";
|
|
43
|
+
readonly type: "bytes";
|
|
44
|
+
}, {
|
|
45
|
+
readonly name: "address";
|
|
46
|
+
readonly type: "address";
|
|
47
|
+
}];
|
|
48
|
+
}, {
|
|
49
|
+
readonly name: "resolve";
|
|
50
|
+
readonly type: "function";
|
|
51
|
+
readonly stateMutability: "view";
|
|
52
|
+
readonly inputs: readonly [{
|
|
53
|
+
readonly name: "name";
|
|
54
|
+
readonly type: "bytes";
|
|
55
|
+
}, {
|
|
56
|
+
readonly name: "data";
|
|
57
|
+
readonly type: "bytes";
|
|
58
|
+
}, {
|
|
59
|
+
readonly name: "gateways";
|
|
60
|
+
readonly type: "string[]";
|
|
61
|
+
}];
|
|
62
|
+
readonly outputs: readonly [{
|
|
63
|
+
readonly name: "";
|
|
64
|
+
readonly type: "bytes";
|
|
65
|
+
}, {
|
|
66
|
+
readonly name: "address";
|
|
67
|
+
readonly type: "address";
|
|
68
|
+
}];
|
|
69
|
+
}];
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ABI_UNIVERSAL_RESOLVER_RESOLVE = void 0;
|
|
4
|
+
const Multicall3_1 = require("./Multicall3");
|
|
5
|
+
exports.ABI_UNIVERSAL_RESOLVER_RESOLVE = [
|
|
6
|
+
...Multicall3_1.ABI_MULTICALL3,
|
|
7
|
+
{
|
|
8
|
+
name: "resolve",
|
|
9
|
+
type: "function",
|
|
10
|
+
stateMutability: "view",
|
|
11
|
+
inputs: [
|
|
12
|
+
{ name: "name", type: "bytes" },
|
|
13
|
+
{ name: "data", type: "bytes" },
|
|
14
|
+
],
|
|
15
|
+
outputs: [
|
|
16
|
+
{ name: "", type: "bytes" },
|
|
17
|
+
{ name: "address", type: "address" },
|
|
18
|
+
],
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
name: "resolve",
|
|
22
|
+
type: "function",
|
|
23
|
+
stateMutability: "view",
|
|
24
|
+
inputs: [
|
|
25
|
+
{ name: "name", type: "bytes" },
|
|
26
|
+
{ name: "data", type: "bytes" },
|
|
27
|
+
{ name: "gateways", type: "string[]" },
|
|
28
|
+
],
|
|
29
|
+
outputs: [
|
|
30
|
+
{ name: "", type: "bytes" },
|
|
31
|
+
{ name: "address", type: "address" },
|
|
32
|
+
],
|
|
33
|
+
},
|
|
34
|
+
];
|
|
35
|
+
//# sourceMappingURL=UniversalResolverResolve.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UniversalResolverResolve.js","sourceRoot":"","sources":["../../../../abis/src.ts/UniversalResolverResolve.ts"],"names":[],"mappings":";;;AAAA,6CAA8C;AAEjC,QAAA,8BAA8B,GAAG;IAC5C,GAAG,2BAAc;IACjB;QACE,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,UAAU;QAChB,eAAe,EAAE,MAAM;QACvB,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE;YAC/B,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE;SAChC;QACD,OAAO,EAAE;YACP,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;YAC3B,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE;SACrC;KACF;IACD;QACE,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,UAAU;QAChB,eAAe,EAAE,MAAM;QACvB,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE;YAC/B,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE;YAC/B,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE;SACvC;QACD,OAAO,EAAE;YACP,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;YAC3B,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE;SACrC;KACF;CACO,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const ABI_UNIVERSAL_SIGNATURE_VALIDATOR: readonly [{
|
|
2
|
+
readonly inputs: readonly [{
|
|
3
|
+
readonly internalType: "address";
|
|
4
|
+
readonly name: "_signer";
|
|
5
|
+
readonly type: "address";
|
|
6
|
+
}, {
|
|
7
|
+
readonly internalType: "bytes32";
|
|
8
|
+
readonly name: "_hash";
|
|
9
|
+
readonly type: "bytes32";
|
|
10
|
+
}, {
|
|
11
|
+
readonly internalType: "bytes";
|
|
12
|
+
readonly name: "_signature";
|
|
13
|
+
readonly type: "bytes";
|
|
14
|
+
}];
|
|
15
|
+
readonly stateMutability: "nonpayable";
|
|
16
|
+
readonly type: "constructor";
|
|
17
|
+
}];
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ABI_UNIVERSAL_SIGNATURE_VALIDATOR = void 0;
|
|
4
|
+
exports.ABI_UNIVERSAL_SIGNATURE_VALIDATOR = [
|
|
5
|
+
{
|
|
6
|
+
inputs: [
|
|
7
|
+
{
|
|
8
|
+
internalType: "address",
|
|
9
|
+
name: "_signer",
|
|
10
|
+
type: "address",
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
internalType: "bytes32",
|
|
14
|
+
name: "_hash",
|
|
15
|
+
type: "bytes32",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
internalType: "bytes",
|
|
19
|
+
name: "_signature",
|
|
20
|
+
type: "bytes",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
stateMutability: "nonpayable",
|
|
24
|
+
type: "constructor",
|
|
25
|
+
},
|
|
26
|
+
];
|
|
27
|
+
//# sourceMappingURL=UniversalSignatureValidator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UniversalSignatureValidator.js","sourceRoot":"","sources":["../../../../abis/src.ts/UniversalSignatureValidator.ts"],"names":[],"mappings":";;;AAGa,QAAA,iCAAiC,GAAG;IAC/C;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,OAAO;gBACrB,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,OAAO;aACd;SACF;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,aAAa;KACpB;CACO,CAAC"}
|