rsk-multi-token-sdk
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -20,2 +20,3 @@ import BigNumber from 'bignumber.js'; | ||
uri: (tokenId: SDKBigNumberish) => Promise<string>; | ||
uriBatch: (tokenIds: SDKBigNumberish[]) => Promise<string[]>; | ||
setUri: (uri: string) => Promise<Transaction>; | ||
@@ -34,6 +35,9 @@ setCustomURI: (tokenId: SDKBigNumberish, uri: string) => Promise<Transaction>; | ||
setCreator: (to: string, tokenIds: SDKBigNumberish[]) => Promise<Transaction>; | ||
create: (to: string, tokenId: SDKBigNumberish, initialSupply: SDKBigNumberish, uri?: string, data?: string) => Promise<Transaction>; | ||
isNFT: (tokenId: SDKBigNumberish) => boolean; | ||
toNFTid: (tokenId: SDKBigNumberish) => Promise<BigNumber>; | ||
createSFT: (to: string, creator: string, tokenId: SDKBigNumberish, initialSupply: SDKBigNumberish, maxSupply: SDKBigNumberish, uri?: string, data?: string) => Promise<Transaction>; | ||
createNFT: (to: string, creator: string, tokenId: SDKBigNumberish, uri?: string, data?: string) => Promise<Transaction>; | ||
mint: (to: string, tokenId: SDKBigNumberish, quantity: SDKBigNumberish, data?: string) => Promise<Transaction>; | ||
batchMint: (to: string, tokenIds: SDKBigNumberish[], quantities: SDKBigNumberish[]) => Promise<Transaction>; | ||
batchMint: (to: string, tokenIds: SDKBigNumberish[], quantities: SDKBigNumberish[], data?: string) => Promise<Transaction>; | ||
} | ||
export default ERC1155; |
@@ -29,3 +29,5 @@ import BigNumber from 'bignumber.js'; | ||
decreaseAllowance: (spender: string, amount: SDKBigNumberish) => Promise<Transaction>; | ||
increaseApproval: (spender: string, amount: SDKBigNumberish) => Promise<Transaction>; | ||
decreaseApproval: (spender: string, amount: SDKBigNumberish) => Promise<Transaction>; | ||
} | ||
export default ERC20; |
@@ -17,4 +17,4 @@ import { Contract, Signer } from 'ethers'; | ||
getOwnerHash: () => Promise<string>; | ||
recover: (originalOwner: string, factory: string, swTemplate: string, index: SDKBigNumberish, newOwner: string) => Promise<Transaction>; | ||
directExecute: (to: string, data: string) => Promise<Transaction>; | ||
recover: (newOwner: string) => Promise<Transaction>; | ||
directExecute: (to: string, value: SDKBigNumberish, data: string) => Promise<Transaction>; | ||
execute: (domainSeparator: string, suffixData: string, req: any, sig: string) => Promise<Transaction>; | ||
@@ -21,0 +21,0 @@ isInitialized: () => Promise<boolean>; |
@@ -20,2 +20,3 @@ import { Contract, Signer } from 'ethers'; | ||
smartWalletExists: (address: string) => Promise<boolean>; | ||
createUserSmartWalletSigned: (ownerAddress: string, recoverer: string, index: SDKBigNumberish, signedMessage: string) => Promise<Transaction>; | ||
createUserSmartWallet: (ownerPrivateKey: string, recoverer: string, index: SDKBigNumberish) => Promise<Transaction>; | ||
@@ -22,0 +23,0 @@ masterCopy: () => Promise<string>; |
@@ -5,2 +5,3 @@ import BigNumber from 'bignumber.js'; | ||
export declare const checkPositiveInteger: (value: SDKBigNumberish) => BigNumber; | ||
export declare const checkInteger: (value: SDKBigNumberish) => BigNumber; | ||
export declare const checkPositive: (value: SDKBigNumberish) => BigNumber; |
{ | ||
"name": "rsk-multi-token-sdk", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"license": "MIT", | ||
@@ -36,3 +36,3 @@ "engines": { | ||
"start": "tsdx watch", | ||
"test": "tsdx test --verbose --runInBand", | ||
"test": "tsdx test --verbose --runInBand", | ||
"prepublishOnly": "tsdx build", | ||
@@ -39,0 +39,0 @@ "prettier": "prettier 'src' --write" |
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
778330
11249