-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export declare function run(code: string): void; | ||
import { ethers } from 'ethers'; | ||
export declare function run(code: string, wallet: ethers.Wallet, provider: ethers.providers.Provider, address: string): void; | ||
//# sourceMappingURL=runtime.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
import { deployDARC } from './runtime/runtime'; | ||
import { deployDARC } from './deployDARC/deployDARC'; | ||
import { transpiler } from './SDK/transpiler'; | ||
import { DARC, InitParam, TokenInfo, MemberInfo } from './DARC/DARC'; | ||
import { darcBinary, DARCBinaryStruct, DARC_VERSION } from './darcBinary/darcBinary'; | ||
import { ethers } from 'ethers'; | ||
export { deployDARC, transpiler, DARC, InitParam, TokenInfo, MemberInfo, darcBinary, DARCBinaryStruct, DARC_VERSION, ethers }; | ||
import { run } from './SDK/runtime'; | ||
export { deployDARC, transpiler, DARC, InitParam, TokenInfo, MemberInfo, darcBinary, DARCBinaryStruct, DARC_VERSION, ethers, run }; | ||
//# sourceMappingURL=darcjs.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// all the included instructions are here, mostly instructions for operations | ||
// todo: add backend support for current operations | ||
|
||
import { TokenOperations } from "./struct/token-operation-map"; | ||
import { Plugin } from "./struct/Plugin"; | ||
import { OperationStruct } from "./struct/basicTypes"; | ||
|
||
import { op_batch_mint_tokens } from "./opcodes/op_batch_mint_tokens"; | ||
import { op_batch_create_token_class } from "./opcodes/op_batch_create_token_class"; | ||
import { objectMethod } from "@babel/types"; | ||
|
||
export let operationList: OperationStruct[] = []; | ||
|
||
export function batch_mint_tokens(addressArray: string[], amountArray: bigint[], tokenClass: bigint[], operatorAddress:string) { | ||
let operation = op_batch_mint_tokens(addressArray, amountArray, tokenClass, operatorAddress); | ||
operationList.push(operation); | ||
} | ||
|
||
export function batch_create_token_class(nameArray: string[], tokenIndexArray: bigint[], votingWeightArray: bigint[], dividendWeightArray: bigint[], operatorAddress:string) { | ||
let operation = op_batch_create_token_class(nameArray, tokenIndexArray, votingWeightArray, dividendWeightArray, operatorAddress); | ||
operationList.push(operation); | ||
} |
This file was deleted.