MCPcopy Create free account
hub / github.com/Project-DARC/DARC / batch_create_token_classes

Function batch_create_token_classes

darc-js/src/darcjs.ts:125–128  ·  view source on GitHub ↗
(nameArray: string[], tokenIndexArray: bigint[] | number[], votingWeightArray: bigint[] | number[], dividendWeightArray: bigint[] | number[])

Source from the content-addressed store, hash-verified

123}
124
125export function batch_create_token_classes(nameArray: string[], tokenIndexArray: bigint[] | number[], votingWeightArray: bigint[] | number[], dividendWeightArray: bigint[] | number[]): OperationStruct {
126 let operation = OPCODE_ID_2_BATCH_CREATE_TOKEN_CLASSES(nameArray, tokenIndexArray, votingWeightArray, dividendWeightArray);
127 return operation;
128}
129
130export function batch_transfer_tokens(addressArray: string[], tokenClassArray: bigint[] | number[], amountArray: bigint[] | number[]): OperationStruct {
131 let operation = OPCODE_ID_3_BATCH_TRANSFER_TOKENS(addressArray, tokenClassArray, amountArray);

Callers 3

expression-test.tsFile · 0.90
sdk-test.tsFile · 0.90

Tested by

no test coverage detected