@aurigami/sdk 1.6.6 → 1.6.7
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/SDK.d.ts +2 -0
- package/dist/abis/index.d.ts +2 -1
- package/dist/contracts/misc.d.ts +1 -1
- package/dist/sdk.cjs.development.js +1404 -1371
- package/dist/sdk.cjs.development.js.map +1 -1
- package/dist/sdk.cjs.production.min.js +1 -1
- package/dist/sdk.cjs.production.min.js.map +1 -1
- package/dist/sdk.esm.js +789 -756
- package/dist/sdk.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/SDK.ts +16 -0
- package/src/abis/index.ts +2 -0
- package/src/contracts/misc.ts +4 -2
- package/ChangeLog.md +0 -163
package/dist/SDK.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TransactionResponse } from '@ethersproject/abstract-provider';
|
|
2
|
+
import BigNumber from 'bignumber.js';
|
|
2
3
|
import { MiscRead, StakingRead } from './contracts';
|
|
3
4
|
import { AuriEnv, BlockchainEntity, BlockchainEntityRead, Token, TokenAmount } from './entities';
|
|
4
5
|
import * as types from './types';
|
|
@@ -35,6 +36,7 @@ export declare class SdkRead extends BlockchainEntityRead {
|
|
|
35
36
|
* - Ply in vesting contract
|
|
36
37
|
*/
|
|
37
38
|
getPlyCirculatingSupply(): Promise<TokenAmount>;
|
|
39
|
+
getUltilizations(userAddr: types.Address): Promise<BigNumber>;
|
|
38
40
|
}
|
|
39
41
|
export declare class SdkReadWrite extends SdkRead {
|
|
40
42
|
/**
|
package/dist/abis/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import EthRepayHelperABI from '@aurigami/contracts/artifacts/contracts/EthRepayH
|
|
|
9
9
|
import EIP20InterfaceABI from '@aurigami/contracts/artifacts/contracts/interfaces/EIP20Interface.sol/EIP20Interface.json';
|
|
10
10
|
import IUniswapV2PairABI from '@aurigami/contracts/artifacts/contracts/mock/IUniswapV2Pair.sol/IUniswapV2Pair.json';
|
|
11
11
|
import Multicall2ABI from '@aurigami/contracts/artifacts/contracts/mock/Multicall2.sol/Multicall2.json';
|
|
12
|
+
import UltilizationHelperABI from '@aurigami/contracts/artifacts/contracts/mock/UltilizationHelper.sol/UltilizationHelper.json';
|
|
12
13
|
import PulpABI from '@aurigami/contracts/artifacts/contracts/PULP.sol/PULP.json';
|
|
13
14
|
import ReferralDirectoryABI from '@aurigami/contracts/artifacts/contracts/ReferralDirectory.sol/ReferralDirectory.json';
|
|
14
|
-
export { AuriOracleABI, IUniswapV2PairABI, AuriAirdropABI, AuriFairLaunchABI, AuriLensABI, ComptrollerABI, EIP20InterfaceABI, ReferralDirectoryABI, AuErc20ABI, AuETHABI, EthRepayHelperABI, Multicall2ABI, PulpABI, };
|
|
15
|
+
export { AuriOracleABI, IUniswapV2PairABI, AuriAirdropABI, AuriFairLaunchABI, AuriLensABI, ComptrollerABI, EIP20InterfaceABI, ReferralDirectoryABI, AuErc20ABI, AuETHABI, EthRepayHelperABI, Multicall2ABI, PulpABI, UltilizationHelperABI };
|
package/dist/contracts/misc.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { StakingRead } from '../contracts';
|
|
2
1
|
import { AuriEnv, BlockchainEntityRead, Token, TokenAmount } from '../entities';
|
|
3
2
|
import * as types from '../types';
|
|
3
|
+
import { StakingRead } from './Staking';
|
|
4
4
|
export declare class MiscRead extends BlockchainEntityRead {
|
|
5
5
|
readonly env: AuriEnv;
|
|
6
6
|
readonly stakingRead: StakingRead;
|