@augustdigital/sdk 4.24.3-alpha.2 → 4.24.3
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/LendingPoolV2.d.ts +1413 -55
- package/lib/abis/LendingPoolV2.js.map +1 -1
- package/lib/abis/LendingPoolV3.d.ts +1677 -35
- package/lib/abis/LendingPoolV3.js.map +1 -1
- package/lib/abis/RewardDistributor.d.ts +267 -46
- package/lib/abis/RewardDistributor.js.map +1 -1
- package/lib/abis/TokenizedVaultV2DepositWithPermit.d.ts +1456 -78
- package/lib/abis/TokenizedVaultV2DepositWithPermit.js.map +1 -1
- package/lib/abis/TokenizedVaultV2SenderAllocationWhitelist.d.ts +454 -0
- package/lib/abis/TokenizedVaultV2SenderAllocationWhitelist.js +327 -0
- package/lib/abis/TokenizedVaultV2SenderAllocationWhitelist.js.map +1 -0
- package/lib/abis/TokenizedVaultV2WhitelistedAllocation.d.ts +1466 -0
- package/lib/abis/TokenizedVaultV2WhitelistedAllocation.js +1092 -0
- package/lib/abis/TokenizedVaultV2WhitelistedAllocation.js.map +1 -0
- package/lib/abis/index.d.ts +2 -0
- package/lib/abis/index.js +2 -0
- package/lib/abis/index.js.map +1 -1
- package/lib/adapters/evm/index.d.ts +20 -1
- package/lib/adapters/evm/index.js +16 -0
- package/lib/adapters/evm/index.js.map +1 -1
- package/lib/adapters/solana/getters.js +2 -1
- package/lib/adapters/solana/getters.js.map +1 -1
- package/lib/adapters/solana/index.js.map +1 -1
- package/lib/adapters/sui/index.js.map +1 -1
- package/lib/adapters/sui/transformer.js +4 -1
- package/lib/adapters/sui/transformer.js.map +1 -1
- package/lib/core/constants/core.d.ts +1 -1
- package/lib/core/constants/core.js +4 -4
- package/lib/core/constants/core.js.map +1 -1
- package/lib/core/constants/vaults.d.ts +2 -0
- package/lib/core/constants/vaults.js +3 -1
- package/lib/core/constants/vaults.js.map +1 -1
- package/lib/core/constants/web3.js +6 -1
- package/lib/core/constants/web3.js.map +1 -1
- package/lib/core/fetcher.d.ts +2 -3
- package/lib/core/fetcher.js +7 -5
- package/lib/core/fetcher.js.map +1 -1
- package/lib/core/helpers/core.d.ts +1 -1
- package/lib/core/helpers/vaults.d.ts +1 -0
- package/lib/core/helpers/vaults.js +19 -1
- package/lib/core/helpers/vaults.js.map +1 -1
- package/lib/core/helpers/web3.d.ts +6 -4
- package/lib/core/helpers/web3.js.map +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -1
- package/lib/main.d.ts +5 -1
- package/lib/main.js +13 -0
- package/lib/main.js.map +1 -1
- package/lib/modules/sub-accounts/fetcher.d.ts +11 -0
- package/lib/modules/sub-accounts/fetcher.js +55 -0
- package/lib/modules/sub-accounts/fetcher.js.map +1 -0
- package/lib/modules/sub-accounts/index.d.ts +2 -0
- package/lib/modules/sub-accounts/index.js +19 -0
- package/lib/modules/sub-accounts/index.js.map +1 -0
- package/lib/modules/sub-accounts/main.d.ts +118 -0
- package/lib/modules/sub-accounts/main.js +44 -0
- package/lib/modules/sub-accounts/main.js.map +1 -0
- package/lib/modules/sub-accounts/utils.d.ts +103 -0
- package/lib/modules/sub-accounts/utils.js +109 -0
- package/lib/modules/sub-accounts/utils.js.map +1 -0
- package/lib/modules/vaults/adapter.helpers.js +2 -1
- package/lib/modules/vaults/adapter.helpers.js.map +1 -1
- package/lib/modules/vaults/getters.js +129 -87
- package/lib/modules/vaults/getters.js.map +1 -1
- package/lib/modules/vaults/main.js +9 -6
- package/lib/modules/vaults/main.js.map +1 -1
- package/lib/modules/vaults/read.actions.d.ts +21 -3
- package/lib/modules/vaults/read.actions.js +130 -1
- package/lib/modules/vaults/read.actions.js.map +1 -1
- package/lib/modules/vaults/utils.js +11 -5
- package/lib/modules/vaults/utils.js.map +1 -1
- package/lib/modules/vaults/write.actions.js +8 -7
- package/lib/modules/vaults/write.actions.js.map +1 -1
- package/lib/services/subgraph/vaults.js +6 -6
- package/lib/services/subgraph/vaults.js.map +1 -1
- package/lib/types/index.d.ts +2 -0
- package/lib/types/index.js +2 -0
- package/lib/types/index.js.map +1 -1
- package/lib/types/sub-accounts.d.ts +104 -0
- package/lib/types/sub-accounts.js +3 -0
- package/lib/types/sub-accounts.js.map +1 -0
- package/lib/types/typed-contract.d.ts +38 -0
- package/lib/types/typed-contract.js +3 -0
- package/lib/types/typed-contract.js.map +1 -0
- package/lib/types/vaults.d.ts +2 -0
- package/lib/types/vaults.js.map +1 -1
- package/lib/types/webserver.d.ts +2 -0
- package/package.json +12 -12
- package/lib/abis/TokenizedVaultV2WithDepositWithPermit.d.ts +0 -85
- package/lib/abis/TokenizedVaultV2WithDepositWithPermit.js +0 -1878
- package/lib/abis/TokenizedVaultV2WithDepositWithPermit.js.map +0 -1
- package/lib/core/constants.adapters.d.ts +0 -117
- package/lib/core/constants.adapters.js +0 -160
- package/lib/core/constants.adapters.js.map +0 -1
- package/lib/core/constants.core.d.ts +0 -78
- package/lib/core/constants.core.js +0 -75
- package/lib/core/constants.core.js.map +0 -1
- package/lib/core/constants.vaults.d.ts +0 -64
- package/lib/core/constants.vaults.js +0 -156
- package/lib/core/constants.vaults.js.map +0 -1
- package/lib/core/constants.web3.d.ts +0 -31
- package/lib/core/constants.web3.js +0 -100
- package/lib/core/constants.web3.js.map +0 -1
- package/lib/core/helpers.adapters.d.ts +0 -9
- package/lib/core/helpers.adapters.js +0 -28
- package/lib/core/helpers.adapters.js.map +0 -1
- package/lib/core/helpers.core.d.ts +0 -48
- package/lib/core/helpers.core.js +0 -210
- package/lib/core/helpers.core.js.map +0 -1
- package/lib/core/helpers.signer.d.ts +0 -9
- package/lib/core/helpers.signer.js +0 -54
- package/lib/core/helpers.signer.js.map +0 -1
- package/lib/core/helpers.vaults.d.ts +0 -36
- package/lib/core/helpers.vaults.js +0 -145
- package/lib/core/helpers.vaults.js.map +0 -1
- package/lib/core/helpers.web3.d.ts +0 -95
- package/lib/core/helpers.web3.js +0 -376
- package/lib/core/helpers.web3.js.map +0 -1
- package/lib/verify.d.ts +0 -2
- package/lib/verify.js +0 -33
- package/lib/verify.js.map +0 -1
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { IAddress } from './web3';
|
|
2
|
+
export interface IWSSubAccountHealthFactor {
|
|
3
|
+
id: IAddress;
|
|
4
|
+
datetime: string;
|
|
5
|
+
health_factor: number;
|
|
6
|
+
total_collateral_value: number;
|
|
7
|
+
total_loan_value: number;
|
|
8
|
+
}
|
|
9
|
+
export interface IWSSubaccountSummaryToken {
|
|
10
|
+
type: string;
|
|
11
|
+
name: string;
|
|
12
|
+
address: string;
|
|
13
|
+
chain: number;
|
|
14
|
+
symbol: string;
|
|
15
|
+
decimals: number;
|
|
16
|
+
img_url: string;
|
|
17
|
+
}
|
|
18
|
+
export interface IWSSubaccountSummaryPortfolioToken {
|
|
19
|
+
value: number;
|
|
20
|
+
balance: number;
|
|
21
|
+
token: IWSSubaccountSummaryToken;
|
|
22
|
+
}
|
|
23
|
+
export interface IWSSubaccountSummaryFullToken extends IWSSubaccountSummaryToken {
|
|
24
|
+
price: number;
|
|
25
|
+
raw_balance: number;
|
|
26
|
+
balance: number;
|
|
27
|
+
value: number;
|
|
28
|
+
}
|
|
29
|
+
export interface IWSSubaccountSummaryChain {
|
|
30
|
+
name: string;
|
|
31
|
+
chain_id: number;
|
|
32
|
+
}
|
|
33
|
+
export interface IWSSubaccountSummaryLoanBook {
|
|
34
|
+
address: IAddress;
|
|
35
|
+
lender: IAddress;
|
|
36
|
+
borrower: IAddress;
|
|
37
|
+
state: string;
|
|
38
|
+
total_repaid: number;
|
|
39
|
+
principal_token: IWSSubaccountSummaryToken & {
|
|
40
|
+
token_type: number;
|
|
41
|
+
discount_factor: number;
|
|
42
|
+
price: number;
|
|
43
|
+
};
|
|
44
|
+
principal_amount: number;
|
|
45
|
+
interest_amount: number;
|
|
46
|
+
upcoming_payment: {
|
|
47
|
+
amount: number;
|
|
48
|
+
due_date: string;
|
|
49
|
+
};
|
|
50
|
+
apr: number;
|
|
51
|
+
initial_principal_amount: number;
|
|
52
|
+
deployed_date: string;
|
|
53
|
+
payment_interval: number;
|
|
54
|
+
total_interest_payment_fees: number;
|
|
55
|
+
}
|
|
56
|
+
export interface IWSSubaccountSummaryLoan {
|
|
57
|
+
subaccount_address: IAddress;
|
|
58
|
+
book: IWSSubaccountSummaryLoanBook;
|
|
59
|
+
is_borrow: boolean;
|
|
60
|
+
debt_info: {
|
|
61
|
+
interest_owed: number;
|
|
62
|
+
principal_debt_owed: number;
|
|
63
|
+
interest_repaid: number;
|
|
64
|
+
};
|
|
65
|
+
credit_info: {
|
|
66
|
+
net_interest_owed: number;
|
|
67
|
+
principal_debt_owed: number;
|
|
68
|
+
net_interest_repaid: number;
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
export interface IWSSubaccountSummaryLoanbook {
|
|
72
|
+
loans: IWSSubaccountSummaryLoan[];
|
|
73
|
+
total_debt: number;
|
|
74
|
+
total_credit: number;
|
|
75
|
+
aggregates_by_token: unknown[];
|
|
76
|
+
}
|
|
77
|
+
export interface IWSSubaccountSummaryPortfolio {
|
|
78
|
+
tokens: IWSSubaccountSummaryPortfolioToken[];
|
|
79
|
+
margin_balances: unknown[];
|
|
80
|
+
collateral_balances: unknown[];
|
|
81
|
+
cefi_positions: unknown[];
|
|
82
|
+
defi_positions: unknown[];
|
|
83
|
+
trs_positions: unknown[];
|
|
84
|
+
strategy_contract_positions: unknown[];
|
|
85
|
+
legacy_hedger_positions: unknown[];
|
|
86
|
+
otc_positions: unknown[];
|
|
87
|
+
total_value: number;
|
|
88
|
+
discounted_value: number;
|
|
89
|
+
}
|
|
90
|
+
export interface IWSSubaccountSummary {
|
|
91
|
+
address: IAddress;
|
|
92
|
+
name: string;
|
|
93
|
+
type: 'subaccount' | 'eoa';
|
|
94
|
+
portfolio: IWSSubaccountSummaryPortfolio;
|
|
95
|
+
loanbook: IWSSubaccountSummaryLoanbook;
|
|
96
|
+
chains: IWSSubaccountSummaryChain[];
|
|
97
|
+
tokens: IWSSubaccountSummaryFullToken[];
|
|
98
|
+
total_account_value: number;
|
|
99
|
+
total_collateral_value: number;
|
|
100
|
+
total_loan_value: number;
|
|
101
|
+
health_factor: number | null;
|
|
102
|
+
net_account_value: number;
|
|
103
|
+
total_equity_value: number;
|
|
104
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sub-accounts.js","sourceRoot":"","sources":["../../src.ts/types/sub-accounts.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { BaseContract, ContractTransaction, ContractTransactionResponse, DeferredTopicFilter, EventFragment, FunctionFragment, Result, Overrides } from 'ethers';
|
|
2
|
+
import type { Abi, AbiParametersToPrimitiveTypes, ExtractAbiEvent, ExtractAbiEventNames, ExtractAbiEvents, ExtractAbiFunction, ExtractAbiFunctionNames, ExtractAbiFunctions } from 'abitype';
|
|
3
|
+
type AsArray<T> = T extends readonly unknown[] ? T : never;
|
|
4
|
+
export type TypedContractFunctionResult<TAbi extends Abi, TFunctionName extends string, TOutputArgs = AbiParametersToPrimitiveTypes<ExtractAbiFunction<TAbi, TFunctionName>['outputs']>> = TOutputArgs extends readonly [] ? void : TOutputArgs extends readonly [infer Arg] ? Arg : TOutputArgs;
|
|
5
|
+
export type TypedFragment<TAbi extends Abi, TFunctionName extends string, TFunction extends ExtractAbiFunctions<TAbi> = ExtractAbiFunction<TAbi, TFunctionName>> = Omit<FunctionFragment, 'inputs' | 'outputs' | 'stateMutability' | 'name' | 'type'> & {
|
|
6
|
+
name: TFunction['name'];
|
|
7
|
+
type: TFunction['type'];
|
|
8
|
+
inputs: TFunction['inputs'];
|
|
9
|
+
outputs: TFunction['outputs'];
|
|
10
|
+
stateMutability: TFunction['stateMutability'];
|
|
11
|
+
};
|
|
12
|
+
export interface TypedContractFunction<TAbi extends Abi, TFunctionName extends string, TFunction extends ExtractAbiFunctions<TAbi> = ExtractAbiFunction<TAbi, TFunctionName>, TInputArgs extends readonly unknown[] = AsArray<AbiParametersToPrimitiveTypes<TFunction['inputs']>>, TResult = TypedContractFunctionResult<TAbi, TFunctionName>, TFragment = TypedFragment<TAbi, TFunctionName>> {
|
|
13
|
+
(...args: [...TInputArgs, overrides?: Overrides]): Promise<TFunction['stateMutability'] extends 'view' | 'pure' ? TResult : ContractTransactionResponse>;
|
|
14
|
+
name: TFunctionName;
|
|
15
|
+
fragment: TFragment;
|
|
16
|
+
getFragment(...args: [...TInputArgs]): TFragment;
|
|
17
|
+
populateTransaction(...args: [...TInputArgs, overrides?: Overrides]): Promise<ContractTransaction>;
|
|
18
|
+
staticCall(...args: [...TInputArgs, overrides?: Overrides]): Promise<TResult>;
|
|
19
|
+
send(...args: [...TInputArgs, overrides?: Overrides]): Promise<ContractTransactionResponse>;
|
|
20
|
+
estimateGas(...args: [...TInputArgs, overrides?: Overrides]): Promise<bigint>;
|
|
21
|
+
staticCallResult(...args: [...TInputArgs, overrides?: Overrides]): Promise<Result>;
|
|
22
|
+
}
|
|
23
|
+
export interface TypedContractEvent<TAbi extends Abi, TEventName extends string, TEvent extends ExtractAbiEvents<TAbi> = ExtractAbiEvent<TAbi, TEventName>, TEventArgs extends readonly unknown[] = AsArray<Partial<AbiParametersToPrimitiveTypes<TEvent['inputs']>>>> {
|
|
24
|
+
(...args: [...TEventArgs]): DeferredTopicFilter;
|
|
25
|
+
name: TEventName;
|
|
26
|
+
fragment: EventFragment;
|
|
27
|
+
getFragment(...args: [...TEventArgs]): EventFragment;
|
|
28
|
+
}
|
|
29
|
+
export type TypedContract<TAbi extends Abi> = Omit<BaseContract, 'getFunction' | 'getEvent'> & {
|
|
30
|
+
[Method in ExtractAbiFunctionNames<TAbi>]: TypedContractFunction<TAbi, Method>;
|
|
31
|
+
} & {
|
|
32
|
+
getFunction<T extends ExtractAbiFunctionNames<TAbi>>(key: T | TypedFragment<TAbi, T>): TypedContractFunction<TAbi, T>;
|
|
33
|
+
getEvent<T extends ExtractAbiEventNames<TAbi>>(key: T | EventFragment): TypedContractEvent<TAbi, T>;
|
|
34
|
+
filters: {
|
|
35
|
+
[EventName in ExtractAbiEventNames<TAbi>]: TypedContractEvent<TAbi, EventName>;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typed-contract.js","sourceRoot":"","sources":["../../src.ts/types/typed-contract.ts"],"names":[],"mappings":""}
|
package/lib/types/vaults.d.ts
CHANGED
|
@@ -125,6 +125,7 @@ export interface IVault {
|
|
|
125
125
|
tags: string[];
|
|
126
126
|
isFeatured: boolean;
|
|
127
127
|
isSpotlighted?: boolean;
|
|
128
|
+
withdrawalOnly?: boolean;
|
|
128
129
|
isVisible: boolean;
|
|
129
130
|
reserveTarget: number;
|
|
130
131
|
reserveTolerance: number;
|
|
@@ -174,6 +175,7 @@ export interface IVault {
|
|
|
174
175
|
}[];
|
|
175
176
|
enabled_historical_price_horizons?: number[];
|
|
176
177
|
latest_reported_tvl?: number | null;
|
|
178
|
+
cachedAt?: string | null;
|
|
177
179
|
}
|
|
178
180
|
export declare enum VaultRedemptionStatus {
|
|
179
181
|
AWAITING_COOLDOWN = "awaiting_cooldown",
|
package/lib/types/vaults.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vaults.js","sourceRoot":"","sources":["../../src.ts/types/vaults.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"vaults.js","sourceRoot":"","sources":["../../src.ts/types/vaults.ts"],"names":[],"mappings":";;;AAgOA,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,gEAAuC,CAAA;IACvC,0DAAiC,CAAA;AACnC,CAAC,EAHW,qBAAqB,qCAArB,qBAAqB,QAGhC"}
|
package/lib/types/webserver.d.ts
CHANGED
|
@@ -485,6 +485,7 @@ export interface ITokenizedVault {
|
|
|
485
485
|
public_type: 'Lending' | 'Defi Yield' | 'Pre-deposit';
|
|
486
486
|
is_featured: boolean;
|
|
487
487
|
is_spotlighted?: boolean;
|
|
488
|
+
withdrawal_only?: boolean | null;
|
|
488
489
|
is_visible: boolean;
|
|
489
490
|
weekly_performance_fee_bps: number;
|
|
490
491
|
platform_fee_override: {
|
|
@@ -517,6 +518,7 @@ export interface ITokenizedVault {
|
|
|
517
518
|
max_drawdown: number | null;
|
|
518
519
|
daily_pnl_per_share: Record<string, number>;
|
|
519
520
|
latest_reported_tvl: number | null;
|
|
521
|
+
cached_at?: string | null;
|
|
520
522
|
}
|
|
521
523
|
export interface IWSVaultHistoricalApy {
|
|
522
524
|
data: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@augustdigital/sdk",
|
|
3
|
-
"version": "4.24.3
|
|
3
|
+
"version": "4.24.3",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"augustdigital",
|
|
@@ -12,16 +12,6 @@
|
|
|
12
12
|
"author": "August Digital",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"description": "JS SDK powering the August Digital ecosystem.",
|
|
15
|
-
"scripts": {
|
|
16
|
-
"build": "tsc",
|
|
17
|
-
"test": "pnpm build && cross-env node dist/test",
|
|
18
|
-
"test:jest": "jest",
|
|
19
|
-
"test:jest:watch": "jest --watch",
|
|
20
|
-
"test:jest:coverage": "jest --coverage",
|
|
21
|
-
"clean": "rm -rf ./lib",
|
|
22
|
-
"format": "eslint . --fix",
|
|
23
|
-
"lint-sdk": "lint-staged"
|
|
24
|
-
},
|
|
25
15
|
"lint-staged": {
|
|
26
16
|
"*.{ts,tsx,js,jsx,json}": [
|
|
27
17
|
"eslint --fix"
|
|
@@ -63,5 +53,15 @@
|
|
|
63
53
|
"viem": {
|
|
64
54
|
"optional": true
|
|
65
55
|
}
|
|
56
|
+
},
|
|
57
|
+
"scripts": {
|
|
58
|
+
"build": "tsc",
|
|
59
|
+
"test": "pnpm build && cross-env node dist/test",
|
|
60
|
+
"test:jest": "jest",
|
|
61
|
+
"test:jest:watch": "jest --watch",
|
|
62
|
+
"test:jest:coverage": "jest --coverage",
|
|
63
|
+
"clean": "rm -rf ./lib",
|
|
64
|
+
"format": "eslint . --fix",
|
|
65
|
+
"lint-sdk": "lint-staged"
|
|
66
66
|
}
|
|
67
|
-
}
|
|
67
|
+
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
export declare const TokenizedVaultV2WithDepositWithPermit: (
|
|
2
|
-
| {
|
|
3
|
-
type: string;
|
|
4
|
-
inputs: any[];
|
|
5
|
-
stateMutability: string;
|
|
6
|
-
name?: undefined;
|
|
7
|
-
outputs?: undefined;
|
|
8
|
-
anonymous?: undefined;
|
|
9
|
-
}
|
|
10
|
-
| {
|
|
11
|
-
type: string;
|
|
12
|
-
name: string;
|
|
13
|
-
inputs: {
|
|
14
|
-
name: string;
|
|
15
|
-
type: string;
|
|
16
|
-
internalType: string;
|
|
17
|
-
}[];
|
|
18
|
-
outputs: {
|
|
19
|
-
name: string;
|
|
20
|
-
type: string;
|
|
21
|
-
internalType: string;
|
|
22
|
-
}[];
|
|
23
|
-
stateMutability: string;
|
|
24
|
-
anonymous?: undefined;
|
|
25
|
-
}
|
|
26
|
-
| {
|
|
27
|
-
type: string;
|
|
28
|
-
name: string;
|
|
29
|
-
inputs: {
|
|
30
|
-
name: string;
|
|
31
|
-
type: string;
|
|
32
|
-
internalType: string;
|
|
33
|
-
components: {
|
|
34
|
-
name: string;
|
|
35
|
-
type: string;
|
|
36
|
-
internalType: string;
|
|
37
|
-
}[];
|
|
38
|
-
}[];
|
|
39
|
-
outputs: any[];
|
|
40
|
-
stateMutability: string;
|
|
41
|
-
anonymous?: undefined;
|
|
42
|
-
}
|
|
43
|
-
| {
|
|
44
|
-
type: string;
|
|
45
|
-
name: string;
|
|
46
|
-
inputs: any[];
|
|
47
|
-
outputs: {
|
|
48
|
-
name: string;
|
|
49
|
-
type: string;
|
|
50
|
-
internalType: string;
|
|
51
|
-
components: {
|
|
52
|
-
name: string;
|
|
53
|
-
type: string;
|
|
54
|
-
internalType: string;
|
|
55
|
-
}[];
|
|
56
|
-
}[];
|
|
57
|
-
stateMutability: string;
|
|
58
|
-
anonymous?: undefined;
|
|
59
|
-
}
|
|
60
|
-
| {
|
|
61
|
-
type: string;
|
|
62
|
-
name: string;
|
|
63
|
-
inputs: {
|
|
64
|
-
name: string;
|
|
65
|
-
type: string;
|
|
66
|
-
indexed: boolean;
|
|
67
|
-
internalType: string;
|
|
68
|
-
}[];
|
|
69
|
-
anonymous: boolean;
|
|
70
|
-
stateMutability?: undefined;
|
|
71
|
-
outputs?: undefined;
|
|
72
|
-
}
|
|
73
|
-
| {
|
|
74
|
-
type: string;
|
|
75
|
-
name: string;
|
|
76
|
-
inputs: {
|
|
77
|
-
name: string;
|
|
78
|
-
type: string;
|
|
79
|
-
internalType: string;
|
|
80
|
-
}[];
|
|
81
|
-
stateMutability?: undefined;
|
|
82
|
-
outputs?: undefined;
|
|
83
|
-
anonymous?: undefined;
|
|
84
|
-
}
|
|
85
|
-
)[];
|