Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lidangzzz committed Feb 10, 2024
1 parent a74b043 commit 5dc9e9f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
14 changes: 0 additions & 14 deletions darc-js/src/DARC/DARC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,6 @@ export type InitParam = {
provider?: ethers.providers.Provider;
}

export type TokenInfo = {
votingWeight: BigInt,
dividendWeight: BigInt,
tokenInfo: string,
totalSupply: BigInt,
}

export type MemberInfo = {
bIsInitialized: boolean,
bIsSuspened: boolean,
name: string,
role: bigint
}

/**
* The DARC class is used to interact with the DARC contract.
*/
Expand Down
4 changes: 1 addition & 3 deletions darc-js/src/darcjs.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {deployDARC} from './deployDARC/deployDARC';
import { transpiler } from './SDK/transpiler';
import { DARC, InitParam, TokenInfo, MemberInfo } from './DARC/DARC';
import { DARC, InitParam } from './DARC/DARC';
import { darcBinary, DARCBinaryStruct, DARC_VERSION } from './darcBinary/darcBinary';
import { ethers } from 'ethers';
import {run} from './SDK/runtime';
Expand All @@ -10,8 +10,6 @@ export {
transpiler,
DARC,
InitParam,
TokenInfo,
MemberInfo,
darcBinary,
DARCBinaryStruct,
DARC_VERSION,
Expand Down

0 comments on commit 5dc9e9f

Please sign in to comment.