@evergonlabs/tmi-protocol-api 0.4.1 → 0.5.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/dist/app.d.ts +452 -152
- package/dist/app.d.ts.map +1 -1
- package/dist/app.js +4 -0
- package/dist/client.d.ts +500 -151
- package/dist/client.d.ts.map +1 -1
- package/dist/common/abis/erc20Whitelisted.d.ts +27 -12
- package/dist/common/abis/erc20Whitelisted.d.ts.map +1 -1
- package/dist/common/abis/erc20Whitelisted.js +192 -1
- package/dist/common/blockchain.d.ts +20 -26
- package/dist/common/blockchain.d.ts.map +1 -1
- package/dist/common/blockchain.js +22 -19
- package/dist/common/config.d.ts +43 -1
- package/dist/common/config.d.ts.map +1 -1
- package/dist/common/config.js +47 -25
- package/dist/common/context.d.ts +11 -0
- package/dist/common/context.d.ts.map +1 -0
- package/dist/common/context.js +0 -0
- package/dist/common/indexer/client.d.ts +3 -2
- package/dist/common/indexer/client.d.ts.map +1 -1
- package/dist/common/indexer/schemas.d.ts +1 -1
- package/dist/common/indexer/schemas.d.ts.map +1 -1
- package/dist/common/middleware/indexer.d.ts +3 -0
- package/dist/common/middleware/indexer.d.ts.map +1 -0
- package/dist/common/middleware/indexer.js +7 -0
- package/dist/common/models/asset.d.ts +4 -4
- package/dist/common/models/chainId.d.ts +3 -0
- package/dist/common/models/chainId.d.ts.map +1 -1
- package/dist/common/models/chainId.js +6 -14
- package/dist/common/models/numOrStr.d.ts +7 -0
- package/dist/common/models/numOrStr.d.ts.map +1 -0
- package/dist/common/models/numOrStr.js +11 -0
- package/dist/common/models/platform.d.ts +1 -1
- package/dist/common/models/platform.d.ts.map +1 -1
- package/dist/common/models/platform.js +1 -1
- package/dist/common/models/routes.d.ts +2 -2
- package/dist/common/models/transaction.d.ts +8 -8
- package/dist/common/models/transaction.d.ts.map +1 -1
- package/dist/common/models/transaction.js +1 -1
- package/dist/fractions/activity/searchActivity.route.d.ts +17 -17
- package/dist/fractions/activity/searchActivity.route.d.ts.map +1 -1
- package/dist/fractions/activity/searchActivity.route.js +1 -2
- package/dist/fractions/activity/utils.d.ts +8 -8
- package/dist/fractions/approveSale/v0/approveSale.route.d.ts +3 -3
- package/dist/fractions/approveWrapper/v0/approveWrapper.route.d.ts +9 -9
- package/dist/fractions/completeSale/v0/completeSale.route.d.ts +3 -3
- package/dist/fractions/createFractions/v0/createFractions.route.d.ts +19 -19
- package/dist/fractions/createFractions/v0/createFractions.schema.d.ts +20 -20
- package/dist/fractions/deployMarket/v0/deployMarket.routes.d.ts +25 -12
- package/dist/fractions/deployMarket/v0/deployMarket.routes.d.ts.map +1 -1
- package/dist/fractions/deployMarket/v0/deployMarket.routes.js +3 -2
- package/dist/fractions/deployMarket/v0/index.d.ts +3 -0
- package/dist/fractions/deployMarket/v0/index.d.ts.map +1 -0
- package/dist/fractions/deployMarket/v0/index.js +2 -0
- package/dist/fractions/deployMarket/v0/initNid.route.d.ts +3 -3
- package/dist/fractions/grantRole/v0/grantRole.route.d.ts +3 -3
- package/dist/fractions/index.d.ts +141 -77
- package/dist/fractions/index.d.ts.map +1 -1
- package/dist/fractions/index.js +5 -3
- package/dist/fractions/markets/common/platform.d.ts +11 -11
- package/dist/fractions/markets/getMarket/index.d.ts +19 -19
- package/dist/fractions/markets/getMarket/index.d.ts.map +1 -1
- package/dist/fractions/markets/getMarket/v0/getMarket.d.ts +17 -17
- package/dist/fractions/markets/getMarket/v0/getMarket.d.ts.map +1 -1
- package/dist/fractions/markets/getMarket/v0/getMarket.js +1 -2
- package/dist/fractions/markets/index.d.ts +22 -22
- package/dist/fractions/markets/index.d.ts.map +1 -1
- package/dist/fractions/markets/searchMarkets/index.d.ts +5 -5
- package/dist/fractions/markets/searchMarkets/index.d.ts.map +1 -1
- package/dist/fractions/markets/searchMarkets/v0/searchMarkets.d.ts +13 -13
- package/dist/fractions/markets/searchMarkets/v0/searchMarkets.d.ts.map +1 -1
- package/dist/fractions/markets/searchMarkets/v0/searchMarkets.js +1 -2
- package/dist/fractions/purchase/v0/purchase.route.d.ts +3 -3
- package/dist/fractions/purchase/v0/statistics.route.d.ts +15 -15
- package/dist/fractions/purchase/v0/statistics.route.d.ts.map +1 -1
- package/dist/fractions/purchase/v0/statistics.route.js +3 -3
- package/dist/fractions/sales/common/fractionsSale.d.ts +40 -40
- package/dist/fractions/sales/getFractionSaleStatistics.route.d.ts +13 -13
- package/dist/fractions/sales/getFractionSaleStatistics.route.d.ts.map +1 -1
- package/dist/fractions/sales/getFractionSaleStatistics.route.js +3 -3
- package/dist/fractions/sales/getVaultAddress.d.ts +4 -4
- package/dist/fractions/sales/getVaultAddress.d.ts.map +1 -1
- package/dist/fractions/sales/getVaultAddress.js +3 -3
- package/dist/fractions/sales/receiveFundsAfterNonFunded.route.d.ts +6 -6
- package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts +3 -3
- package/dist/fractions/sales/recoverFractions.d.ts +3 -3
- package/dist/fractions/sales/rejectFractions.d.ts +3 -3
- package/dist/fractions/sales/searchSales/v0/searchSales.d.ts +32 -32
- package/dist/fractions/sales/searchSales/v0/searchSales.d.ts.map +1 -1
- package/dist/fractions/sales/searchSales/v0/searchSales.js +1 -2
- package/dist/fractions/sales/searchWithdrawal.route.d.ts +7 -7
- package/dist/fractions/sales/searchWithdrawal.route.d.ts.map +1 -1
- package/dist/fractions/sales/searchWithdrawal.route.js +1 -2
- package/dist/fractions/sales/setFeeCapLimit.d.ts +3 -3
- package/dist/fractions/sales/unlockWrappedAssets.route.d.ts +3 -3
- package/dist/fractions/sales/vesting/v0/claimStatistics.route.d.ts +17 -17
- package/dist/fractions/sales/vesting/v0/claimStatistics.route.d.ts.map +1 -1
- package/dist/fractions/sales/vesting/v0/claimStatistics.route.js +6 -5
- package/dist/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts +9 -9
- package/dist/fractions/sales/vesting/v0/editCliff.route.d.ts +3 -3
- package/dist/fractions/withdraw/v0/withdraw.route.d.ts +3 -3
- package/dist/general/balanceClient.d.ts +6 -6
- package/dist/general/common.d.ts +6 -6
- package/dist/general/estimateGas.d.ts +8 -8
- package/dist/general/getBalance.d.ts +4 -4
- package/dist/general/getBalancesBatch.d.ts +4 -4
- package/dist/general/index.d.ts +5 -5
- package/dist/general/searchBalances.d.ts +4 -4
- package/dist/general/utils/tokenBalance/tokenBalance.d.ts +3 -3
- package/dist/issuance/approve.d.ts +3 -3
- package/dist/issuance/burn.d.ts +3 -3
- package/dist/issuance/deploy.d.ts +7 -0
- package/dist/issuance/deploy.d.ts.map +1 -1
- package/dist/issuance/deploy.js +34 -0
- package/dist/issuance/grantRole.d.ts +9 -9
- package/dist/issuance/index.d.ts +47 -10
- package/dist/issuance/index.d.ts.map +1 -1
- package/dist/issuance/index.js +4 -1
- package/dist/issuance/mint.d.ts +3 -3
- package/dist/issuance/recover.d.ts +82 -0
- package/dist/issuance/recover.d.ts.map +1 -0
- package/dist/issuance/recover.js +38 -0
- package/dist/issuance/renounceRole.d.ts +9 -9
- package/dist/issuance/transfer.d.ts +9 -9
- package/dist/issuance/upgrade.d.ts +3 -3
- package/dist/staking/index.d.ts +10 -10
- package/dist/staking/index.d.ts.map +1 -1
- package/dist/staking/platforms/getPlatform/index.d.ts +3 -3
- package/dist/staking/platforms/getPlatform/index.d.ts.map +1 -1
- package/dist/staking/platforms/getPlatform/v0/getPlatform.d.ts +8 -8
- package/dist/staking/platforms/getPlatform/v0/getPlatform.d.ts.map +1 -1
- package/dist/staking/platforms/getPlatform/v0/getPlatform.js +3 -3
- package/dist/staking/platforms/index.d.ts +3 -3
- package/dist/staking/platforms/index.d.ts.map +1 -1
- package/dist/staking/platforms/searchPlatforms/index.d.ts +2 -2
- package/dist/staking/platforms/searchPlatforms/index.d.ts.map +1 -1
- package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts +4 -4
- package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts.map +1 -1
- package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.js +3 -3
- package/dist/staking/pools/common/pool.d.ts +4 -4
- package/dist/staking/pools/getPool/index.d.ts +3 -3
- package/dist/staking/pools/getPool/index.d.ts.map +1 -1
- package/dist/staking/pools/getPool/v0/getPool.d.ts +7 -7
- package/dist/staking/pools/getPool/v0/getPool.d.ts.map +1 -1
- package/dist/staking/pools/getPool/v0/getPool.js +3 -3
- package/dist/staking/pools/index.d.ts +3 -3
- package/dist/staking/pools/index.d.ts.map +1 -1
- package/dist/staking/pools/searchPools/index.d.ts +2 -2
- package/dist/staking/pools/searchPools/index.d.ts.map +1 -1
- package/dist/staking/pools/searchPools/v0/searchPools.d.ts +3 -3
- package/dist/staking/pools/searchPools/v0/searchPools.d.ts.map +1 -1
- package/dist/staking/pools/searchPools/v0/searchPools.js +3 -3
- package/dist/staking/roles/common/roleAssignment.d.ts +2 -2
- package/dist/staking/roles/common/roleEvent.d.ts +4 -4
- package/dist/staking/roles/grantRole/index.d.ts +1 -1
- package/dist/staking/roles/grantRole/v0/grantRole.d.ts +3 -3
- package/dist/staking/roles/index.d.ts +5 -5
- package/dist/staking/roles/index.d.ts.map +1 -1
- package/dist/staking/roles/searchRoleEvents/index.d.ts +3 -3
- package/dist/staking/roles/searchRoleEvents/index.d.ts.map +1 -1
- package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts +7 -7
- package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts.map +1 -1
- package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.js +3 -3
- package/dist/staking/roles/searchRoles/index.d.ts +3 -3
- package/dist/staking/roles/searchRoles/index.d.ts.map +1 -1
- package/dist/staking/roles/searchRoles/v0/searchRoles.d.ts +7 -7
- package/dist/staking/roles/searchRoles/v0/searchRoles.d.ts.map +1 -1
- package/dist/staking/roles/searchRoles/v0/searchRoles.js +3 -3
- package/dist/staking/stakes/common/stake.d.ts +2 -2
- package/dist/staking/stakes/common/stakeEvent.d.ts +4 -4
- package/dist/staking/stakes/getStake/index.d.ts +3 -3
- package/dist/staking/stakes/getStake/index.d.ts.map +1 -1
- package/dist/staking/stakes/getStake/v0/getStake.d.ts +7 -7
- package/dist/staking/stakes/getStake/v0/getStake.d.ts.map +1 -1
- package/dist/staking/stakes/getStake/v0/getStake.js +3 -3
- package/dist/staking/stakes/index.d.ts +5 -5
- package/dist/staking/stakes/index.d.ts.map +1 -1
- package/dist/staking/stakes/searchStakeEvents/index.d.ts +3 -3
- package/dist/staking/stakes/searchStakeEvents/index.d.ts.map +1 -1
- package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts +7 -7
- package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts.map +1 -1
- package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.js +3 -3
- package/dist/staking/stakes/searchStakes/index.d.ts +3 -3
- package/dist/staking/stakes/searchStakes/index.d.ts.map +1 -1
- package/dist/staking/stakes/searchStakes/v0/searchStakes.d.ts +7 -7
- package/dist/staking/stakes/searchStakes/v0/searchStakes.d.ts.map +1 -1
- package/dist/staking/stakes/searchStakes/v0/searchStakes.js +3 -3
- package/dist/staking-templates/index.d.ts +42 -42
- package/dist/staking-templates/templates/common/getReward.d.ts +7 -7
- package/dist/staking-templates/templates/common/partialUnstake.d.ts +7 -7
- package/dist/staking-templates/templates/common/rewardDistribution.js +2 -2
- package/dist/staking-templates/templates/common/unstake.d.ts +7 -7
- package/dist/staking-templates/templates/reputation/index.d.ts +13 -13
- package/dist/staking-templates/templates/reputation/v0/createPlatform.d.ts +3 -3
- package/dist/staking-templates/templates/reputation/v0/createPool.d.ts +7 -7
- package/dist/staking-templates/templates/reputation/v0/index.d.ts +13 -13
- package/dist/staking-templates/templates/reputation/v0/restake.d.ts +7 -7
- package/dist/staking-templates/templates/reputation/v0/stake.d.ts +7 -7
- package/dist/staking-templates/templates/reputationLock/index.d.ts +13 -13
- package/dist/staking-templates/templates/reputationLock/v0/createPlatform.d.ts +3 -3
- package/dist/staking-templates/templates/reputationLock/v0/createPool.d.ts +7 -7
- package/dist/staking-templates/templates/reputationLock/v0/index.d.ts +13 -13
- package/dist/staking-templates/templates/reputationLock/v0/restake.d.ts +7 -7
- package/dist/staking-templates/templates/reputationLock/v0/stake.d.ts +7 -7
- package/dist/staking-templates/templates/rwa/index.d.ts +16 -16
- package/dist/staking-templates/templates/rwa/v0/createPlatform.d.ts +3 -3
- package/dist/staking-templates/templates/rwa/v0/createPool.d.ts +7 -7
- package/dist/staking-templates/templates/rwa/v0/distributeRewards.d.ts +61 -0
- package/dist/staking-templates/templates/rwa/v0/distributeRewards.d.ts.map +1 -0
- package/dist/staking-templates/templates/rwa/v0/distributeRewards.js +41 -0
- package/dist/staking-templates/templates/rwa/v0/index.d.ts +16 -16
- package/dist/staking-templates/templates/rwa/v0/index.js +2 -2
- package/dist/staking-templates/templates/rwa/v0/restake.d.ts +7 -7
- package/dist/staking-templates/templates/rwa/v0/stake.d.ts +7 -7
- package/dist/v0/fractions/index.d.ts +68 -0
- package/dist/v0/fractions/index.d.ts.map +1 -0
- package/dist/v0/fractions/index.js +9 -0
- package/dist/v0/fractions/networkStatistics.route.d.ts +176 -0
- package/dist/v0/fractions/networkStatistics.route.d.ts.map +1 -0
- package/dist/v0/fractions/networkStatistics.route.js +354 -0
- package/dist/v1/fractions/lending/buyback/buyback.routes.d.ts +65 -0
- package/dist/v1/fractions/lending/buyback/buyback.routes.d.ts.map +1 -0
- package/dist/v1/fractions/lending/buyback/buyback.routes.js +27 -0
- package/dist/v1/fractions/lending/buyback/buyback.schema.d.ts +19 -0
- package/dist/v1/fractions/lending/buyback/buyback.schema.d.ts.map +1 -0
- package/dist/v1/fractions/lending/buyback/buyback.schema.js +12 -0
- package/dist/v1/fractions/lending/createLendingSale.d.ts +585 -0
- package/dist/v1/fractions/lending/createLendingSale.d.ts.map +1 -0
- package/dist/v1/fractions/lending/createLendingSale.js +81 -0
- package/dist/v1/fractions/lending/deployMarket/lending.routes.d.ts +117 -0
- package/dist/v1/fractions/lending/deployMarket/lending.routes.d.ts.map +1 -0
- package/dist/v1/fractions/lending/deployMarket/lending.routes.js +35 -0
- package/dist/v1/fractions/lending/index.d.ts +209 -0
- package/dist/v1/fractions/lending/index.d.ts.map +1 -0
- package/dist/v1/fractions/lending/index.js +22 -0
- package/dist/v1/fractions/lending/purchase/directPurchase.route.d.ts +82 -0
- package/dist/v1/fractions/lending/purchase/directPurchase.route.d.ts.map +1 -0
- package/dist/v1/fractions/lending/purchase/directPurchase.route.js +34 -0
- package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts +61 -0
- package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts.map +1 -0
- package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.routes.js +27 -0
- package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts +16 -0
- package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts.map +1 -0
- package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.js +10 -0
- package/dist/v1/fractions/schemas.d.ts +108 -0
- package/dist/v1/fractions/schemas.d.ts.map +1 -0
- package/dist/v1/fractions/schemas.js +35 -0
- package/package.json +10 -7
|
@@ -4,20 +4,20 @@ export declare function createCreatePoolRoute<E extends Env>(factory: Factory<E>
|
|
|
4
4
|
data: `0x${string}`;
|
|
5
5
|
to: `0x${string}`;
|
|
6
6
|
details: {
|
|
7
|
-
functionName: string;
|
|
8
7
|
address: `0x${string}`;
|
|
8
|
+
functionName: string;
|
|
9
9
|
abi: any[];
|
|
10
10
|
args: any[];
|
|
11
11
|
};
|
|
12
12
|
}, 200, "json">>>, import("hono/types").H<Env, string, {
|
|
13
13
|
in: {
|
|
14
14
|
json: {
|
|
15
|
-
platform: `0x${string}`;
|
|
16
15
|
startDate: string;
|
|
17
16
|
amount: {
|
|
18
17
|
minAmount: string | number | bigint;
|
|
19
18
|
maxAmount: string | number | bigint;
|
|
20
19
|
};
|
|
20
|
+
platform: `0x${string}`;
|
|
21
21
|
distribution: {
|
|
22
22
|
duration: string | number | bigint;
|
|
23
23
|
distributor: `0x${string}`;
|
|
@@ -41,12 +41,12 @@ export declare function createCreatePoolRoute<E extends Env>(factory: Factory<E>
|
|
|
41
41
|
};
|
|
42
42
|
out: {
|
|
43
43
|
json: {
|
|
44
|
-
platform: `0x${string}`;
|
|
45
44
|
startDate: string;
|
|
46
45
|
amount: {
|
|
47
46
|
minAmount: bigint;
|
|
48
47
|
maxAmount: bigint;
|
|
49
48
|
};
|
|
49
|
+
platform: `0x${string}`;
|
|
50
50
|
distribution: {
|
|
51
51
|
duration: bigint;
|
|
52
52
|
distributor: `0x${string}`;
|
|
@@ -72,20 +72,20 @@ export declare function createCreatePoolRoute<E extends Env>(factory: Factory<E>
|
|
|
72
72
|
data: `0x${string}`;
|
|
73
73
|
to: `0x${string}`;
|
|
74
74
|
details: {
|
|
75
|
-
functionName: string;
|
|
76
75
|
address: `0x${string}`;
|
|
76
|
+
functionName: string;
|
|
77
77
|
abi: any[];
|
|
78
78
|
args: any[];
|
|
79
79
|
};
|
|
80
80
|
}, 200, "json">>>, import("hono/types").H<import("hono/utils/types").IfAnyThenEmptyObject<E extends Env ? Env extends E ? {} : E : E> & {}, string, {
|
|
81
81
|
in: {
|
|
82
82
|
json: {
|
|
83
|
-
platform: `0x${string}`;
|
|
84
83
|
startDate: string;
|
|
85
84
|
amount: {
|
|
86
85
|
minAmount: string | number | bigint;
|
|
87
86
|
maxAmount: string | number | bigint;
|
|
88
87
|
};
|
|
88
|
+
platform: `0x${string}`;
|
|
89
89
|
distribution: {
|
|
90
90
|
duration: string | number | bigint;
|
|
91
91
|
distributor: `0x${string}`;
|
|
@@ -109,12 +109,12 @@ export declare function createCreatePoolRoute<E extends Env>(factory: Factory<E>
|
|
|
109
109
|
};
|
|
110
110
|
out: {
|
|
111
111
|
json: {
|
|
112
|
-
platform: `0x${string}`;
|
|
113
112
|
startDate: string;
|
|
114
113
|
amount: {
|
|
115
114
|
minAmount: bigint;
|
|
116
115
|
maxAmount: bigint;
|
|
117
116
|
};
|
|
117
|
+
platform: `0x${string}`;
|
|
118
118
|
distribution: {
|
|
119
119
|
duration: bigint;
|
|
120
120
|
distributor: `0x${string}`;
|
|
@@ -140,8 +140,8 @@ export declare function createCreatePoolRoute<E extends Env>(factory: Factory<E>
|
|
|
140
140
|
data: `0x${string}`;
|
|
141
141
|
to: `0x${string}`;
|
|
142
142
|
details: {
|
|
143
|
-
functionName: string;
|
|
144
143
|
address: `0x${string}`;
|
|
144
|
+
functionName: string;
|
|
145
145
|
abi: any[];
|
|
146
146
|
args: any[];
|
|
147
147
|
};
|
|
@@ -50,16 +50,16 @@ export declare function createReputationLockTemplateV0App<E extends Env>(factory
|
|
|
50
50
|
$post: {
|
|
51
51
|
input: {
|
|
52
52
|
json: {
|
|
53
|
-
platform: `0x${string}`;
|
|
54
53
|
stakeId: string | number | bigint;
|
|
54
|
+
platform: `0x${string}`;
|
|
55
55
|
};
|
|
56
56
|
};
|
|
57
57
|
output: {
|
|
58
58
|
data: `0x${string}`;
|
|
59
59
|
to: `0x${string}`;
|
|
60
60
|
details: {
|
|
61
|
-
functionName: string;
|
|
62
61
|
address: `0x${string}`;
|
|
62
|
+
functionName: string;
|
|
63
63
|
abi: any[];
|
|
64
64
|
args: any[];
|
|
65
65
|
};
|
|
@@ -73,17 +73,17 @@ export declare function createReputationLockTemplateV0App<E extends Env>(factory
|
|
|
73
73
|
$post: {
|
|
74
74
|
input: {
|
|
75
75
|
json: {
|
|
76
|
-
platform: `0x${string}`;
|
|
77
76
|
stakeId: string | number | bigint;
|
|
78
77
|
amount: string | number | bigint;
|
|
78
|
+
platform: `0x${string}`;
|
|
79
79
|
};
|
|
80
80
|
};
|
|
81
81
|
output: {
|
|
82
82
|
data: `0x${string}`;
|
|
83
83
|
to: `0x${string}`;
|
|
84
84
|
details: {
|
|
85
|
-
functionName: string;
|
|
86
85
|
address: `0x${string}`;
|
|
86
|
+
functionName: string;
|
|
87
87
|
abi: any[];
|
|
88
88
|
args: any[];
|
|
89
89
|
};
|
|
@@ -97,9 +97,9 @@ export declare function createReputationLockTemplateV0App<E extends Env>(factory
|
|
|
97
97
|
$post: {
|
|
98
98
|
input: {
|
|
99
99
|
json: {
|
|
100
|
-
platform: `0x${string}`;
|
|
101
100
|
poolId: string | number | bigint;
|
|
102
101
|
amount: string | number | bigint;
|
|
102
|
+
platform: `0x${string}`;
|
|
103
103
|
lockPeriod: string | number | bigint;
|
|
104
104
|
};
|
|
105
105
|
};
|
|
@@ -107,8 +107,8 @@ export declare function createReputationLockTemplateV0App<E extends Env>(factory
|
|
|
107
107
|
data: `0x${string}`;
|
|
108
108
|
to: `0x${string}`;
|
|
109
109
|
details: {
|
|
110
|
-
functionName: string;
|
|
111
110
|
address: `0x${string}`;
|
|
111
|
+
functionName: string;
|
|
112
112
|
abi: any[];
|
|
113
113
|
args: any[];
|
|
114
114
|
};
|
|
@@ -122,9 +122,9 @@ export declare function createReputationLockTemplateV0App<E extends Env>(factory
|
|
|
122
122
|
$post: {
|
|
123
123
|
input: {
|
|
124
124
|
json: {
|
|
125
|
-
platform: `0x${string}`;
|
|
126
125
|
poolId: string | number | bigint;
|
|
127
126
|
amount: string | number | bigint;
|
|
127
|
+
platform: `0x${string}`;
|
|
128
128
|
lockPeriod: string | number | bigint;
|
|
129
129
|
};
|
|
130
130
|
};
|
|
@@ -132,8 +132,8 @@ export declare function createReputationLockTemplateV0App<E extends Env>(factory
|
|
|
132
132
|
data: `0x${string}`;
|
|
133
133
|
to: `0x${string}`;
|
|
134
134
|
details: {
|
|
135
|
-
functionName: string;
|
|
136
135
|
address: `0x${string}`;
|
|
136
|
+
functionName: string;
|
|
137
137
|
abi: any[];
|
|
138
138
|
args: any[];
|
|
139
139
|
};
|
|
@@ -147,16 +147,16 @@ export declare function createReputationLockTemplateV0App<E extends Env>(factory
|
|
|
147
147
|
$post: {
|
|
148
148
|
input: {
|
|
149
149
|
json: {
|
|
150
|
-
platform: `0x${string}`;
|
|
151
150
|
stakeId: string | number | bigint;
|
|
151
|
+
platform: `0x${string}`;
|
|
152
152
|
};
|
|
153
153
|
};
|
|
154
154
|
output: {
|
|
155
155
|
data: `0x${string}`;
|
|
156
156
|
to: `0x${string}`;
|
|
157
157
|
details: {
|
|
158
|
-
functionName: string;
|
|
159
158
|
address: `0x${string}`;
|
|
159
|
+
functionName: string;
|
|
160
160
|
abi: any[];
|
|
161
161
|
args: any[];
|
|
162
162
|
};
|
|
@@ -170,12 +170,12 @@ export declare function createReputationLockTemplateV0App<E extends Env>(factory
|
|
|
170
170
|
$post: {
|
|
171
171
|
input: {
|
|
172
172
|
json: {
|
|
173
|
-
platform: `0x${string}`;
|
|
174
173
|
startDate: string;
|
|
175
174
|
amount: {
|
|
176
175
|
minAmount: string | number | bigint;
|
|
177
176
|
maxAmount: string | number | bigint;
|
|
178
177
|
};
|
|
178
|
+
platform: `0x${string}`;
|
|
179
179
|
distribution: {
|
|
180
180
|
duration: string | number | bigint;
|
|
181
181
|
distributor: `0x${string}`;
|
|
@@ -201,8 +201,8 @@ export declare function createReputationLockTemplateV0App<E extends Env>(factory
|
|
|
201
201
|
data: `0x${string}`;
|
|
202
202
|
to: `0x${string}`;
|
|
203
203
|
details: {
|
|
204
|
-
functionName: string;
|
|
205
204
|
address: `0x${string}`;
|
|
205
|
+
functionName: string;
|
|
206
206
|
abi: any[];
|
|
207
207
|
args: any[];
|
|
208
208
|
};
|
|
@@ -230,8 +230,8 @@ export declare function createReputationLockTemplateV0App<E extends Env>(factory
|
|
|
230
230
|
data: `0x${string}`;
|
|
231
231
|
to: `0x${string}`;
|
|
232
232
|
details: {
|
|
233
|
-
functionName: string;
|
|
234
233
|
address: `0x${string}`;
|
|
234
|
+
functionName: string;
|
|
235
235
|
abi: any[];
|
|
236
236
|
args: any[];
|
|
237
237
|
};
|
|
@@ -4,25 +4,25 @@ export declare function createRestakeRoute<E extends Env>(factory: Factory<E>):
|
|
|
4
4
|
data: `0x${string}`;
|
|
5
5
|
to: `0x${string}`;
|
|
6
6
|
details: {
|
|
7
|
-
functionName: string;
|
|
8
7
|
address: `0x${string}`;
|
|
8
|
+
functionName: string;
|
|
9
9
|
abi: any[];
|
|
10
10
|
args: any[];
|
|
11
11
|
};
|
|
12
12
|
}, 200, "json">>>, import("hono/types").H<Env, string, {
|
|
13
13
|
in: {
|
|
14
14
|
json: {
|
|
15
|
-
platform: `0x${string}`;
|
|
16
15
|
poolId: string | number | bigint;
|
|
17
16
|
amount: string | number | bigint;
|
|
17
|
+
platform: `0x${string}`;
|
|
18
18
|
lockPeriod: string | number | bigint;
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
21
|
out: {
|
|
22
22
|
json: {
|
|
23
|
-
platform: `0x${string}`;
|
|
24
23
|
poolId: bigint;
|
|
25
24
|
amount: bigint;
|
|
25
|
+
platform: `0x${string}`;
|
|
26
26
|
lockPeriod: bigint;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
@@ -30,25 +30,25 @@ export declare function createRestakeRoute<E extends Env>(factory: Factory<E>):
|
|
|
30
30
|
data: `0x${string}`;
|
|
31
31
|
to: `0x${string}`;
|
|
32
32
|
details: {
|
|
33
|
-
functionName: string;
|
|
34
33
|
address: `0x${string}`;
|
|
34
|
+
functionName: string;
|
|
35
35
|
abi: any[];
|
|
36
36
|
args: any[];
|
|
37
37
|
};
|
|
38
38
|
}, 200, "json">>>, import("hono/types").H<import("hono/utils/types").IfAnyThenEmptyObject<E extends Env ? Env extends E ? {} : E : E> & {}, string, {
|
|
39
39
|
in: {
|
|
40
40
|
json: {
|
|
41
|
-
platform: `0x${string}`;
|
|
42
41
|
poolId: string | number | bigint;
|
|
43
42
|
amount: string | number | bigint;
|
|
43
|
+
platform: `0x${string}`;
|
|
44
44
|
lockPeriod: string | number | bigint;
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
47
|
out: {
|
|
48
48
|
json: {
|
|
49
|
-
platform: `0x${string}`;
|
|
50
49
|
poolId: bigint;
|
|
51
50
|
amount: bigint;
|
|
51
|
+
platform: `0x${string}`;
|
|
52
52
|
lockPeriod: bigint;
|
|
53
53
|
};
|
|
54
54
|
};
|
|
@@ -56,8 +56,8 @@ export declare function createRestakeRoute<E extends Env>(factory: Factory<E>):
|
|
|
56
56
|
data: `0x${string}`;
|
|
57
57
|
to: `0x${string}`;
|
|
58
58
|
details: {
|
|
59
|
-
functionName: string;
|
|
60
59
|
address: `0x${string}`;
|
|
60
|
+
functionName: string;
|
|
61
61
|
abi: any[];
|
|
62
62
|
args: any[];
|
|
63
63
|
};
|
|
@@ -4,25 +4,25 @@ export declare function createStakeRoute<E extends Env>(factory: Factory<E>): [i
|
|
|
4
4
|
data: `0x${string}`;
|
|
5
5
|
to: `0x${string}`;
|
|
6
6
|
details: {
|
|
7
|
-
functionName: string;
|
|
8
7
|
address: `0x${string}`;
|
|
8
|
+
functionName: string;
|
|
9
9
|
abi: any[];
|
|
10
10
|
args: any[];
|
|
11
11
|
};
|
|
12
12
|
}, 200, "json">>>, import("hono/types").H<Env, string, {
|
|
13
13
|
in: {
|
|
14
14
|
json: {
|
|
15
|
-
platform: `0x${string}`;
|
|
16
15
|
poolId: string | number | bigint;
|
|
17
16
|
amount: string | number | bigint;
|
|
17
|
+
platform: `0x${string}`;
|
|
18
18
|
lockPeriod: string | number | bigint;
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
21
|
out: {
|
|
22
22
|
json: {
|
|
23
|
-
platform: `0x${string}`;
|
|
24
23
|
poolId: bigint;
|
|
25
24
|
amount: bigint;
|
|
25
|
+
platform: `0x${string}`;
|
|
26
26
|
lockPeriod: bigint;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
@@ -30,25 +30,25 @@ export declare function createStakeRoute<E extends Env>(factory: Factory<E>): [i
|
|
|
30
30
|
data: `0x${string}`;
|
|
31
31
|
to: `0x${string}`;
|
|
32
32
|
details: {
|
|
33
|
-
functionName: string;
|
|
34
33
|
address: `0x${string}`;
|
|
34
|
+
functionName: string;
|
|
35
35
|
abi: any[];
|
|
36
36
|
args: any[];
|
|
37
37
|
};
|
|
38
38
|
}, 200, "json">>>, import("hono/types").H<import("hono/utils/types").IfAnyThenEmptyObject<E extends Env ? Env extends E ? {} : E : E> & {}, string, {
|
|
39
39
|
in: {
|
|
40
40
|
json: {
|
|
41
|
-
platform: `0x${string}`;
|
|
42
41
|
poolId: string | number | bigint;
|
|
43
42
|
amount: string | number | bigint;
|
|
43
|
+
platform: `0x${string}`;
|
|
44
44
|
lockPeriod: string | number | bigint;
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
47
|
out: {
|
|
48
48
|
json: {
|
|
49
|
-
platform: `0x${string}`;
|
|
50
49
|
poolId: bigint;
|
|
51
50
|
amount: bigint;
|
|
51
|
+
platform: `0x${string}`;
|
|
52
52
|
lockPeriod: bigint;
|
|
53
53
|
};
|
|
54
54
|
};
|
|
@@ -56,8 +56,8 @@ export declare function createStakeRoute<E extends Env>(factory: Factory<E>): [i
|
|
|
56
56
|
data: `0x${string}`;
|
|
57
57
|
to: `0x${string}`;
|
|
58
58
|
details: {
|
|
59
|
-
functionName: string;
|
|
60
59
|
address: `0x${string}`;
|
|
60
|
+
functionName: string;
|
|
61
61
|
abi: any[];
|
|
62
62
|
args: any[];
|
|
63
63
|
};
|
|
@@ -50,16 +50,16 @@ export declare function createRWATemplateApp<E extends Env>(factory: Factory<E>)
|
|
|
50
50
|
$post: {
|
|
51
51
|
input: {
|
|
52
52
|
json: {
|
|
53
|
-
platform: `0x${string}`;
|
|
54
53
|
stakeId: string | number | bigint;
|
|
54
|
+
platform: `0x${string}`;
|
|
55
55
|
};
|
|
56
56
|
};
|
|
57
57
|
output: {
|
|
58
58
|
data: `0x${string}`;
|
|
59
59
|
to: `0x${string}`;
|
|
60
60
|
details: {
|
|
61
|
-
functionName: string;
|
|
62
61
|
address: `0x${string}`;
|
|
62
|
+
functionName: string;
|
|
63
63
|
abi: any[];
|
|
64
64
|
args: any[];
|
|
65
65
|
};
|
|
@@ -73,17 +73,17 @@ export declare function createRWATemplateApp<E extends Env>(factory: Factory<E>)
|
|
|
73
73
|
$post: {
|
|
74
74
|
input: {
|
|
75
75
|
json: {
|
|
76
|
-
platform: `0x${string}`;
|
|
77
76
|
stakeId: string | number | bigint;
|
|
78
77
|
amount: string | number | bigint;
|
|
78
|
+
platform: `0x${string}`;
|
|
79
79
|
};
|
|
80
80
|
};
|
|
81
81
|
output: {
|
|
82
82
|
data: `0x${string}`;
|
|
83
83
|
to: `0x${string}`;
|
|
84
84
|
details: {
|
|
85
|
-
functionName: string;
|
|
86
85
|
address: `0x${string}`;
|
|
86
|
+
functionName: string;
|
|
87
87
|
abi: any[];
|
|
88
88
|
args: any[];
|
|
89
89
|
};
|
|
@@ -97,17 +97,17 @@ export declare function createRWATemplateApp<E extends Env>(factory: Factory<E>)
|
|
|
97
97
|
$post: {
|
|
98
98
|
input: {
|
|
99
99
|
json: {
|
|
100
|
-
platform: `0x${string}`;
|
|
101
100
|
poolId: string | number | bigint;
|
|
102
101
|
amount: string | number | bigint;
|
|
102
|
+
platform: `0x${string}`;
|
|
103
103
|
};
|
|
104
104
|
};
|
|
105
105
|
output: {
|
|
106
106
|
data: `0x${string}`;
|
|
107
107
|
to: `0x${string}`;
|
|
108
108
|
details: {
|
|
109
|
-
functionName: string;
|
|
110
109
|
address: `0x${string}`;
|
|
110
|
+
functionName: string;
|
|
111
111
|
abi: any[];
|
|
112
112
|
args: any[];
|
|
113
113
|
};
|
|
@@ -121,17 +121,17 @@ export declare function createRWATemplateApp<E extends Env>(factory: Factory<E>)
|
|
|
121
121
|
$post: {
|
|
122
122
|
input: {
|
|
123
123
|
json: {
|
|
124
|
-
platform: `0x${string}`;
|
|
125
124
|
poolId: string | number | bigint;
|
|
126
125
|
amount: string | number | bigint;
|
|
126
|
+
platform: `0x${string}`;
|
|
127
127
|
};
|
|
128
128
|
};
|
|
129
129
|
output: {
|
|
130
130
|
data: `0x${string}`;
|
|
131
131
|
to: `0x${string}`;
|
|
132
132
|
details: {
|
|
133
|
-
functionName: string;
|
|
134
133
|
address: `0x${string}`;
|
|
134
|
+
functionName: string;
|
|
135
135
|
abi: any[];
|
|
136
136
|
args: any[];
|
|
137
137
|
};
|
|
@@ -145,16 +145,16 @@ export declare function createRWATemplateApp<E extends Env>(factory: Factory<E>)
|
|
|
145
145
|
$post: {
|
|
146
146
|
input: {
|
|
147
147
|
json: {
|
|
148
|
-
platform: `0x${string}`;
|
|
149
148
|
stakeId: string | number | bigint;
|
|
149
|
+
platform: `0x${string}`;
|
|
150
150
|
};
|
|
151
151
|
};
|
|
152
152
|
output: {
|
|
153
153
|
data: `0x${string}`;
|
|
154
154
|
to: `0x${string}`;
|
|
155
155
|
details: {
|
|
156
|
-
functionName: string;
|
|
157
156
|
address: `0x${string}`;
|
|
157
|
+
functionName: string;
|
|
158
158
|
abi: any[];
|
|
159
159
|
args: any[];
|
|
160
160
|
};
|
|
@@ -168,8 +168,8 @@ export declare function createRWATemplateApp<E extends Env>(factory: Factory<E>)
|
|
|
168
168
|
$post: {
|
|
169
169
|
input: {
|
|
170
170
|
json: {
|
|
171
|
-
platform: `0x${string}`;
|
|
172
171
|
startDate: string;
|
|
172
|
+
platform: `0x${string}`;
|
|
173
173
|
hardcapAmount: string | number | bigint;
|
|
174
174
|
distribution: {
|
|
175
175
|
duration: string | number | bigint;
|
|
@@ -189,8 +189,8 @@ export declare function createRWATemplateApp<E extends Env>(factory: Factory<E>)
|
|
|
189
189
|
data: `0x${string}`;
|
|
190
190
|
to: `0x${string}`;
|
|
191
191
|
details: {
|
|
192
|
-
functionName: string;
|
|
193
192
|
address: `0x${string}`;
|
|
193
|
+
functionName: string;
|
|
194
194
|
abi: any[];
|
|
195
195
|
args: any[];
|
|
196
196
|
};
|
|
@@ -218,8 +218,8 @@ export declare function createRWATemplateApp<E extends Env>(factory: Factory<E>)
|
|
|
218
218
|
data: `0x${string}`;
|
|
219
219
|
to: `0x${string}`;
|
|
220
220
|
details: {
|
|
221
|
-
functionName: string;
|
|
222
221
|
address: `0x${string}`;
|
|
222
|
+
functionName: string;
|
|
223
223
|
abi: any[];
|
|
224
224
|
args: any[];
|
|
225
225
|
};
|
|
@@ -229,21 +229,21 @@ export declare function createRWATemplateApp<E extends Env>(factory: Factory<E>)
|
|
|
229
229
|
};
|
|
230
230
|
};
|
|
231
231
|
} & {
|
|
232
|
-
"/
|
|
232
|
+
"/distributeRewards": {
|
|
233
233
|
$post: {
|
|
234
234
|
input: {
|
|
235
235
|
json: {
|
|
236
|
-
platform: `0x${string}`;
|
|
237
236
|
poolId: string | number | bigint;
|
|
238
237
|
amount: string | number | bigint;
|
|
238
|
+
platform: `0x${string}`;
|
|
239
239
|
};
|
|
240
240
|
};
|
|
241
241
|
output: {
|
|
242
242
|
data: `0x${string}`;
|
|
243
243
|
to: `0x${string}`;
|
|
244
244
|
details: {
|
|
245
|
-
functionName: string;
|
|
246
245
|
address: `0x${string}`;
|
|
246
|
+
functionName: string;
|
|
247
247
|
abi: any[];
|
|
248
248
|
args: any[];
|
|
249
249
|
};
|
|
@@ -4,8 +4,8 @@ export declare function createCreatePlatformRoute<E extends Env>(factory: Factor
|
|
|
4
4
|
data: `0x${string}`;
|
|
5
5
|
to: `0x${string}`;
|
|
6
6
|
details: {
|
|
7
|
-
functionName: string;
|
|
8
7
|
address: `0x${string}`;
|
|
8
|
+
functionName: string;
|
|
9
9
|
abi: any[];
|
|
10
10
|
args: any[];
|
|
11
11
|
};
|
|
@@ -38,8 +38,8 @@ export declare function createCreatePlatformRoute<E extends Env>(factory: Factor
|
|
|
38
38
|
data: `0x${string}`;
|
|
39
39
|
to: `0x${string}`;
|
|
40
40
|
details: {
|
|
41
|
-
functionName: string;
|
|
42
41
|
address: `0x${string}`;
|
|
42
|
+
functionName: string;
|
|
43
43
|
abi: any[];
|
|
44
44
|
args: any[];
|
|
45
45
|
};
|
|
@@ -72,8 +72,8 @@ export declare function createCreatePlatformRoute<E extends Env>(factory: Factor
|
|
|
72
72
|
data: `0x${string}`;
|
|
73
73
|
to: `0x${string}`;
|
|
74
74
|
details: {
|
|
75
|
-
functionName: string;
|
|
76
75
|
address: `0x${string}`;
|
|
76
|
+
functionName: string;
|
|
77
77
|
abi: any[];
|
|
78
78
|
args: any[];
|
|
79
79
|
};
|
|
@@ -4,16 +4,16 @@ export declare function createCreatePoolRoute<E extends Env>(factory: Factory<E>
|
|
|
4
4
|
data: `0x${string}`;
|
|
5
5
|
to: `0x${string}`;
|
|
6
6
|
details: {
|
|
7
|
-
functionName: string;
|
|
8
7
|
address: `0x${string}`;
|
|
8
|
+
functionName: string;
|
|
9
9
|
abi: any[];
|
|
10
10
|
args: any[];
|
|
11
11
|
};
|
|
12
12
|
}, 200, "json">>>, import("hono/types").H<Env, string, {
|
|
13
13
|
in: {
|
|
14
14
|
json: {
|
|
15
|
-
platform: `0x${string}`;
|
|
16
15
|
startDate: string;
|
|
16
|
+
platform: `0x${string}`;
|
|
17
17
|
hardcapAmount: string | number | bigint;
|
|
18
18
|
distribution: {
|
|
19
19
|
duration: string | number | bigint;
|
|
@@ -31,8 +31,8 @@ export declare function createCreatePoolRoute<E extends Env>(factory: Factory<E>
|
|
|
31
31
|
};
|
|
32
32
|
out: {
|
|
33
33
|
json: {
|
|
34
|
-
platform: `0x${string}`;
|
|
35
34
|
startDate: string;
|
|
35
|
+
platform: `0x${string}`;
|
|
36
36
|
hardcapAmount: bigint;
|
|
37
37
|
distribution: {
|
|
38
38
|
duration: bigint;
|
|
@@ -52,16 +52,16 @@ export declare function createCreatePoolRoute<E extends Env>(factory: Factory<E>
|
|
|
52
52
|
data: `0x${string}`;
|
|
53
53
|
to: `0x${string}`;
|
|
54
54
|
details: {
|
|
55
|
-
functionName: string;
|
|
56
55
|
address: `0x${string}`;
|
|
56
|
+
functionName: string;
|
|
57
57
|
abi: any[];
|
|
58
58
|
args: any[];
|
|
59
59
|
};
|
|
60
60
|
}, 200, "json">>>, import("hono/types").H<import("hono/utils/types").IfAnyThenEmptyObject<E extends Env ? Env extends E ? {} : E : E> & {}, string, {
|
|
61
61
|
in: {
|
|
62
62
|
json: {
|
|
63
|
-
platform: `0x${string}`;
|
|
64
63
|
startDate: string;
|
|
64
|
+
platform: `0x${string}`;
|
|
65
65
|
hardcapAmount: string | number | bigint;
|
|
66
66
|
distribution: {
|
|
67
67
|
duration: string | number | bigint;
|
|
@@ -79,8 +79,8 @@ export declare function createCreatePoolRoute<E extends Env>(factory: Factory<E>
|
|
|
79
79
|
};
|
|
80
80
|
out: {
|
|
81
81
|
json: {
|
|
82
|
-
platform: `0x${string}`;
|
|
83
82
|
startDate: string;
|
|
83
|
+
platform: `0x${string}`;
|
|
84
84
|
hardcapAmount: bigint;
|
|
85
85
|
distribution: {
|
|
86
86
|
duration: bigint;
|
|
@@ -100,8 +100,8 @@ export declare function createCreatePoolRoute<E extends Env>(factory: Factory<E>
|
|
|
100
100
|
data: `0x${string}`;
|
|
101
101
|
to: `0x${string}`;
|
|
102
102
|
details: {
|
|
103
|
-
functionName: string;
|
|
104
103
|
address: `0x${string}`;
|
|
104
|
+
functionName: string;
|
|
105
105
|
abi: any[];
|
|
106
106
|
args: any[];
|
|
107
107
|
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Factory } from "hono/factory";
|
|
2
|
+
import { Env } from "hono";
|
|
3
|
+
export declare function createDistributeRewardsRoute<E extends Env>(factory: Factory<E>): [import("hono/types").H<any, string, {}, Promise<Response & import("hono").TypedResponse<{
|
|
4
|
+
data: `0x${string}`;
|
|
5
|
+
to: `0x${string}`;
|
|
6
|
+
details: {
|
|
7
|
+
address: `0x${string}`;
|
|
8
|
+
functionName: string;
|
|
9
|
+
abi: any[];
|
|
10
|
+
args: any[];
|
|
11
|
+
};
|
|
12
|
+
}, 200, "json">>>, import("hono/types").H<Env, string, {
|
|
13
|
+
in: {
|
|
14
|
+
json: {
|
|
15
|
+
poolId: string | number | bigint;
|
|
16
|
+
amount: string | number | bigint;
|
|
17
|
+
platform: `0x${string}`;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
out: {
|
|
21
|
+
json: {
|
|
22
|
+
poolId: bigint;
|
|
23
|
+
amount: bigint;
|
|
24
|
+
platform: `0x${string}`;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
}, Promise<Response & import("hono").TypedResponse<{
|
|
28
|
+
data: `0x${string}`;
|
|
29
|
+
to: `0x${string}`;
|
|
30
|
+
details: {
|
|
31
|
+
address: `0x${string}`;
|
|
32
|
+
functionName: string;
|
|
33
|
+
abi: any[];
|
|
34
|
+
args: any[];
|
|
35
|
+
};
|
|
36
|
+
}, 200, "json">>>, import("hono/types").H<import("hono/utils/types").IfAnyThenEmptyObject<E extends Env ? Env extends E ? {} : E : E> & {}, string, {
|
|
37
|
+
in: {
|
|
38
|
+
json: {
|
|
39
|
+
poolId: string | number | bigint;
|
|
40
|
+
amount: string | number | bigint;
|
|
41
|
+
platform: `0x${string}`;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
out: {
|
|
45
|
+
json: {
|
|
46
|
+
poolId: bigint;
|
|
47
|
+
amount: bigint;
|
|
48
|
+
platform: `0x${string}`;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}, Promise<Response & import("hono").TypedResponse<{
|
|
52
|
+
data: `0x${string}`;
|
|
53
|
+
to: `0x${string}`;
|
|
54
|
+
details: {
|
|
55
|
+
address: `0x${string}`;
|
|
56
|
+
functionName: string;
|
|
57
|
+
abi: any[];
|
|
58
|
+
args: any[];
|
|
59
|
+
};
|
|
60
|
+
}, 200, "json">>>];
|
|
61
|
+
//# sourceMappingURL=distributeRewards.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"distributeRewards.d.ts","sourceRoot":"","sources":["../../../../../src/staking-templates/templates/rwa/v0/distributeRewards.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAU3B,wBAAgB,4BAA4B,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAwC9E"}
|