slp_mdm
library
Functions
-
BNToInt64BE(BigInt bn)
→ List<int>
-
Convert a big int to 64-bit big endian buffer.
-
createOpReturnGenesis(int versionType, String ticker, String name, String documentUrl, List<int> documentHash, int decimals, BigInt quantity, [int? mintBatonVout])
→ List<int>
-
Creates a GENESIS OP_RETURN buffer.
-
createOpReturnMint(int versionType, List<int> tokenId, BigInt quantity, [int? mintBatonVout])
→ List<int>
-
Creates a MINT OP_RETURN buffer.
-
createOpReturnSend(int versionType, List<int> tokenId, List<BigInt> slpAmounts)
→ List<int>
-
Creates a SEND OP_RETURN buffer.
-
Genesis(String ticker, String name, String documentUrl, List<int> documentHash, int decimals, BigInt quantity, [int? mintBatonVout])
→ List<int>
-
Creates a SEND OP_RETURN buffer for token type 1.
-
Mint(List<int> tokenId, BigInt quantity, [int? mintBatonVout])
→ List<int>
-
Creates a MINT OP_RETURN buffer for token type 1.
-
Nft1ChildGenesis(String ticker, String name, String documentUrl, List<int> documentHash)
→ List<int>
-
Creates a GENESIS OP_RETURN buffer for an NFT1 child.
-
Nft1ChildSend(List<int> tokenId, BigInt sendAmount)
→ List<int>
-
Creates a SEND OP_RETURN buffer for NFT1 child.
-
Nft1GroupGenesis(String ticker, String name, String documentUrl, List<int> documentHash, int decimals, BigInt quantity, [int? mintBatonVout])
→ List<int>
-
Creates a GENESIS OP_RETURN buffer for an NFT1 Group.
-
Nft1GroupMint(List<int> tokenId, BigInt quantity, [int? mintBatonVout])
→ List<int>
-
Creates a MINT OP_RETURN buffer for an NFT1 Group.
-
Nft1GroupSend(List<int> tokenId, List<BigInt> slpAmounts)
→ List<int>
-
Creates a SEND OP_RETURN buffer for an NFT1 Group.
-
pushdata(List<int> buf)
→ List<int>
-
Prepend proper varint to a buffer chunk to be included in script.
-
Send(List<int> tokenId, List<BigInt> slpAmounts)
→ List<int>
-
Creates a SEND OP_RETURN buffer for token type 1.