@aquaprotocol/sdk
Advanced tools
Comparing version 0.0.94 to 0.0.95
@@ -26,2 +26,5 @@ /// <reference types="node" /> | ||
}; | ||
export declare const defaultTreasury: { | ||
mainnet: Address; | ||
}; | ||
export declare const TEST_JETTON_MASTER: Address; | ||
@@ -31,1 +34,9 @@ export declare const STORM_PUBLICKEY: Buffer; | ||
export declare const TESTNET_PUBLICKEY: Buffer; | ||
export declare const SEND_MODE: { | ||
CARRY_ALL_REMAINING_BALANCE: number; | ||
CARRY_ALL_REMAINING_INCOMING_VALUE: number; | ||
DESTROY_ACCOUNT_IF_ZERO: number; | ||
PAY_GAS_SEPARATELY: number; | ||
IGNORE_ERRORS: number; | ||
NONE: number; | ||
}; |
@@ -42,3 +42,4 @@ export declare enum ErrorCodes { | ||
unknown_action = 65535, | ||
unknown_action_bounced = 65520 | ||
unknown_action_bounced = 65520, | ||
unauthorized_sudo_request = 80 | ||
} |
@@ -12,2 +12,3 @@ export declare enum OpCodes { | ||
claim_keeper_reward = 3903608574, | ||
send_message = 44756252, | ||
setup_asset = 620646931, | ||
@@ -14,0 +15,0 @@ get_excess_tons = 2529984004, |
import { Address, Cell, Contract, ContractProvider, Sender } from '@ton/ton'; | ||
import { AllowedKeys, ChangeCoeffParams, FeeStep, InternalLiquidateInitParams, InternalMintParams, InternalRepayParams, InternalWithdrawParams, LiquidateParams, MasterAssetInfo, MasterData, MasterInitState, MasterSetupAssetParams, MintParams, RedeemParams, RepayParams, WithdrawParams } from './types'; | ||
import { AllowedKeys, ChangeCoeffParams, FeeStep, InternalLiquidateInitParams, InternalMintParams, InternalRepayParams, InternalWithdrawParams, LiquidateParams, MasterAssetInfo, MasterData, MasterInitState, MasterSetupAssetParams, MintParams, RedeemParams, RepayParams, SudoMessageParams, WithdrawParams } from './types'; | ||
import { ContractMode } from '../lib/types'; | ||
import { BigNumber } from 'bignumber.js'; | ||
export declare type MasterContent = { | ||
@@ -47,3 +46,3 @@ type: 0 | 1; | ||
getJettonData(provider: ContractProvider): Promise<{ | ||
totalSupply: BigNumber; | ||
totalSupply: import("bignumber.js").BigNumber; | ||
mintable: boolean; | ||
@@ -59,3 +58,3 @@ adminAddress: Address; | ||
getAllowedKeys(provider: ContractProvider): Promise<AllowedKeys>; | ||
getTotalSupply(provider: ContractProvider): Promise<BigNumber>; | ||
getTotalSupply(provider: ContractProvider): Promise<import("bignumber.js").BigNumber>; | ||
getAdminAddress(provider: ContractProvider): Promise<Address>; | ||
@@ -80,2 +79,3 @@ getContent(provider: ContractProvider): Promise<Cell>; | ||
static internalLiquidateInitMessage(params: InternalLiquidateInitParams): Cell; | ||
static sudoMessage(params: SudoMessageParams): Cell; | ||
} |
/// <reference types="node" /> | ||
import { BigNumber } from 'bignumber.js'; | ||
import { Address, Cell } from '@ton/ton'; | ||
import { Address, Cell, Message } from '@ton/ton'; | ||
import { ContractMode } from '../lib/types'; | ||
@@ -147,1 +147,5 @@ export declare type FeeStep = { | ||
}; | ||
export declare type SudoMessageParams = { | ||
mode: number; | ||
message: Message; | ||
}; |
{ | ||
"name": "@aquaprotocol/sdk", | ||
"version": "0.0.94", | ||
"version": "0.0.95", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
1428140
11549
7