@mintbase-js/sdk
Advanced tools
Comparing version 0.0.4-query-token-by-id.0 to 0.0.4-query-token-by-id.1
@@ -1,11 +0,11 @@ | ||
import { TransactionArgs } from '../execute'; | ||
import { TransactionArgs, TransactionAttachments } from '../execute'; | ||
import { BurnArgs, DeployTokenContractArgs, TransferTokenContractOwnership, MintArgs, AddRemoveMinterArgs, BatchChangeMinters, RevokeAccountArgs } from './token.types'; | ||
export declare const burn: (args: BurnArgs) => TransactionArgs; | ||
export declare const deployContract: (args: DeployTokenContractArgs) => TransactionArgs; | ||
export declare const transferContractOwnership: (args: TransferTokenContractOwnership) => TransactionArgs; | ||
export declare const mint: (args: MintArgs) => TransactionArgs; | ||
export declare const burn: (args: BurnArgs) => TransactionArgs & TransactionAttachments; | ||
export declare const deployContract: (args: DeployTokenContractArgs) => TransactionArgs & TransactionAttachments; | ||
export declare const transferContractOwnership: (args: TransferTokenContractOwnership) => TransactionArgs & TransactionAttachments; | ||
export declare const mint: (args: MintArgs) => TransactionArgs & TransactionAttachments; | ||
export declare const mintMore: () => void; | ||
export declare const addMinter: (args: AddRemoveMinterArgs) => TransactionArgs; | ||
export declare const removeMinter: (args: AddRemoveMinterArgs) => TransactionArgs; | ||
export declare const batchChangeMinters: (args: BatchChangeMinters) => TransactionArgs; | ||
export declare const revoke: (args: RevokeAccountArgs) => TransactionArgs; | ||
export declare const addMinter: (args: AddRemoveMinterArgs) => TransactionArgs & TransactionAttachments; | ||
export declare const removeMinter: (args: AddRemoveMinterArgs) => TransactionArgs & TransactionAttachments; | ||
export declare const batchChangeMinters: (args: BatchChangeMinters) => TransactionArgs & TransactionAttachments; | ||
export declare const revoke: (args: RevokeAccountArgs) => TransactionArgs & TransactionAttachments; |
@@ -16,2 +16,4 @@ "use strict"; | ||
}, | ||
gas: constants_1.GAS_CONSTANTS.DEFAULT_GAS, | ||
deposit: constants_1.DEPOSIT_CONSTANTS.ONE_YOCTO, | ||
}; | ||
@@ -42,2 +44,4 @@ }; | ||
args: data, | ||
gas: constants_1.GAS_CONSTANTS.DEFAULT_GAS, | ||
deposit: '6500000000000000000000000', | ||
}; | ||
@@ -58,2 +62,4 @@ }; | ||
methodName: constants_1.TOKEN_METHOD_NAMES.TRANSFER_TOKEN_CONTRACT_OWNERSHIP, | ||
gas: constants_1.GAS_CONSTANTS.DEFAULT_GAS, | ||
deposit: constants_1.DEPOSIT_CONSTANTS.ONE_YOCTO, | ||
}; | ||
@@ -68,2 +74,4 @@ }; | ||
methodName: constants_1.TOKEN_METHOD_NAMES.MINT, | ||
gas: constants_1.GAS_CONSTANTS.DEFAULT_GAS, | ||
deposit: constants_1.DEPOSIT_CONSTANTS.ONE_YOCTO, | ||
}; | ||
@@ -86,2 +94,4 @@ }; | ||
methodName: constants_1.TOKEN_METHOD_NAMES.ADD_MINTER, | ||
gas: constants_1.GAS_CONSTANTS.DEFAULT_GAS, | ||
deposit: constants_1.DEPOSIT_CONSTANTS.ONE_YOCTO, | ||
}; | ||
@@ -99,2 +109,4 @@ }; | ||
methodName: constants_1.TOKEN_METHOD_NAMES.REMOVE_MINTER, | ||
gas: constants_1.GAS_CONSTANTS.DEFAULT_GAS, | ||
deposit: constants_1.DEPOSIT_CONSTANTS.ONE_YOCTO, | ||
}; | ||
@@ -112,2 +124,4 @@ }; | ||
methodName: constants_1.TOKEN_METHOD_NAMES.BATCH_CHANGE_MINTERS, | ||
gas: constants_1.GAS_CONSTANTS.DEFAULT_GAS, | ||
deposit: constants_1.DEPOSIT_CONSTANTS.ONE_YOCTO, | ||
}; | ||
@@ -128,2 +142,4 @@ }; | ||
methodName: constants_1.TOKEN_METHOD_NAMES.TOKEN_ACCOUNT_REVOKE, | ||
gas: constants_1.GAS_CONSTANTS.DEFAULT_GAS, | ||
deposit: constants_1.DEPOSIT_CONSTANTS.ONE_YOCTO, | ||
}; | ||
@@ -139,2 +155,4 @@ } | ||
methodName: constants_1.TOKEN_METHOD_NAMES.TOKEN_ACCOUNT_REVOKE_ALL, | ||
gas: constants_1.GAS_CONSTANTS.DEFAULT_GAS, | ||
deposit: constants_1.DEPOSIT_CONSTANTS.ONE_YOCTO, | ||
}; | ||
@@ -141,0 +159,0 @@ } |
{ | ||
"name": "@mintbase-js/sdk", | ||
"version": "0.0.4-query-token-by-id.0", | ||
"version": "0.0.4-query-token-by-id.1", | ||
"description": "Core functions for Mintbase JS SDK", | ||
@@ -25,3 +25,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "9c2795d3e501dad5d59f1245a8b5b470dbc6ff63" | ||
"gitHead": "c243cb2771d91fb4ba9f5e24c727ac9514642bd3" | ||
} |
Sorry, the diff of this file is not supported yet
54031
747