@venusprotocol/venus-protocol 9.8.0-dev.10 → 9.8.0-dev.11
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/deploy/005-deploy-VTreasuryV8.ts +1 -1
- package/deploy/009-configure-vaults.ts +2 -2
- package/deployments/berachainbepolia/.chainId +1 -0
- package/deployments/{berachainbartio → berachainbepolia}/VTreasuryV8.json +11 -11
- package/deployments/berachainbepolia.json +200 -0
- package/deployments/berachainbepolia_addresses.json +7 -0
- package/dist/deploy/005-deploy-VTreasuryV8.js +1 -1
- package/dist/deploy/009-configure-vaults.js +2 -2
- package/dist/hardhat.config.js +8 -8
- package/dist/helpers/chains.d.ts +4 -4
- package/dist/helpers/chains.js +2 -2
- package/dist/helpers/markets/index.d.ts +1 -1
- package/dist/helpers/markets/index.js +1 -1
- package/dist/helpers/tokens/index.d.ts +5 -5
- package/dist/helpers/tokens/index.js +1 -1
- package/package.json +1 -1
- package/deployments/berachainbartio/.chainId +0 -1
- package/deployments/berachainbartio/XVSStore.json +0 -374
- package/deployments/berachainbartio/XVSVaultProxy.json +0 -352
- package/deployments/berachainbartio/XVSVaultProxy_Implementation.json +0 -2572
- package/deployments/berachainbartio/solcInputs/a2594572bdae270af6749f50c8019b6c.json +0 -366
- package/deployments/berachainbartio.json +0 -2367
- package/deployments/berachainbartio_addresses.json +0 -10
- /package/deployments/{berachainbartio → berachainbepolia}/solcInputs/fd1cb03a4a5faafbc2c9f8079ca92876.json +0 -0
|
@@ -53,7 +53,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
|
|
|
53
53
|
basemainnet: basemainnetGovernanceDeployments.contracts.NormalTimelock.address,
|
|
54
54
|
unichainsepolia: unichainsepoliaGovernanceDeployments.contracts.NormalTimelock.address,
|
|
55
55
|
unichainmainnet: unichainmainnetGovernanceDeployments.contracts.NormalTimelock.address,
|
|
56
|
-
|
|
56
|
+
berachainbepolia: "0xAb3DBA18664B96AD54459D06Ca8BD18C9146d5CE", // berachainbepoliaGovernanceDeployments.contracts.NormalTimelock.address
|
|
57
57
|
bscmainnet: await getTimelock(),
|
|
58
58
|
bsctestnet: await getTimelock(),
|
|
59
59
|
hardhat: deployer,
|
|
@@ -47,7 +47,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
|
|
|
47
47
|
basesepolia: 0, // time based deployment
|
|
48
48
|
basemainnet: 0, // time based deployment
|
|
49
49
|
unichainmainnet: 0, // time based deployment
|
|
50
|
-
|
|
50
|
+
berachainbepolia: 0, // time based deployment
|
|
51
51
|
hardhat: 100,
|
|
52
52
|
};
|
|
53
53
|
|
|
@@ -68,7 +68,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
|
|
|
68
68
|
basemainnet: basemainnetGovernanceDeployments.contracts.NormalTimelock.address,
|
|
69
69
|
unichainsepolia: unichainsepoliaGovernanceDeployments.contracts.NormalTimelock.address,
|
|
70
70
|
unichainmainnet: unichainmainnetGovernanceDeployments.contracts.NormalTimelock.address,
|
|
71
|
-
|
|
71
|
+
berachainbepolia: "0xAb3DBA18664B96AD54459D06Ca8BD18C9146d5CE", // berachainbepoliaGovernanceDeployments.contracts.NormalTimelock.address
|
|
72
72
|
hardhat: deployer,
|
|
73
73
|
};
|
|
74
74
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
80069
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0xd0D3FBBE22d9a43d3Aa605590976ac5843597228",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"inputs": [],
|
|
@@ -191,22 +191,22 @@
|
|
|
191
191
|
"type": "receive"
|
|
192
192
|
}
|
|
193
193
|
],
|
|
194
|
-
"transactionHash": "
|
|
194
|
+
"transactionHash": "0xe14bf035d2a6537085ab1be05fff981bffc1e6c74bc4a39609b0a7f7fe963364",
|
|
195
195
|
"receipt": {
|
|
196
196
|
"to": null,
|
|
197
197
|
"from": "0x18BDb05DD1A95677f4381cfb4db52D342dF5C00d",
|
|
198
|
-
"contractAddress": "
|
|
198
|
+
"contractAddress": "0xd0D3FBBE22d9a43d3Aa605590976ac5843597228",
|
|
199
199
|
"transactionIndex": 0,
|
|
200
200
|
"gasUsed": "686933",
|
|
201
|
-
"logsBloom": "
|
|
202
|
-
"blockHash": "
|
|
203
|
-
"transactionHash": "
|
|
201
|
+
"logsBloom": "0x00000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000840000000000000000000000000000000000001000000000000000000000100000000000000020000000000020000000800000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000020000000000000000000000000000000000000000000000000000000000000000000",
|
|
202
|
+
"blockHash": "0x305f5ce92b63eade8167613dbf1a3afd7869b27de97cc15c865f891ae3d41c4d",
|
|
203
|
+
"transactionHash": "0xe14bf035d2a6537085ab1be05fff981bffc1e6c74bc4a39609b0a7f7fe963364",
|
|
204
204
|
"logs": [
|
|
205
205
|
{
|
|
206
206
|
"transactionIndex": 0,
|
|
207
|
-
"blockNumber":
|
|
208
|
-
"transactionHash": "
|
|
209
|
-
"address": "
|
|
207
|
+
"blockNumber": 2922862,
|
|
208
|
+
"transactionHash": "0xe14bf035d2a6537085ab1be05fff981bffc1e6c74bc4a39609b0a7f7fe963364",
|
|
209
|
+
"address": "0xd0D3FBBE22d9a43d3Aa605590976ac5843597228",
|
|
210
210
|
"topics": [
|
|
211
211
|
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
212
212
|
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
@@ -214,10 +214,10 @@
|
|
|
214
214
|
],
|
|
215
215
|
"data": "0x",
|
|
216
216
|
"logIndex": 0,
|
|
217
|
-
"blockHash": "
|
|
217
|
+
"blockHash": "0x305f5ce92b63eade8167613dbf1a3afd7869b27de97cc15c865f891ae3d41c4d"
|
|
218
218
|
}
|
|
219
219
|
],
|
|
220
|
-
"blockNumber":
|
|
220
|
+
"blockNumber": 2922862,
|
|
221
221
|
"cumulativeGasUsed": "686933",
|
|
222
222
|
"status": 1,
|
|
223
223
|
"byzantium": true
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "berachainbepolia",
|
|
3
|
+
"chainId": "80069",
|
|
4
|
+
"contracts": {
|
|
5
|
+
"VTreasuryV8": {
|
|
6
|
+
"address": "0xd0D3FBBE22d9a43d3Aa605590976ac5843597228",
|
|
7
|
+
"abi": [
|
|
8
|
+
{
|
|
9
|
+
"inputs": [],
|
|
10
|
+
"name": "ZeroAddressNotAllowed",
|
|
11
|
+
"type": "error"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"anonymous": false,
|
|
15
|
+
"inputs": [
|
|
16
|
+
{
|
|
17
|
+
"indexed": true,
|
|
18
|
+
"internalType": "address",
|
|
19
|
+
"name": "previousOwner",
|
|
20
|
+
"type": "address"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"indexed": true,
|
|
24
|
+
"internalType": "address",
|
|
25
|
+
"name": "newOwner",
|
|
26
|
+
"type": "address"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"name": "OwnershipTransferStarted",
|
|
30
|
+
"type": "event"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"anonymous": false,
|
|
34
|
+
"inputs": [
|
|
35
|
+
{
|
|
36
|
+
"indexed": true,
|
|
37
|
+
"internalType": "address",
|
|
38
|
+
"name": "previousOwner",
|
|
39
|
+
"type": "address"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"indexed": true,
|
|
43
|
+
"internalType": "address",
|
|
44
|
+
"name": "newOwner",
|
|
45
|
+
"type": "address"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"name": "OwnershipTransferred",
|
|
49
|
+
"type": "event"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"anonymous": false,
|
|
53
|
+
"inputs": [
|
|
54
|
+
{
|
|
55
|
+
"indexed": false,
|
|
56
|
+
"internalType": "uint256",
|
|
57
|
+
"name": "withdrawAmount",
|
|
58
|
+
"type": "uint256"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"indexed": true,
|
|
62
|
+
"internalType": "address",
|
|
63
|
+
"name": "withdrawAddress",
|
|
64
|
+
"type": "address"
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"name": "WithdrawTreasuryNative",
|
|
68
|
+
"type": "event"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"anonymous": false,
|
|
72
|
+
"inputs": [
|
|
73
|
+
{
|
|
74
|
+
"indexed": true,
|
|
75
|
+
"internalType": "address",
|
|
76
|
+
"name": "tokenAddress",
|
|
77
|
+
"type": "address"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"indexed": false,
|
|
81
|
+
"internalType": "uint256",
|
|
82
|
+
"name": "withdrawAmount",
|
|
83
|
+
"type": "uint256"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"indexed": true,
|
|
87
|
+
"internalType": "address",
|
|
88
|
+
"name": "withdrawAddress",
|
|
89
|
+
"type": "address"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"name": "WithdrawTreasuryToken",
|
|
93
|
+
"type": "event"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"stateMutability": "payable",
|
|
97
|
+
"type": "fallback"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"inputs": [],
|
|
101
|
+
"name": "acceptOwnership",
|
|
102
|
+
"outputs": [],
|
|
103
|
+
"stateMutability": "nonpayable",
|
|
104
|
+
"type": "function"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"inputs": [],
|
|
108
|
+
"name": "owner",
|
|
109
|
+
"outputs": [
|
|
110
|
+
{
|
|
111
|
+
"internalType": "address",
|
|
112
|
+
"name": "",
|
|
113
|
+
"type": "address"
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
"stateMutability": "view",
|
|
117
|
+
"type": "function"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"inputs": [],
|
|
121
|
+
"name": "pendingOwner",
|
|
122
|
+
"outputs": [
|
|
123
|
+
{
|
|
124
|
+
"internalType": "address",
|
|
125
|
+
"name": "",
|
|
126
|
+
"type": "address"
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
"stateMutability": "view",
|
|
130
|
+
"type": "function"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"inputs": [],
|
|
134
|
+
"name": "renounceOwnership",
|
|
135
|
+
"outputs": [],
|
|
136
|
+
"stateMutability": "nonpayable",
|
|
137
|
+
"type": "function"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"inputs": [
|
|
141
|
+
{
|
|
142
|
+
"internalType": "address",
|
|
143
|
+
"name": "newOwner",
|
|
144
|
+
"type": "address"
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"name": "transferOwnership",
|
|
148
|
+
"outputs": [],
|
|
149
|
+
"stateMutability": "nonpayable",
|
|
150
|
+
"type": "function"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"inputs": [
|
|
154
|
+
{
|
|
155
|
+
"internalType": "uint256",
|
|
156
|
+
"name": "withdrawAmount",
|
|
157
|
+
"type": "uint256"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"internalType": "address payable",
|
|
161
|
+
"name": "withdrawAddress",
|
|
162
|
+
"type": "address"
|
|
163
|
+
}
|
|
164
|
+
],
|
|
165
|
+
"name": "withdrawTreasuryNative",
|
|
166
|
+
"outputs": [],
|
|
167
|
+
"stateMutability": "payable",
|
|
168
|
+
"type": "function"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"inputs": [
|
|
172
|
+
{
|
|
173
|
+
"internalType": "address",
|
|
174
|
+
"name": "tokenAddress",
|
|
175
|
+
"type": "address"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"internalType": "uint256",
|
|
179
|
+
"name": "withdrawAmount",
|
|
180
|
+
"type": "uint256"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"internalType": "address",
|
|
184
|
+
"name": "withdrawAddress",
|
|
185
|
+
"type": "address"
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
"name": "withdrawTreasuryToken",
|
|
189
|
+
"outputs": [],
|
|
190
|
+
"stateMutability": "nonpayable",
|
|
191
|
+
"type": "function"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"stateMutability": "payable",
|
|
195
|
+
"type": "receive"
|
|
196
|
+
}
|
|
197
|
+
]
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
@@ -48,7 +48,7 @@ const func = async function (hre) {
|
|
|
48
48
|
basemainnet: basemainnet_json_1.default.contracts.NormalTimelock.address,
|
|
49
49
|
unichainsepolia: unichainsepolia_json_1.default.contracts.NormalTimelock.address,
|
|
50
50
|
unichainmainnet: unichainmainnet_json_1.default.contracts.NormalTimelock.address,
|
|
51
|
-
|
|
51
|
+
berachainbepolia: "0xAb3DBA18664B96AD54459D06Ca8BD18C9146d5CE",
|
|
52
52
|
bscmainnet: await getTimelock(),
|
|
53
53
|
bsctestnet: await getTimelock(),
|
|
54
54
|
hardhat: deployer,
|
|
@@ -38,7 +38,7 @@ const func = async function (hre) {
|
|
|
38
38
|
basesepolia: 0,
|
|
39
39
|
basemainnet: 0,
|
|
40
40
|
unichainmainnet: 0,
|
|
41
|
-
|
|
41
|
+
berachainbepolia: 0,
|
|
42
42
|
hardhat: 100,
|
|
43
43
|
};
|
|
44
44
|
const adminAccount = {
|
|
@@ -58,7 +58,7 @@ const func = async function (hre) {
|
|
|
58
58
|
basemainnet: basemainnet_json_1.default.contracts.NormalTimelock.address,
|
|
59
59
|
unichainsepolia: unichainsepolia_json_1.default.contracts.NormalTimelock.address,
|
|
60
60
|
unichainmainnet: unichainmainnet_json_1.default.contracts.NormalTimelock.address,
|
|
61
|
-
|
|
61
|
+
berachainbepolia: "0xAb3DBA18664B96AD54459D06Ca8BD18C9146d5CE",
|
|
62
62
|
hardhat: deployer,
|
|
63
63
|
};
|
|
64
64
|
const accessControlManager = await hardhat_1.ethers.getContract("AccessControlManager");
|
package/dist/hardhat.config.js
CHANGED
|
@@ -251,9 +251,9 @@ const config = {
|
|
|
251
251
|
live: true,
|
|
252
252
|
accounts: DEPLOYER_PRIVATE_KEY ? [`0x${DEPLOYER_PRIVATE_KEY}`] : [],
|
|
253
253
|
},
|
|
254
|
-
|
|
255
|
-
url: process.env.
|
|
256
|
-
chainId:
|
|
254
|
+
berachainbepolia: {
|
|
255
|
+
url: process.env.ARCHIVE_NODE_berachainbepolia || "https://bepolia.rpc.berachain.com",
|
|
256
|
+
chainId: 80069,
|
|
257
257
|
live: true,
|
|
258
258
|
accounts: DEPLOYER_PRIVATE_KEY ? [`0x${DEPLOYER_PRIVATE_KEY}`] : [],
|
|
259
259
|
},
|
|
@@ -274,7 +274,7 @@ const config = {
|
|
|
274
274
|
basemainnet: process.env.ETHERSCAN_API_KEY || "ETHERSCAN_API_KEY",
|
|
275
275
|
unichainsepolia: process.env.ETHERSCAN_API_KEY || "ETHERSCAN_API_KEY",
|
|
276
276
|
unichainmainnet: process.env.ETHERSCAN_API_KEY || "ETHERSCAN_API_KEY",
|
|
277
|
-
|
|
277
|
+
berachainbepolia: process.env.ETHERSCAN_API_KEY || "ETHERSCAN_API_KEY",
|
|
278
278
|
},
|
|
279
279
|
customChains: [
|
|
280
280
|
{
|
|
@@ -390,11 +390,11 @@ const config = {
|
|
|
390
390
|
},
|
|
391
391
|
},
|
|
392
392
|
{
|
|
393
|
-
network: "
|
|
394
|
-
chainId:
|
|
393
|
+
network: "berachainbepolia",
|
|
394
|
+
chainId: 80069,
|
|
395
395
|
urls: {
|
|
396
|
-
apiURL: "https://api.routescan.io/v2/network/testnet/evm/
|
|
397
|
-
browserURL: "https://
|
|
396
|
+
apiURL: "https://api.routescan.io/v2/network/testnet/evm/80069/etherscan",
|
|
397
|
+
browserURL: "https://bepolia.beratrail.io",
|
|
398
398
|
},
|
|
399
399
|
},
|
|
400
400
|
],
|
package/dist/helpers/chains.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const knownChains: readonly ["hardhat", "bsctestnet", "bscmainnet", "sepolia", "ethereum", "opbnbtestnet", "opbnbmainnet", "arbitrumsepolia", "arbitrumone", "opsepolia", "opmainnet", "basesepolia", "basemainnet", "unichainsepolia", "unichainmainnet", "
|
|
1
|
+
declare const knownChains: readonly ["hardhat", "bsctestnet", "bscmainnet", "sepolia", "ethereum", "opbnbtestnet", "opbnbmainnet", "arbitrumsepolia", "arbitrumone", "opsepolia", "opmainnet", "basesepolia", "basemainnet", "unichainsepolia", "unichainmainnet", "berachainbepolia", "zksyncsepolia", "zksyncmainnet"];
|
|
2
2
|
export type Chain = {
|
|
3
3
|
[k in keyof typeof knownChains]: (typeof knownChains)[k];
|
|
4
4
|
}[number];
|
|
@@ -19,7 +19,7 @@ export declare const blocksPerYear: {
|
|
|
19
19
|
readonly basemainnet: "time-based";
|
|
20
20
|
readonly unichainsepolia: "time-based";
|
|
21
21
|
readonly unichainmainnet: "time-based";
|
|
22
|
-
readonly
|
|
22
|
+
readonly berachainbepolia: "time-based";
|
|
23
23
|
readonly zksyncsepolia: "time-based";
|
|
24
24
|
readonly zksyncmainnet: "time-based";
|
|
25
25
|
};
|
|
@@ -29,9 +29,9 @@ export type TimeBasedChain = keyof {
|
|
|
29
29
|
export type BlockBasedChain = keyof {
|
|
30
30
|
[k in Chain as (typeof blocksPerYear)[k] extends number ? k : never]: void;
|
|
31
31
|
};
|
|
32
|
-
export declare const isKnownChain: (networkName: string) => networkName is "hardhat" | "bsctestnet" | "bscmainnet" | "sepolia" | "ethereum" | "opbnbtestnet" | "opbnbmainnet" | "arbitrumsepolia" | "arbitrumone" | "opsepolia" | "opmainnet" | "basesepolia" | "basemainnet" | "unichainsepolia" | "unichainmainnet" | "
|
|
32
|
+
export declare const isKnownChain: (networkName: string) => networkName is "hardhat" | "bsctestnet" | "bscmainnet" | "sepolia" | "ethereum" | "opbnbtestnet" | "opbnbmainnet" | "arbitrumsepolia" | "arbitrumone" | "opsepolia" | "opmainnet" | "basesepolia" | "basemainnet" | "unichainsepolia" | "unichainmainnet" | "berachainbepolia" | "zksyncsepolia" | "zksyncmainnet";
|
|
33
33
|
export declare const assertKnownChain: (networkName: string) => Chain;
|
|
34
|
-
export declare const isTimeBasedChain: (networkName: string) => networkName is "arbitrumsepolia" | "arbitrumone" | "opsepolia" | "opmainnet" | "basesepolia" | "basemainnet" | "unichainsepolia" | "unichainmainnet" | "
|
|
34
|
+
export declare const isTimeBasedChain: (networkName: string) => networkName is "arbitrumsepolia" | "arbitrumone" | "opsepolia" | "opmainnet" | "basesepolia" | "basemainnet" | "unichainsepolia" | "unichainmainnet" | "berachainbepolia" | "zksyncsepolia" | "zksyncmainnet";
|
|
35
35
|
export declare const assertTimeBasedChain: (networkName: string) => TimeBasedChain;
|
|
36
36
|
export declare const isBlockBasedChain: (networkName: string) => networkName is "hardhat" | "bsctestnet" | "bscmainnet" | "sepolia" | "ethereum" | "opbnbtestnet" | "opbnbmainnet";
|
|
37
37
|
export declare const assertBlockBasedChain: (networkName: string) => BlockBasedChain;
|
package/dist/helpers/chains.js
CHANGED
|
@@ -17,7 +17,7 @@ const knownChains = [
|
|
|
17
17
|
"basemainnet",
|
|
18
18
|
"unichainsepolia",
|
|
19
19
|
"unichainmainnet",
|
|
20
|
-
"
|
|
20
|
+
"berachainbepolia",
|
|
21
21
|
"zksyncsepolia",
|
|
22
22
|
"zksyncmainnet",
|
|
23
23
|
];
|
|
@@ -37,7 +37,7 @@ exports.blocksPerYear = {
|
|
|
37
37
|
basemainnet: "time-based",
|
|
38
38
|
unichainsepolia: "time-based",
|
|
39
39
|
unichainmainnet: "time-based",
|
|
40
|
-
|
|
40
|
+
berachainbepolia: "time-based",
|
|
41
41
|
zksyncsepolia: "time-based",
|
|
42
42
|
zksyncmainnet: "time-based",
|
|
43
43
|
};
|
|
@@ -116,7 +116,7 @@ export declare const markets: {
|
|
|
116
116
|
readonly basemainnet: readonly [];
|
|
117
117
|
readonly unichainsepolia: readonly [];
|
|
118
118
|
readonly unichainmainnet: readonly [];
|
|
119
|
-
readonly
|
|
119
|
+
readonly berachainbepolia: readonly [];
|
|
120
120
|
readonly zksyncsepolia: readonly [];
|
|
121
121
|
readonly zksyncmainnet: readonly [];
|
|
122
122
|
};
|
|
@@ -494,13 +494,13 @@ export declare const tokens: {
|
|
|
494
494
|
readonly basemainnet: {};
|
|
495
495
|
readonly unichainsepolia: {};
|
|
496
496
|
readonly unichainmainnet: {};
|
|
497
|
-
readonly
|
|
497
|
+
readonly berachainbepolia: {};
|
|
498
498
|
readonly zksyncsepolia: {};
|
|
499
499
|
readonly zksyncmainnet: {};
|
|
500
500
|
};
|
|
501
501
|
export type Tokens = typeof tokens;
|
|
502
502
|
export type ChainToken<c extends keyof Tokens> = `${c}:${keyof Tokens[c] & string}`;
|
|
503
|
-
export declare const getToken: <c extends "hardhat" | "bsctestnet" | "bscmainnet" | "sepolia" | "ethereum" | "opbnbtestnet" | "opbnbmainnet" | "arbitrumsepolia" | "arbitrumone" | "opsepolia" | "opmainnet" | "basesepolia" | "basemainnet" | "unichainsepolia" | "unichainmainnet" | "
|
|
503
|
+
export declare const getToken: <c extends "hardhat" | "bsctestnet" | "bscmainnet" | "sepolia" | "ethereum" | "opbnbtestnet" | "opbnbmainnet" | "arbitrumsepolia" | "arbitrumone" | "opsepolia" | "opmainnet" | "basesepolia" | "basemainnet" | "unichainsepolia" | "unichainmainnet" | "berachainbepolia" | "zksyncsepolia" | "zksyncmainnet", t extends keyof {
|
|
504
504
|
readonly hardhat: {
|
|
505
505
|
FDUSD: {
|
|
506
506
|
readonly isMock: true;
|
|
@@ -994,11 +994,11 @@ export declare const getToken: <c extends "hardhat" | "bsctestnet" | "bscmainnet
|
|
|
994
994
|
readonly basemainnet: {};
|
|
995
995
|
readonly unichainsepolia: {};
|
|
996
996
|
readonly unichainmainnet: {};
|
|
997
|
-
readonly
|
|
997
|
+
readonly berachainbepolia: {};
|
|
998
998
|
readonly zksyncsepolia: {};
|
|
999
999
|
readonly zksyncmainnet: {};
|
|
1000
1000
|
}[c]>(chain: c, token: t) => TokenConfig;
|
|
1001
|
-
export declare const parseTokens: <c extends "hardhat" | "bsctestnet" | "bscmainnet" | "sepolia" | "ethereum" | "opbnbtestnet" | "opbnbmainnet" | "arbitrumsepolia" | "arbitrumone" | "opsepolia" | "opmainnet" | "basesepolia" | "basemainnet" | "unichainsepolia" | "unichainmainnet" | "
|
|
1001
|
+
export declare const parseTokens: <c extends "hardhat" | "bsctestnet" | "bscmainnet" | "sepolia" | "ethereum" | "opbnbtestnet" | "opbnbmainnet" | "arbitrumsepolia" | "arbitrumone" | "opsepolia" | "opmainnet" | "basesepolia" | "basemainnet" | "unichainsepolia" | "unichainmainnet" | "berachainbepolia" | "zksyncsepolia" | "zksyncmainnet", t extends keyof {
|
|
1002
1002
|
readonly hardhat: {
|
|
1003
1003
|
FDUSD: {
|
|
1004
1004
|
readonly isMock: true;
|
|
@@ -1492,7 +1492,7 @@ export declare const parseTokens: <c extends "hardhat" | "bsctestnet" | "bscmain
|
|
|
1492
1492
|
readonly basemainnet: {};
|
|
1493
1493
|
readonly unichainsepolia: {};
|
|
1494
1494
|
readonly unichainmainnet: {};
|
|
1495
|
-
readonly
|
|
1495
|
+
readonly berachainbepolia: {};
|
|
1496
1496
|
readonly zksyncsepolia: {};
|
|
1497
1497
|
readonly zksyncmainnet: {};
|
|
1498
1498
|
}[c]>(amount: `${number}`, chain: c, token: t) => BigNumber;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
80084
|