opnet 1.2.26 → 1.3.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/browser/_version.d.ts +1 -1
- package/browser/abi/shared/interfaces/motoswap/IMotoChefContract.d.ts +101 -34
- package/browser/abi/shared/interfaces/motoswap/IMotoswapFactoryContract.d.ts +6 -0
- package/browser/abi/shared/interfaces/motoswap/IMotoswapPoolContract.d.ts +13 -1
- package/browser/abi/shared/interfaces/motoswap/IMotoswapStakingContract.d.ts +4 -1
- package/browser/abi/shared/interfaces/motoswap/INativeSwapContract.d.ts +3 -4
- package/browser/abi/shared/interfaces/opnet/IOP_20Contract.d.ts +1 -1
- package/browser/index.js +1 -1
- package/browser/providers/AbstractRpcProvider.d.ts +1 -1
- package/build/_version.d.ts +1 -1
- package/build/_version.js +1 -1
- package/build/abi/shared/interfaces/motoswap/IMotoChefContract.d.ts +101 -34
- package/build/abi/shared/interfaces/motoswap/IMotoswapFactoryContract.d.ts +6 -0
- package/build/abi/shared/interfaces/motoswap/IMotoswapPoolContract.d.ts +13 -1
- package/build/abi/shared/interfaces/motoswap/IMotoswapStakingContract.d.ts +4 -1
- package/build/abi/shared/interfaces/motoswap/INativeSwapContract.d.ts +3 -4
- package/build/abi/shared/interfaces/opnet/IOP_20Contract.d.ts +1 -1
- package/build/abi/shared/json/motoswap/MOTOSWAP_FACTORY_ABI.js +27 -0
- package/build/abi/shared/json/motoswap/MOTOSWAP_MOTOCHEF_ABI.js +115 -50
- package/build/abi/shared/json/motoswap/MOTOSWAP_POOL_ABI.js +12 -1
- package/build/abi/shared/json/motoswap/MOTOSWAP_ROUTER_ABI.js +2 -2
- package/build/abi/shared/json/motoswap/MOTOSWAP_STAKING_ABI.js +14 -6
- package/build/abi/shared/json/motoswap/NATIVE_SWAP_ABI.js +107 -363
- package/build/abi/shared/json/opnet/OP_20_ABI.js +1 -1
- package/build/contracts/Contract.js +2 -12
- package/build/contracts/TypeToStr.js +0 -1
- package/build/providers/AbstractRpcProvider.d.ts +1 -1
- package/build/providers/AbstractRpcProvider.js +8 -4
- package/package.json +13 -13
- package/src/_version.ts +1 -1
- package/src/abi/shared/interfaces/motoswap/IMotoChefContract.ts +147 -62
- package/src/abi/shared/interfaces/motoswap/IMotoswapFactoryContract.ts +6 -0
- package/src/abi/shared/interfaces/motoswap/IMotoswapPoolContract.ts +9 -1
- package/src/abi/shared/interfaces/motoswap/IMotoswapStakingContract.ts +12 -7
- package/src/abi/shared/interfaces/motoswap/INativeSwapContract.ts +31 -11
- package/src/abi/shared/interfaces/opnet/IOP_20Contract.ts +1 -1
- package/src/abi/shared/json/motoswap/MOTOSWAP_FACTORY_ABI.ts +27 -0
- package/src/abi/shared/json/motoswap/MOTOSWAP_MOTOCHEF_ABI.ts +116 -51
- package/src/abi/shared/json/motoswap/MOTOSWAP_POOL_ABI.ts +12 -1
- package/src/abi/shared/json/motoswap/MOTOSWAP_ROUTER_ABI.ts +2 -2
- package/src/abi/shared/json/motoswap/MOTOSWAP_STAKING_ABI.ts +15 -6
- package/src/abi/shared/json/motoswap/NATIVE_SWAP_ABI.ts +128 -375
- package/src/abi/shared/json/opnet/OP_20_ABI.ts +1 -1
- package/src/contracts/Contract.ts +2 -13
- package/src/contracts/TypeToStr.ts +0 -1
- package/src/providers/AbstractRpcProvider.ts +21 -32
package/browser/_version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "1.
|
|
1
|
+
export declare const version = "1.3.0";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Address } from '@btc-vision/transaction';
|
|
2
|
-
import { CallResult } from '../../../../opnet.js';
|
|
2
|
+
import { CallResult, OPNetEvent } from '../../../../opnet.js';
|
|
3
3
|
import { IOwnableReentrancyGuardContract } from './IOwnableReentrancyGuardContract.js';
|
|
4
4
|
export type PoolInfo = {
|
|
5
5
|
allocPoint: number;
|
|
@@ -12,14 +12,23 @@ export type UserInfo = {
|
|
|
12
12
|
};
|
|
13
13
|
export type Initialize = CallResult<{
|
|
14
14
|
success: boolean;
|
|
15
|
-
}
|
|
15
|
+
}, [
|
|
16
|
+
OPNetEvent<LogPoolAdditionEvent>,
|
|
17
|
+
OPNetEvent<LogInitEvent>
|
|
18
|
+
]>;
|
|
16
19
|
export type GetLpToken = CallResult<{
|
|
17
20
|
lpTokenAddress: Address;
|
|
18
21
|
}>;
|
|
22
|
+
export type GetLpTokens = CallResult<{
|
|
23
|
+
lpTokens: Address[];
|
|
24
|
+
}>;
|
|
19
25
|
export type GetRewarder = CallResult<{
|
|
20
26
|
rewarderAddress: Address;
|
|
21
27
|
}>;
|
|
22
28
|
export type GetPoolInfo = CallResult<PoolInfo>;
|
|
29
|
+
export type GetPoolsLength = CallResult<{
|
|
30
|
+
poolLength: bigint;
|
|
31
|
+
}>;
|
|
23
32
|
export type GetUserInfo = CallResult<UserInfo>;
|
|
24
33
|
export type Pools = CallResult<{
|
|
25
34
|
poolLength: number;
|
|
@@ -40,12 +49,28 @@ export type BonusEndBlock = CallResult<{
|
|
|
40
49
|
export type BonusMultiplier = CallResult<{
|
|
41
50
|
bonusMultiplier: bigint;
|
|
42
51
|
}>;
|
|
52
|
+
export type TotalBtcStaked = CallResult<{
|
|
53
|
+
totalBtcStaked: bigint;
|
|
54
|
+
}>;
|
|
55
|
+
export type TreasuryAddress = CallResult<{
|
|
56
|
+
TreasuryAddress: string;
|
|
57
|
+
}>;
|
|
58
|
+
export type GetStakingTxId = CallResult<{
|
|
59
|
+
stakingTxId: bigint;
|
|
60
|
+
}>;
|
|
61
|
+
export type GetStakingIndex = CallResult<{
|
|
62
|
+
stakingIndex: bigint;
|
|
63
|
+
}>;
|
|
43
64
|
export type Add = CallResult<{
|
|
44
65
|
success: boolean;
|
|
45
|
-
}
|
|
66
|
+
}, [
|
|
67
|
+
OPNetEvent<LogPoolAdditionEvent>
|
|
68
|
+
]>;
|
|
46
69
|
export type Set = CallResult<{
|
|
47
70
|
success: boolean;
|
|
48
|
-
}
|
|
71
|
+
}, [
|
|
72
|
+
OPNetEvent<LogSetPoolEvent>
|
|
73
|
+
]>;
|
|
49
74
|
export type SetMigrator = CallResult<{
|
|
50
75
|
success: boolean;
|
|
51
76
|
}>;
|
|
@@ -61,19 +86,28 @@ export type PendingMoto = CallResult<{
|
|
|
61
86
|
export type MassUpdatePools = CallResult<{
|
|
62
87
|
success: boolean;
|
|
63
88
|
}>;
|
|
64
|
-
export type UpdatePool = CallResult<PoolInfo>;
|
|
89
|
+
export type UpdatePool = CallResult<PoolInfo, [OPNetEvent<LogUpdatePoolEvent>]>;
|
|
65
90
|
export type Deposit = CallResult<{
|
|
66
91
|
success: boolean;
|
|
67
|
-
}
|
|
92
|
+
}, [
|
|
93
|
+
OPNetEvent<DepositEvent>
|
|
94
|
+
]>;
|
|
68
95
|
export type Withdraw = CallResult<{
|
|
69
96
|
success: boolean;
|
|
70
|
-
}
|
|
97
|
+
}, [
|
|
98
|
+
OPNetEvent<WithdrawEvent>
|
|
99
|
+
]>;
|
|
71
100
|
export type Harvest = CallResult<{
|
|
72
101
|
success: boolean;
|
|
73
|
-
}
|
|
102
|
+
}, [
|
|
103
|
+
OPNetEvent<HarvestEvent>
|
|
104
|
+
]>;
|
|
74
105
|
export type WithdrawAndHarvest = CallResult<{
|
|
75
106
|
success: boolean;
|
|
76
|
-
}
|
|
107
|
+
}, [
|
|
108
|
+
OPNetEvent<WithdrawEvent>,
|
|
109
|
+
OPNetEvent<HarvestEvent>
|
|
110
|
+
]>;
|
|
77
111
|
export type SetDev = CallResult<{
|
|
78
112
|
success: boolean;
|
|
79
113
|
}>;
|
|
@@ -88,75 +122,108 @@ export type SetBonusMultiplier = CallResult<{
|
|
|
88
122
|
}>;
|
|
89
123
|
export type EmergencyWithdraw = CallResult<{
|
|
90
124
|
success: boolean;
|
|
91
|
-
}
|
|
125
|
+
}, [
|
|
126
|
+
OPNetEvent<EmergencyWithdrawEvent>
|
|
127
|
+
]>;
|
|
128
|
+
export type StakeBtc = CallResult<{
|
|
129
|
+
success: boolean;
|
|
130
|
+
}, [
|
|
131
|
+
OPNetEvent<StakeBTCEvent>
|
|
132
|
+
]>;
|
|
133
|
+
export type UnstakeBtc = CallResult<{
|
|
134
|
+
success: boolean;
|
|
135
|
+
}, [
|
|
136
|
+
OPNetEvent<UnstakeBTCEvent>
|
|
137
|
+
]>;
|
|
138
|
+
export type LogInitEvent = {
|
|
139
|
+
success: boolean;
|
|
140
|
+
};
|
|
92
141
|
export type LogPoolAdditionEvent = {
|
|
93
|
-
readonly pid:
|
|
142
|
+
readonly pid: bigint;
|
|
94
143
|
readonly allocPoint: bigint;
|
|
95
144
|
readonly lpToken: Address;
|
|
96
145
|
readonly rewarder: Address;
|
|
97
146
|
};
|
|
98
147
|
export type LogSetPoolEvent = {
|
|
99
|
-
readonly pid:
|
|
148
|
+
readonly pid: bigint;
|
|
100
149
|
readonly allocPoint: bigint;
|
|
101
150
|
readonly rewarder: Address;
|
|
102
151
|
readonly overwrite: boolean;
|
|
103
152
|
};
|
|
104
153
|
export type LogUpdatePoolEvent = {
|
|
105
|
-
readonly pid:
|
|
154
|
+
readonly pid: bigint;
|
|
106
155
|
readonly lastRewardBlock: bigint;
|
|
107
156
|
readonly lpSupply: bigint;
|
|
108
157
|
readonly accMotoPerShare: bigint;
|
|
109
158
|
};
|
|
110
159
|
export type DepositEvent = {
|
|
111
160
|
readonly user: Address;
|
|
112
|
-
readonly pid:
|
|
161
|
+
readonly pid: bigint;
|
|
113
162
|
readonly amount: bigint;
|
|
114
163
|
readonly to: Address;
|
|
115
164
|
};
|
|
116
165
|
export type WithdrawEvent = {
|
|
117
166
|
readonly user: Address;
|
|
118
|
-
readonly pid:
|
|
167
|
+
readonly pid: bigint;
|
|
119
168
|
readonly amount: bigint;
|
|
120
169
|
readonly to: Address;
|
|
121
170
|
};
|
|
122
171
|
export type HarvestEvent = {
|
|
123
172
|
readonly user: Address;
|
|
124
|
-
readonly pid:
|
|
173
|
+
readonly pid: bigint;
|
|
125
174
|
readonly amount: bigint;
|
|
126
175
|
};
|
|
127
176
|
export type EmergencyWithdrawEvent = {
|
|
128
177
|
readonly user: Address;
|
|
129
|
-
readonly pid:
|
|
178
|
+
readonly pid: bigint;
|
|
130
179
|
readonly amount: bigint;
|
|
131
180
|
readonly to: Address;
|
|
132
181
|
};
|
|
182
|
+
export type StakeBTCEvent = {
|
|
183
|
+
readonly user: Address;
|
|
184
|
+
readonly amount: bigint;
|
|
185
|
+
readonly stakingTxId: bigint;
|
|
186
|
+
readonly stakingIndex: bigint;
|
|
187
|
+
};
|
|
188
|
+
export type UnstakeBTCEvent = {
|
|
189
|
+
readonly user: Address;
|
|
190
|
+
readonly amount: bigint;
|
|
191
|
+
readonly stakingTxId: bigint;
|
|
192
|
+
readonly stakingIndex: bigint;
|
|
193
|
+
};
|
|
133
194
|
export interface IMotoChefContract extends IOwnableReentrancyGuardContract {
|
|
134
|
-
initialize(MOTO: Address, premineAmount: bigint, devaddr: Address, motoPerBlock: bigint, bonusEndBlock: bigint, bonusMultiplier: bigint): Promise<Initialize>;
|
|
135
|
-
getLpToken(pid:
|
|
136
|
-
|
|
137
|
-
getPoolInfo(pid:
|
|
138
|
-
|
|
139
|
-
|
|
195
|
+
initialize(MOTO: Address, premineAmount: bigint, devaddr: Address, motoPerBlock: bigint, bonusEndBlock: bigint, bonusMultiplier: bigint, treasuryAddress: string, btcAllocPoint: bigint): Promise<Initialize>;
|
|
196
|
+
getLpToken(pid: bigint): Promise<GetLpToken>;
|
|
197
|
+
getLpTokens(): Promise<GetLpTokens>;
|
|
198
|
+
getPoolInfo(pid: bigint): Promise<GetPoolInfo>;
|
|
199
|
+
getPoolsLength(): Promise<GetPoolsLength>;
|
|
200
|
+
getUserInfo(pid: bigint, user: Address): Promise<GetUserInfo>;
|
|
140
201
|
totalAllocPoint(): Promise<TotalAllocPoint>;
|
|
141
202
|
devaddr(): Promise<Devaddr>;
|
|
142
203
|
getMotoPerBlock(): Promise<MotoPerBlock>;
|
|
143
204
|
getBonusEndBlock(): Promise<BonusEndBlock>;
|
|
144
205
|
getBonusMultiplier(): Promise<BonusMultiplier>;
|
|
206
|
+
totalBtcStaked(): Promise<TotalBtcStaked>;
|
|
207
|
+
treasuryAddress(): Promise<TreasuryAddress>;
|
|
208
|
+
getStakingTxId(): Promise<GetStakingTxId>;
|
|
209
|
+
getStakingIndex(): Promise<GetStakingIndex>;
|
|
145
210
|
setMotoPerBlock(motoPerBlock: bigint): Promise<SetMotoPerBlock>;
|
|
146
211
|
setBonusEndBlock(bonusEndBlock: bigint): Promise<SetBonusEndBlock>;
|
|
147
212
|
setBonusMultiplier(bonusMultiplier: bigint): Promise<SetBonusMultiplier>;
|
|
148
|
-
add(allocPoint: bigint, lpToken: Address
|
|
149
|
-
set(pid:
|
|
213
|
+
add(allocPoint: bigint, lpToken: Address): Promise<Add>;
|
|
214
|
+
set(pid: bigint, allocPoint: bigint): Promise<Set>;
|
|
150
215
|
setMigrator(migrator: Address): Promise<SetMigrator>;
|
|
151
|
-
migrate(pid:
|
|
216
|
+
migrate(pid: bigint): Promise<Migrate>;
|
|
152
217
|
getMultiplier(from: bigint, to: bigint): Promise<GetMultiplier>;
|
|
153
|
-
pendingMoto(pid:
|
|
154
|
-
massUpdatePools(length: number, pids:
|
|
155
|
-
updatePool(pid:
|
|
156
|
-
deposit(pid:
|
|
157
|
-
withdraw(pid:
|
|
158
|
-
harvest(pid:
|
|
159
|
-
withdrawAndHarvest(pid:
|
|
160
|
-
emergencyWithdraw(pid:
|
|
218
|
+
pendingMoto(pid: bigint, user: Address): Promise<PendingMoto>;
|
|
219
|
+
massUpdatePools(length: number, pids: bigint[]): Promise<MassUpdatePools>;
|
|
220
|
+
updatePool(pid: bigint): Promise<UpdatePool>;
|
|
221
|
+
deposit(pid: bigint, amount: bigint, to: Address): Promise<Deposit>;
|
|
222
|
+
withdraw(pid: bigint, amount: bigint, to: Address): Promise<Withdraw>;
|
|
223
|
+
harvest(pid: bigint, to: Address): Promise<Harvest>;
|
|
224
|
+
withdrawAndHarvest(pid: bigint, amount: bigint, to: Address): Promise<WithdrawAndHarvest>;
|
|
225
|
+
emergencyWithdraw(pid: bigint, to: Address): Promise<EmergencyWithdraw>;
|
|
161
226
|
setDev(devaddr: Address): Promise<SetDev>;
|
|
227
|
+
stakeBtc(stakeAmount: bigint): Promise<StakeBtc>;
|
|
228
|
+
unstakeBtc(): Promise<UnstakeBtc>;
|
|
162
229
|
}
|
|
@@ -15,4 +15,10 @@ export interface IMotoswapFactoryContract extends IOP_NETContract {
|
|
|
15
15
|
pool: bigint;
|
|
16
16
|
address: Address;
|
|
17
17
|
}, [OPNetEvent<PoolCreatedEvent>]>>;
|
|
18
|
+
setStakingContractAddress(stakingContractAddress: Address): Promise<CallResult<{
|
|
19
|
+
success: boolean;
|
|
20
|
+
}>>;
|
|
21
|
+
getStakingContractAddress(): Promise<CallResult<{
|
|
22
|
+
stakingContractAddress: Address;
|
|
23
|
+
}>>;
|
|
18
24
|
}
|
|
@@ -48,7 +48,10 @@ export interface IMotoswapPoolContract extends Omit<IOP_20Contract, 'burn' | 'mi
|
|
|
48
48
|
kLast(): Promise<CallResult<{
|
|
49
49
|
kLast: bigint;
|
|
50
50
|
}>>;
|
|
51
|
-
burn(to: Address): Promise<CallResult
|
|
51
|
+
burn(to: Address): Promise<CallResult<{
|
|
52
|
+
amount0: bigint;
|
|
53
|
+
amount1: bigint;
|
|
54
|
+
}, [OPNetEvent<PoolBurnEvent>]>>;
|
|
52
55
|
blockTimestampLast(): Promise<CallResult<{
|
|
53
56
|
blockTimestampLast: bigint;
|
|
54
57
|
}>>;
|
|
@@ -61,4 +64,13 @@ export interface IMotoswapPoolContract extends Omit<IOP_20Contract, 'burn' | 'mi
|
|
|
61
64
|
price1CumulativeLast(): Promise<CallResult<{
|
|
62
65
|
price1CumulativeLast: bigint;
|
|
63
66
|
}>>;
|
|
67
|
+
MINIMUM_LIQUIDITY(): Promise<CallResult<{
|
|
68
|
+
MINIMUM_LIQUIDITY: bigint;
|
|
69
|
+
}>>;
|
|
70
|
+
mint(to: Address): Promise<CallResult<{
|
|
71
|
+
liquidity: bigint;
|
|
72
|
+
}, [OPNetEvent<PoolMintEvent>]>>;
|
|
73
|
+
initialize(token0: Address, token1: Address): Promise<CallResult<{
|
|
74
|
+
success: boolean;
|
|
75
|
+
}>>;
|
|
64
76
|
}
|
|
@@ -10,6 +10,9 @@ export type BalanceOf = CallResult<{
|
|
|
10
10
|
export type TotalSupply = CallResult<{
|
|
11
11
|
totalSupply: bigint;
|
|
12
12
|
}>;
|
|
13
|
+
export type MotoAddress = CallResult<{
|
|
14
|
+
totalSupply: bigint;
|
|
15
|
+
}>;
|
|
13
16
|
export type LastInteractedBlock = CallResult<{
|
|
14
17
|
lastInteractedBlock: bigint;
|
|
15
18
|
}>;
|
|
@@ -56,9 +59,9 @@ export type RewardTokenRemovedEvent = {
|
|
|
56
59
|
readonly token: Address;
|
|
57
60
|
};
|
|
58
61
|
export interface IMotoswapStakingContract extends IOwnableReentrancyGuardContract {
|
|
59
|
-
getMotoAddress(): Promise<GetMotoAddress>;
|
|
60
62
|
balanceOf(address: Address): Promise<BalanceOf>;
|
|
61
63
|
totalSupply(): Promise<TotalSupply>;
|
|
64
|
+
motoAddress(): Promise<MotoAddress>;
|
|
62
65
|
lastInteractedBlock(address: Address): Promise<LastInteractedBlock>;
|
|
63
66
|
rewardDebt(user: Address, rewardToken: Address): Promise<RewardDebt>;
|
|
64
67
|
rewardBalances(user: Address): Promise<RewardBalances>;
|
|
@@ -60,7 +60,6 @@ export type SetFees = CallResult<{
|
|
|
60
60
|
export type GetFees = CallResult<{
|
|
61
61
|
reservationBaseFee: bigint;
|
|
62
62
|
priorityQueueBaseFee: bigint;
|
|
63
|
-
pricePerUserInPriorityQueueBTC: bigint;
|
|
64
63
|
}, [
|
|
65
64
|
]>;
|
|
66
65
|
export type Swap = CallResult<{
|
|
@@ -91,15 +90,15 @@ export type GetPriorityQueueCost = CallResult<{
|
|
|
91
90
|
}, [
|
|
92
91
|
]>;
|
|
93
92
|
export interface INativeSwapContract extends IOP_NETContract {
|
|
94
|
-
reserve(token: Address, maximumAmountIn: bigint, minimumAmountOut: bigint, forLP: boolean): Promise<ReserveNativeSwap>;
|
|
93
|
+
reserve(token: Address, maximumAmountIn: bigint, minimumAmountOut: bigint, forLP: boolean, activationDelay: number): Promise<ReserveNativeSwap>;
|
|
95
94
|
listLiquidity(token: Address, receiver: string, amountIn: bigint, priority: boolean): Promise<ListLiquidity>;
|
|
96
95
|
cancelListing(token: Address): Promise<CancelListing>;
|
|
97
96
|
createPool(token: Address, floorPrice: bigint, initialLiquidity: bigint, receiver: string, antiBotEnabledFor: number, antiBotMaximumTokensPerReservation: bigint, maxReservesIn5BlocksPercent: number): Promise<CreatePool>;
|
|
98
97
|
createPoolWithSignature(signature: Buffer, approveAmount: bigint, nonce: bigint, token: Address, floorPrice: bigint, initialLiquidity: bigint, receiver: string, antiBotEnabledFor: number, antiBotMaximumTokensPerReservation: bigint, maxReservesIn5BlocksPercent: number): Promise<CreatePool>;
|
|
99
|
-
setFees(reservationBaseFee: bigint, priorityQueueBaseFee: bigint
|
|
98
|
+
setFees(reservationBaseFee: bigint, priorityQueueBaseFee: bigint): Promise<SetFees>;
|
|
100
99
|
getFees(): Promise<GetFees>;
|
|
101
100
|
addLiquidity(token: Address, receiver: string): Promise<AddLiquidity>;
|
|
102
|
-
removeLiquidity(token: Address
|
|
101
|
+
removeLiquidity(token: Address): Promise<RemoveLiquidity>;
|
|
103
102
|
swap(token: Address): Promise<Swap>;
|
|
104
103
|
getReserve(token: Address): Promise<GetReserve>;
|
|
105
104
|
getQuote(token: Address, satoshisIn: bigint): Promise<GetQuote>;
|
|
@@ -77,6 +77,6 @@ export interface IOP_20Contract extends IOP_NETContract {
|
|
|
77
77
|
allowance(owner: Address, spender: Address): Promise<Allowance>;
|
|
78
78
|
burn(value: bigint): Promise<Burn>;
|
|
79
79
|
mint(address: Address, value: bigint): Promise<Mint>;
|
|
80
|
-
airdrop(
|
|
80
|
+
airdrop(map: AddressMap<bigint>): Promise<Airdrop>;
|
|
81
81
|
airdropWithAmount(amount: bigint, addresses: Address[]): Promise<AirdropWithAmount>;
|
|
82
82
|
}
|