import { TransactResult } from "eosjs/dist/eosjs-api-interfaces"; export type NCKeyPair = { pub_key: string; prv_key: string; }; export type NCNameType = { name: string; type: string; }; export type NCBuyRam = { user: string; payer: string; payer_prv_key: string; ram_amt: number; }; export type NCCreateUser = { newUser: string; newacc_pub_active_key: string; newacc_pub_owner_key: string; payer: string; payer_prv_key: string; ram_amt?: number; cpu_amount?: string; net_amount?: string; xfer?: boolean; }; export type NCCreateCollection = { user: string; user_prv_active_key: string; collection_name?: string; schema_name?: string; schema_fields?: NCNameType[]; template_name?: string; template_fields?: NCNameType[]; mkt_fee?: number; allow_notify?: boolean; xferable?: boolean; burnable?: boolean; max_supply?: number; }; export type NCCreatePermission = { author: string; perm_name: string; perm_pub_key: string; author_prv_active_key: string; }; export type NCLinkPerm = { author: string; perm_to_link: string; action_owner: string; action_to_link: string; author_prv_active_key: string; }; export type NCCreatePool = { owner: string; owner_prv_active_key: string; ticker?: string; is_inflatable?: boolean; is_deflatable?: boolean; is_treasury?: boolean; }; export type NCStakeMainDao = { amt: string; payer: string; payer_prv_key: string; }; export type NCStakePool = { owner: string; amt: string; payer: string; payer_prv_key: string; }; export type NCUnstakePool = { amt: string; payer: string; payer_prv_key: string; }; export type NCTxNcoBal = { to: string; amt: string; payer: string; memo: string; payer_prv_key: string; }; export type NCTxBal = { to: string; amt: string; payer: string; memo?: string; payer_prv_key: string; }; export type NCPoolInfo = { id: string; code: string; owner: string; description: string; total: { quantity: string; contract: string; }; creation_date: string; last_update_date: string; }; export type NCPoolsInfo = { rows: NCPoolInfo[]; more: boolean; next_key: string; }; export type NCSwapNCOtoCC = { amt: string; payer: string; payer_prv_key: string; creator_to: string; }; export type NCCreateDao = { author: string; author_prv_key: string; token?: string; descr: string; }; export type NCCreateDaoProposal = { proposer: string; proposer_prv_key: string; dao_id?: string; dao_owner: string; title: string; summary: string; url: string; pass_rate: number; vote_start: string; vote_end: string; }; export type NCCreateDaoUserWhitelistProposal = { proposer: string; proposer_prv_key: string; dao_id?: string; dao_owner: string; user: string; type: string; pass_rate: number; vote_start: string; vote_end: string; }; export type NCCreateDaoStakeProposal = { proposer: string; proposer_prv_key: string; dao_id?: string; dao_owner: string; to: string; quantity: { quantity: string; contract: string; }; pass_rate: number; vote_start: string; vote_end: string; }; export type NCApproveDaoProposal = { approver: string; approver_prv_key: string; dao_id?: number; dao_owner?: string; proposal_id?: number; proposal_author?: string; }; export type NCExecuteDaoProposal = { exec: string; exec_prv_key: string; dao_id?: number; dao_owner?: string; proposal_id?: number; proposal_author?: string; }; export type NCGetDaoProposals = { dao_id?: string; dao_owner?: string; proposal_id?: string; proposal_author?: string; lower_bound?: string; upper_bound?: string; limit?: number; reverse?: boolean; }; export type NCDaoProposalVote = { voter: string; voter_prv_key: string; dao_id?: string; dao_owner?: string; proposal_id: string; proposal_type?: string; quantity: string; option: string; }; export type NCDaoWithdrawVoteDeposit = { voter: string; voter_prv_key: string; vote_id: string; }; export type NCGetVotes = { voter: string; lower_bound?: string; upper_bound?: string; limit?: string; reverse?: boolean; }; export type NCGetDaoWhiteList = { dao_id?: string; dao_owner?: string; lower_bound?: string; upper_bound?: string; limit?: string; reverse?: boolean; }; export type NCKeyValPair = { key: string; value: string[]; }; export type NCMintAsset = { creator: string; col_name?: string; sch_name?: string; tmpl_id?: number; immutable_data: NCKeyValPair[]; mutable_data: NCKeyValPair[]; payer?: string; payer_prv_key?: string; user_prv_active_key?: string; }; export type NCModifyAsset = { editor: string; owner: string; asset_id: string; new_data: NCKeyValPair[]; payer: string; payer_prv_key: string; }; export type NCMintNftToRoot = { creator: string; immutable_data: NCKeyValPair[]; mutable_data: NCKeyValPair[]; payer: string; payer_prv_key: string; }; export type NCMintLink = { creator: string; col_name: string; subj_name: string; subj_type: string; description?: string; image?: string; payer: string; payer_prv_key: string; }; export type NCMintLike = { issuer: string; col_name?: string; subj_type: string; subj_name: string; value?: string; payer?: string; payer_prv_key: string; }; export type NCMintBadge = { issuer: string; badge_name: string; col_name?: string; subj_name: string; weight: string; payer: string; payer_prv_key: string; }; export type NCMintProfile = { status: string; offer: string; displayName: string; source: string; authority: string; signature: string; content: string; bio: string; fullName: string; firstName: string; lastName: string; username: string; email: string; phone: string; contentType: string; contentUrl: string; coverContentUrl: string; blurHash: string; aspectRatio: string; creator: string; instagram: string; tiktok: string; youtube: string; twitter: string; spotify: string; pinterest: string; snapchat: string; reddit: string; discord: string; tumblr: string; soundcloud: string; apple: string; telegram: string; signal: string; medium: string; facebook: string; facebookId: string; youtubeId: string; payer: string; payer_prv_key: string; user_prv_active_key: string; }; export type NCMintFile = { creator: string; name: string; path: string; image: string; content: string; payer: string; payer_prv_key: string; user_prv_active_key: string; }; export type NCChangeFile = { editor: string; owner: string; asset_id: string; new_name?: string; new_path?: string; new_content?: string; new_image?: string; payer?: string; payer_prv_key: string; }; export type NCGetAccInfo = { owner: string; contract?: string; token_name?: string; }; export type NCGetPoolInfo = { owner?: string; code?: string; }; export type NCReturnTxs = { TxID_createAcc?: string; TxID_createCol?: string; TxID_createSch?: string; TxID_createTpl?: string; template_id?: string; TxID_createPerm?: string; TxID_linkPerm?: string; TxID_createPool?: string; TxID_stakePool?: string; pool_code?: string; pool_id?: string; TxID_unstakePool?: string; TxID_createDao?: string; TxID_createDaoProposal?: string; dao_id?: string; proposal_id?: number; TxID_approveDaoProposal?: string; TxID_executeDaoProposal?: string; TxID_voteDaoProposal?: string; TxID_WithdrawVoteDeposit?: string; TxID_withdrawFromPool?: string; TxID_addToWhiteList?: string; TxID_removeFromWhiteList?: string; TxID_stakeMainDAO?: string; TxID_unstakeMainDAO?: string; TxID_mintAsset?: string; asset_id?: string; TxID_modifyAsset?: string; TxID_mintNft?: string; TxID_mintProfile?: string; TxID_mintFile?: string; TxID_changeFile?: string; TxID_txNcoBalance?: string; TxID?: string; tx?: TransactResult; }; export type NCReturnInfo = { acc_balances?: string[]; };