UNPKG

@citizenwallet/sdk

Version:

An sdk to easily work with citizen wallet.

14 lines 1.32 kB
import { CommunityConfig } from "../config"; export declare const tokenTransferEventTopic: string; export declare const tokenTransferSingleEventTopic: string; export declare const roleGrantedEventTopic: string; export declare const roleRevokedEventTopic: string; export declare const tokenTransferCallData: (to: string, value: bigint) => Uint8Array; export declare const tokenMintCallData: (to: string, value: bigint) => Uint8Array; export declare const createInstanceCallData: (config: CommunityConfig, contracts: string[], instanceId?: string) => Uint8Array; export declare const updateInstanceContractsCallData: (config: CommunityConfig, contracts: string[], instanceId?: string) => Uint8Array; export declare const updateWhitelistCallData: (config: CommunityConfig, addresses: string[], instanceId?: string) => Uint8Array; export declare const callOnCardCallData: (config: CommunityConfig, hashedSerial: string, to: string, value: bigint, data: Uint8Array, instanceId?: string) => Uint8Array; export declare const addOwnerCallData: (config: CommunityConfig, hashedSerial: string, newOwner: string, instanceId?: string) => Uint8Array; export declare const generateCalldataLink: (baseUrl: string, config: CommunityConfig, address: string, value: bigint, calldata: string) => string; //# sourceMappingURL=index.d.ts.map