update
This commit is contained in:
@@ -9,3 +9,4 @@ lib-cov
|
||||
logs
|
||||
node_modules
|
||||
temp
|
||||
docs/
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import antfu from '@antfu/eslint-config'
|
||||
export default antfu(
|
||||
{
|
||||
ignores: [
|
||||
// eslint ignore globs here
|
||||
'docs/**/*',
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
@@ -49,13 +49,17 @@
|
||||
"@antfu/ni": "^0.21.12",
|
||||
"@antfu/utils": "^0.7.7",
|
||||
"@types/node": "^20.12.7",
|
||||
"better-docs": "^2.7.3",
|
||||
"bumpp": "^9.4.0",
|
||||
"eslint": "^9.1.1",
|
||||
"esno": "^4.7.0",
|
||||
"jsdoc": "^4.0.2",
|
||||
"lint-staged": "^15.2.2",
|
||||
"pnpm": "^9.0.6",
|
||||
"rimraf": "^5.0.5",
|
||||
"simple-git-hooks": "^2.11.1",
|
||||
"typedoc": "^0.25.13",
|
||||
"typedoc-plugin-inline-sources": "^1.0.2",
|
||||
"typescript": "^5.4.5",
|
||||
"unbuild": "^2.0.0",
|
||||
"vite": "^5.2.10",
|
||||
|
||||
Generated
+4398
-3565
File diff suppressed because it is too large
Load Diff
Vendored
+30
@@ -0,0 +1,30 @@
|
||||
// Generated by eosio-abi2ts 1.2.2 - eosio::abi/1.2
|
||||
|
||||
declare namespace ano {
|
||||
export type IAsset = string
|
||||
export type IName = string
|
||||
export type IUint64 = number | string
|
||||
|
||||
export interface IBalances extends IBalancesBase {
|
||||
}
|
||||
|
||||
export interface IBalancesBase {
|
||||
id: IUint64
|
||||
contract: IName
|
||||
quantity: IAsset
|
||||
}
|
||||
|
||||
export interface ICounts extends ICountsBase {
|
||||
}
|
||||
|
||||
export interface ICountsBase {
|
||||
key: IName
|
||||
secondary_key: IName
|
||||
value: IUint64
|
||||
}
|
||||
|
||||
export interface INewid {
|
||||
coop_id: IUint64
|
||||
}
|
||||
|
||||
}
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
export type IName = string
|
||||
export type IUint64 = number | string
|
||||
Vendored
+68
@@ -0,0 +1,68 @@
|
||||
// Generated by eosio-abi2ts 1.2.2 - eosio::abi/1.2
|
||||
|
||||
export type IName = string
|
||||
export type IUint64 = number | string
|
||||
|
||||
export interface ICounts extends ICountsBase {
|
||||
}
|
||||
export interface ICountsBase {
|
||||
key: IName
|
||||
secondary_key: IName
|
||||
value: IUint64
|
||||
}
|
||||
|
||||
export interface ICreatedraft {
|
||||
registry_id: IUint64
|
||||
lang: IName
|
||||
title: string
|
||||
description: string
|
||||
context: string
|
||||
model: string
|
||||
translation_data: string
|
||||
}
|
||||
|
||||
export interface ICreatetrans {
|
||||
draft_id: IUint64
|
||||
lang: IName
|
||||
data: string
|
||||
}
|
||||
|
||||
export interface IDeldraft {
|
||||
draft_id: IUint64
|
||||
}
|
||||
|
||||
export interface IDeltrans {
|
||||
translate_id: IUint64
|
||||
}
|
||||
|
||||
export interface IDrafts {
|
||||
id: IUint64
|
||||
registry_id: IUint64
|
||||
creator: IName
|
||||
actions: IName[]
|
||||
version: IUint64
|
||||
default_translation_id: IUint64
|
||||
title: string
|
||||
description: string
|
||||
context: string
|
||||
model: string
|
||||
}
|
||||
|
||||
export interface IEdittrans {
|
||||
translate_id: IUint64
|
||||
data: string
|
||||
}
|
||||
|
||||
export interface INewid {
|
||||
id: IUint64
|
||||
}
|
||||
|
||||
export interface ITranslations {
|
||||
id: IUint64
|
||||
creator: IName
|
||||
draft_id: IUint64
|
||||
lang: IName
|
||||
data: string
|
||||
is_published: boolean
|
||||
is_approved: boolean
|
||||
}
|
||||
Vendored
+166
@@ -0,0 +1,166 @@
|
||||
// Generated by eosio-abi2ts 1.2.2 - eosio::abi/1.2
|
||||
|
||||
export type IAsset = string
|
||||
export type IName = string
|
||||
export type ITimePointSec = string
|
||||
export type IUint64 = number | string
|
||||
|
||||
export interface IAccfunds {
|
||||
id: IUint64
|
||||
coopname: IName
|
||||
contract: IName
|
||||
name: string
|
||||
description: string
|
||||
percent: IUint64
|
||||
available: IAsset
|
||||
withdrawed: IAsset
|
||||
}
|
||||
|
||||
export interface IAddaccum {
|
||||
coopname: IName
|
||||
fund_id: IUint64
|
||||
quantity: IAsset
|
||||
}
|
||||
|
||||
export interface IAddcirculate {
|
||||
coopname: IName
|
||||
quantity: IAsset
|
||||
}
|
||||
|
||||
export interface IAddexpense {
|
||||
coopname: IName
|
||||
fund_id: IUint64
|
||||
quantity: IAsset
|
||||
}
|
||||
|
||||
export interface IAuthorize {
|
||||
coopname: IName
|
||||
type: IName
|
||||
withdraw_id: IUint64
|
||||
}
|
||||
|
||||
export interface IComplete {
|
||||
coopname: IName
|
||||
username: IName
|
||||
withdraw_id: IUint64
|
||||
}
|
||||
|
||||
export interface ICounts extends ICountsBase {
|
||||
}
|
||||
|
||||
export interface ICountsBase {
|
||||
key: IName
|
||||
secondary_key: IName
|
||||
value: IUint64
|
||||
}
|
||||
|
||||
export interface ICreatefund {
|
||||
coopname: IName
|
||||
username: IName
|
||||
type: IName
|
||||
contract: IName
|
||||
name: string
|
||||
description: string
|
||||
percent: IUint64
|
||||
}
|
||||
|
||||
export interface IDelfund {
|
||||
coopname: IName
|
||||
username: IName
|
||||
type: IName
|
||||
fund_id: IUint64
|
||||
}
|
||||
|
||||
export interface IDocument {
|
||||
hash: string
|
||||
pkey: string
|
||||
sign: string
|
||||
meta: string
|
||||
}
|
||||
|
||||
export interface IEditfund {
|
||||
coopname: IName
|
||||
username: IName
|
||||
type: IName
|
||||
fund_id: IUint64
|
||||
contract: IName
|
||||
name: string
|
||||
description: string
|
||||
percent: IUint64
|
||||
}
|
||||
|
||||
export interface IExpfunds {
|
||||
id: IUint64
|
||||
coopname: IName
|
||||
contract: IName
|
||||
name: string
|
||||
description: string
|
||||
expended: IAsset
|
||||
}
|
||||
|
||||
export interface IFundwallet {
|
||||
id: IUint64
|
||||
coopname: IName
|
||||
circulating: IAsset
|
||||
membership: IAsset
|
||||
accumulated: IAsset
|
||||
withdrawed: IAsset
|
||||
available: IAsset
|
||||
expended: IAsset
|
||||
}
|
||||
|
||||
export interface IFundwithdraw {
|
||||
coopname: IName
|
||||
username: IName
|
||||
type: IName
|
||||
fund_id: IUint64
|
||||
document: IDocument
|
||||
quantity: IAsset
|
||||
bank_data_id: string
|
||||
}
|
||||
|
||||
export interface IFwithdraws {
|
||||
id: IUint64
|
||||
coopname: IName
|
||||
username: IName
|
||||
status: IName
|
||||
type: IName
|
||||
fund_id: IUint64
|
||||
quantity: IAsset
|
||||
document: IDocument
|
||||
bank_data_id: string
|
||||
expired_at: ITimePointSec
|
||||
}
|
||||
|
||||
export interface IInit {
|
||||
coopname: IName
|
||||
initial: IAsset
|
||||
}
|
||||
|
||||
export interface INewfund {
|
||||
coopname: IName
|
||||
type: IName
|
||||
id: IUint64
|
||||
}
|
||||
|
||||
export interface INewwithdraw {
|
||||
coopname: IName
|
||||
type: IName
|
||||
id: IUint64
|
||||
}
|
||||
|
||||
export interface ISpreadamount {
|
||||
coopname: IName
|
||||
quantity: IAsset
|
||||
}
|
||||
|
||||
export interface ISubaccum {
|
||||
coopname: IName
|
||||
fund_id: IUint64
|
||||
quantity: IAsset
|
||||
}
|
||||
|
||||
export interface ISubcirculate {
|
||||
coopname: IName
|
||||
quantity: IAsset
|
||||
}
|
||||
Vendored
+119
@@ -0,0 +1,119 @@
|
||||
// Generated by eosio-abi2ts 1.2.2 - eosio::abi/1.2
|
||||
|
||||
declare namespace gateway {
|
||||
export type IAsset = string
|
||||
export type IName = string
|
||||
export type ITimePointSec = string
|
||||
export type IUint64 = number | string
|
||||
|
||||
export interface IBalances extends IBalancesBase {
|
||||
}
|
||||
|
||||
export interface IBalancesBase {
|
||||
id: IUint64
|
||||
contract: IName
|
||||
quantity: IAsset
|
||||
}
|
||||
|
||||
export interface ICounts extends ICountsBase {
|
||||
}
|
||||
|
||||
export interface ICountsBase {
|
||||
key: IName
|
||||
secondary_key: IName
|
||||
value: IUint64
|
||||
}
|
||||
|
||||
export interface IDeposit {
|
||||
coopname: IName
|
||||
username: IName
|
||||
type: IName
|
||||
quantity: IAsset
|
||||
}
|
||||
|
||||
export interface IDeposits {
|
||||
id: IUint64
|
||||
username: IName
|
||||
coopname: IName
|
||||
type: IName
|
||||
token_contract: IName
|
||||
quantity: IAsset
|
||||
status: IName
|
||||
link: string
|
||||
memo: string
|
||||
expired_at: ITimePointSec
|
||||
}
|
||||
|
||||
export interface IDocument {
|
||||
hash: string
|
||||
pkey: string
|
||||
sign: string
|
||||
meta: string
|
||||
}
|
||||
|
||||
export interface IDpcomplete {
|
||||
coopname: IName
|
||||
admin: IName
|
||||
deposit_id: IUint64
|
||||
memo: string
|
||||
}
|
||||
|
||||
export interface IDpfail {
|
||||
coopname: IName
|
||||
admin: IName
|
||||
deposit_id: IUint64
|
||||
memo: string
|
||||
}
|
||||
|
||||
export interface INewdepositid {
|
||||
username: IName
|
||||
id: IUint64
|
||||
}
|
||||
|
||||
export interface INewwithdrid {
|
||||
username: IName
|
||||
id: IUint64
|
||||
}
|
||||
|
||||
export interface IWithdraw {
|
||||
coopname: IName
|
||||
username: IName
|
||||
quantity: IAsset
|
||||
document: IDocument
|
||||
bank_data_id: string
|
||||
memo: string
|
||||
}
|
||||
|
||||
export interface IWithdrawauth {
|
||||
coopname: IName
|
||||
withdraw_id: IUint64
|
||||
}
|
||||
|
||||
export interface IWithdraws {
|
||||
id: IUint64
|
||||
username: IName
|
||||
coopname: IName
|
||||
bank_data_id: string
|
||||
token_contract: IName
|
||||
quantity: IAsset
|
||||
status: IName
|
||||
document: IDocument
|
||||
memo: string
|
||||
created_at: ITimePointSec
|
||||
}
|
||||
|
||||
export interface IWthdcomplete {
|
||||
coopname: IName
|
||||
admin: IName
|
||||
withdraw_id: IUint64
|
||||
memo: string
|
||||
}
|
||||
|
||||
export interface IWthdfail {
|
||||
coopname: IName
|
||||
admin: IName
|
||||
withdraw_id: IUint64
|
||||
memo: string
|
||||
}
|
||||
|
||||
}
|
||||
Vendored
+210
@@ -0,0 +1,210 @@
|
||||
// Generated by eosio-abi2ts 1.2.2 - eosio::abi/1.2
|
||||
|
||||
declare namespace marketplace {
|
||||
export type IAsset = string
|
||||
export type IName = string
|
||||
export type ITimePointSec = string
|
||||
export type IUint64 = number | string
|
||||
|
||||
export interface IAccept {
|
||||
coopname: IName
|
||||
username: IName
|
||||
exchange_id: IUint64
|
||||
document: IDocument
|
||||
}
|
||||
|
||||
export interface IAddpieces {
|
||||
coopname: IName
|
||||
username: IName
|
||||
exchange_id: IUint64
|
||||
new_pieces: IUint64
|
||||
}
|
||||
|
||||
export interface IAuthorize {
|
||||
coopname: IName
|
||||
exchange_id: IUint64
|
||||
contribution_product_decision_id: IUint64
|
||||
contribution_product_authorization: IDocument
|
||||
return_product_decision_id: IUint64
|
||||
return_product_authorization: IDocument
|
||||
}
|
||||
|
||||
export interface ICancel {
|
||||
coopname: IName
|
||||
username: IName
|
||||
exchange_id: IUint64
|
||||
}
|
||||
|
||||
export interface IComplete {
|
||||
coopname: IName
|
||||
username: IName
|
||||
exchange_id: IUint64
|
||||
}
|
||||
|
||||
export interface IDecline {
|
||||
coopname: IName
|
||||
username: IName
|
||||
exchange_id: IUint64
|
||||
meta: string
|
||||
}
|
||||
|
||||
export interface IDelivered {
|
||||
coopname: IName
|
||||
username: IName
|
||||
exchange_id: IUint64
|
||||
}
|
||||
|
||||
export interface IDispute {
|
||||
coopname: IName
|
||||
username: IName
|
||||
exchange_id: IUint64
|
||||
document: IDocument
|
||||
}
|
||||
|
||||
export interface IDocument {
|
||||
hash: string
|
||||
pkey: string
|
||||
sign: string
|
||||
meta: string
|
||||
}
|
||||
|
||||
export interface IExchange {
|
||||
id: IUint64
|
||||
parent_id: IUint64
|
||||
program_id: IUint64
|
||||
coopname: IName
|
||||
type: IName
|
||||
status: IName
|
||||
username: IName
|
||||
parent_username: IName
|
||||
token_contract: IName
|
||||
unit_cost: IAsset
|
||||
supplier_amount: IAsset
|
||||
total_cost: IAsset
|
||||
membership_fee: IAsset
|
||||
remain_units: IUint64
|
||||
blocked_units: IUint64
|
||||
delivered_units: IUint64
|
||||
data: string
|
||||
meta: string
|
||||
money_contributor: IName
|
||||
product_contributor: IName
|
||||
contribute_product_statement: IDocument
|
||||
return_product_statement: IDocument
|
||||
contribution_product_decision_id: IUint64
|
||||
contribution_product_authorization: IDocument
|
||||
return_product_decision_id: IUint64
|
||||
return_product_authorization: IDocument
|
||||
product_contribution_act_validation: IDocument
|
||||
product_contribution_act: IDocument
|
||||
product_recieve_act: IDocument
|
||||
product_recieve_act_validation: IDocument
|
||||
product_lifecycle_secs: IUint64
|
||||
cancellation_fee: IUint64
|
||||
cancellation_fee_amount: IAsset
|
||||
created_at: ITimePointSec
|
||||
accepted_at: ITimePointSec
|
||||
supplied_at: ITimePointSec
|
||||
delivered_at: ITimePointSec
|
||||
recieved_at: ITimePointSec
|
||||
completed_at: ITimePointSec
|
||||
declined_at: ITimePointSec
|
||||
disputed_at: ITimePointSec
|
||||
canceled_at: ITimePointSec
|
||||
warranty_delay_until: ITimePointSec
|
||||
deadline_for_receipt: ITimePointSec
|
||||
is_warranty_return: boolean
|
||||
warranty_return_id: IUint64
|
||||
}
|
||||
|
||||
export interface IExchangeParams {
|
||||
username: IName
|
||||
parent_id: IUint64
|
||||
program_id: IUint64
|
||||
coopname: IName
|
||||
pieces: IUint64
|
||||
unit_cost: IAsset
|
||||
product_lifecycle_secs: IUint64
|
||||
document: IDocument
|
||||
data: string
|
||||
meta: string
|
||||
}
|
||||
|
||||
export interface IModerate {
|
||||
coopname: IName
|
||||
username: IName
|
||||
exchange_id: IUint64
|
||||
cancellation_fee: IUint64
|
||||
}
|
||||
|
||||
export interface INewid {
|
||||
id: IUint64
|
||||
type: IName
|
||||
}
|
||||
|
||||
export interface IOffer {
|
||||
params: IExchangeParams
|
||||
}
|
||||
|
||||
export interface IOrder {
|
||||
params: IExchangeParams
|
||||
}
|
||||
|
||||
export interface IProhibit {
|
||||
coopname: IName
|
||||
username: IName
|
||||
exchange_id: IUint64
|
||||
meta: string
|
||||
}
|
||||
|
||||
export interface IPublish {
|
||||
coopname: IName
|
||||
username: IName
|
||||
exchange_id: IUint64
|
||||
}
|
||||
|
||||
export interface IRecieve {
|
||||
coopname: IName
|
||||
username: IName
|
||||
exchange_id: IUint64
|
||||
document: IDocument
|
||||
}
|
||||
|
||||
export interface IRecievecnfrm {
|
||||
coopname: IName
|
||||
username: IName
|
||||
exchange_id: IUint64
|
||||
document: IDocument
|
||||
}
|
||||
|
||||
export interface ISupply {
|
||||
coopname: IName
|
||||
username: IName
|
||||
exchange_id: IUint64
|
||||
document: IDocument
|
||||
}
|
||||
|
||||
export interface ISupplycnfrm {
|
||||
coopname: IName
|
||||
username: IName
|
||||
exchange_id: IUint64
|
||||
document: IDocument
|
||||
}
|
||||
|
||||
export interface IUnpublish {
|
||||
coopname: IName
|
||||
username: IName
|
||||
exchange_id: IUint64
|
||||
}
|
||||
|
||||
export interface IUpdate {
|
||||
coopname: IName
|
||||
username: IName
|
||||
exchange_id: IUint64
|
||||
remain_units: IUint64
|
||||
unit_cost: IAsset
|
||||
data: string
|
||||
meta: string
|
||||
}
|
||||
|
||||
}
|
||||
Vendored
+145
@@ -0,0 +1,145 @@
|
||||
// Generated by eosio-abi2ts 1.2.2 - eosio::abi/1.2
|
||||
|
||||
declare namespace registrator {
|
||||
export type IAsset = string
|
||||
export type IName = string
|
||||
export type IPublicKey = string
|
||||
export type ITimePointSec = string
|
||||
export type IUint64 = number | string
|
||||
|
||||
export interface IAccounts {
|
||||
username: IName
|
||||
referer: IName
|
||||
registrator: IName
|
||||
type: IName
|
||||
status: IName
|
||||
meta: string
|
||||
reputation: IUint64
|
||||
registration_amount: IAsset
|
||||
registered_at: ITimePointSec
|
||||
signature_expires_at: ITimePointSec
|
||||
}
|
||||
|
||||
export interface IBalances extends IBalancesBase {
|
||||
}
|
||||
|
||||
export interface IBalancesBase {
|
||||
id: IUint64
|
||||
contract: IName
|
||||
quantity: IAsset
|
||||
}
|
||||
|
||||
export interface IChangekey {
|
||||
username: IName
|
||||
public_key: IPublicKey
|
||||
}
|
||||
|
||||
export interface IConfirmreg {
|
||||
coopname: IName
|
||||
member: IName
|
||||
}
|
||||
|
||||
export interface IDocument {
|
||||
hash: string
|
||||
pkey: string
|
||||
sign: string
|
||||
meta: string
|
||||
}
|
||||
|
||||
export interface IJoincoop {
|
||||
coopname: IName
|
||||
username: IName
|
||||
document: IDocument
|
||||
}
|
||||
|
||||
export interface INewaccount {
|
||||
registrator: IName
|
||||
referer: IName
|
||||
username: IName
|
||||
public_key: IPublicKey
|
||||
signature_hash: string
|
||||
meta: string
|
||||
}
|
||||
|
||||
export interface IOrgData {
|
||||
storage: IStorage
|
||||
is_cooperative: boolean
|
||||
coop_type: IName
|
||||
token_contract: IName
|
||||
announce: string
|
||||
description: string
|
||||
initial: IAsset
|
||||
minimum: IAsset
|
||||
}
|
||||
|
||||
export interface IOrgs {
|
||||
username: IName
|
||||
parent_username: IName
|
||||
verifications: IVerification[]
|
||||
storages: IStorage[]
|
||||
is_cooperative: boolean
|
||||
is_active: boolean
|
||||
coop_type: IName
|
||||
token_contract: IName
|
||||
announce: string
|
||||
description: string
|
||||
registration: IAsset
|
||||
initial: IAsset
|
||||
minimum: IAsset
|
||||
}
|
||||
|
||||
export interface IPlotData {
|
||||
storage: IStorage
|
||||
announce: string
|
||||
description: string
|
||||
}
|
||||
|
||||
export interface IRegorg {
|
||||
coopname: IName
|
||||
username: IName
|
||||
params: IOrgData
|
||||
}
|
||||
|
||||
export interface IRegplot {
|
||||
coopname: IName
|
||||
username: IName
|
||||
params: IPlotData
|
||||
}
|
||||
|
||||
export interface IReguser {
|
||||
coopname: IName
|
||||
username: IName
|
||||
storage: IStorage
|
||||
}
|
||||
|
||||
export interface IStorage {
|
||||
storage_username: IName
|
||||
}
|
||||
|
||||
export interface IUpdate {
|
||||
username: IName
|
||||
meta: string
|
||||
}
|
||||
|
||||
export interface IUsers {
|
||||
username: IName
|
||||
is_active: boolean
|
||||
storages: IStorage[]
|
||||
verifications: IVerification[]
|
||||
}
|
||||
|
||||
export interface IVerificate {
|
||||
username: IName
|
||||
procedure: IName
|
||||
}
|
||||
|
||||
export interface IVerification {
|
||||
verificator: IName
|
||||
is_verified: boolean
|
||||
procedure: IName
|
||||
created_at: ITimePointSec
|
||||
last_update: ITimePointSec
|
||||
notice: string
|
||||
}
|
||||
|
||||
}
|
||||
Vendored
+454
@@ -0,0 +1,454 @@
|
||||
// Generated by eosio-abi2ts 1.2.2 - eosio::abi/1.2
|
||||
|
||||
declare namespace soviet {
|
||||
export type IAsset = string
|
||||
export type IName = string
|
||||
export type ITimePointSec = string
|
||||
export type IUint64 = number | string
|
||||
|
||||
export interface IAct {
|
||||
coopname: IName
|
||||
username: IName
|
||||
action: IName
|
||||
decision_id: IUint64
|
||||
document: IDocument
|
||||
}
|
||||
|
||||
export interface IAddbalance {
|
||||
coopname: IName
|
||||
username: IName
|
||||
quantity: IAsset
|
||||
}
|
||||
|
||||
export interface IAddprogbal {
|
||||
coopname: IName
|
||||
username: IName
|
||||
program_id: IUint64
|
||||
quantity: IAsset
|
||||
}
|
||||
|
||||
export interface IAddress {
|
||||
latitude: string
|
||||
longitude: string
|
||||
country: string
|
||||
state: string
|
||||
city: string
|
||||
district: string
|
||||
street: string
|
||||
house_number: string
|
||||
building_section: string
|
||||
unit_number: string
|
||||
directions: string
|
||||
phone_number: string
|
||||
business_hours: string
|
||||
}
|
||||
|
||||
export interface IAddresses {
|
||||
id: IUint64
|
||||
coopname: IName
|
||||
cooplate: IName
|
||||
data: IAddress
|
||||
meta: string
|
||||
}
|
||||
|
||||
export interface IAddstaff {
|
||||
coopname: IName
|
||||
chairman: IName
|
||||
username: IName
|
||||
rights: IRight[]
|
||||
position_title: string
|
||||
}
|
||||
|
||||
export interface IAuthorize {
|
||||
coopname: IName
|
||||
chairman: IName
|
||||
decision_id: IUint64
|
||||
document: IDocument
|
||||
}
|
||||
|
||||
export interface IAutomate {
|
||||
coopname: IName
|
||||
board_id: IUint64
|
||||
member: IName
|
||||
action_type: IName
|
||||
provider: IName
|
||||
encrypted_private_key: string
|
||||
}
|
||||
|
||||
export interface IAutomator {
|
||||
id: IUint64
|
||||
coopname: IName
|
||||
board_id: IUint64
|
||||
member: IName
|
||||
action_type: IName
|
||||
permission_name: IName
|
||||
encrypted_private_key: string
|
||||
}
|
||||
|
||||
export interface IAutosigner {
|
||||
decision_id: IUint64
|
||||
}
|
||||
|
||||
export interface IBatch {
|
||||
coopname: IName
|
||||
action: IName
|
||||
batch_id: IUint64
|
||||
}
|
||||
|
||||
export interface IBlockbal {
|
||||
coopname: IName
|
||||
username: IName
|
||||
quantity: IAsset
|
||||
}
|
||||
|
||||
export interface IBoardMember {
|
||||
username: IName
|
||||
is_voting: boolean
|
||||
position_title: string
|
||||
position: IName
|
||||
}
|
||||
|
||||
export interface IBoards {
|
||||
id: IUint64
|
||||
type: IName
|
||||
name: string
|
||||
description: string
|
||||
members: IBoardMember[]
|
||||
created_at: ITimePointSec
|
||||
last_update: ITimePointSec
|
||||
}
|
||||
|
||||
export interface ICancelorder {
|
||||
coopname: IName
|
||||
username: IName
|
||||
exchange_id: IUint64
|
||||
}
|
||||
|
||||
export interface ICancelvote {
|
||||
coopname: IName
|
||||
member: IName
|
||||
decision_id: IUint64
|
||||
}
|
||||
|
||||
export interface IChange {
|
||||
coopname: IName
|
||||
parent_username: IName
|
||||
username: IName
|
||||
exchange_id: IUint64
|
||||
money_contributor: IName
|
||||
product_contributor: IName
|
||||
}
|
||||
|
||||
export interface IChanges {
|
||||
id: IUint64
|
||||
exchange_id: IUint64
|
||||
contribution_product_decision_id: IUint64
|
||||
return_product_decision_id: IUint64
|
||||
}
|
||||
|
||||
export interface ICompleted {
|
||||
coopname: IName
|
||||
exchange_id: IUint64
|
||||
}
|
||||
|
||||
export interface ICounts extends ICountsBase {
|
||||
}
|
||||
|
||||
export interface ICountsBase {
|
||||
key: IName
|
||||
secondary_key: IName
|
||||
value: IUint64
|
||||
}
|
||||
|
||||
export interface ICreaddress {
|
||||
coopname: IName
|
||||
chairman: IName
|
||||
cooplate: IName
|
||||
data: IAddress
|
||||
meta: string
|
||||
}
|
||||
|
||||
export interface ICreateboard {
|
||||
coopname: IName
|
||||
chairman: IName
|
||||
type: IName
|
||||
members: IBoardMember[]
|
||||
name: string
|
||||
description: string
|
||||
}
|
||||
|
||||
export interface ICreateprog {
|
||||
coopname: IName
|
||||
chairman: IName
|
||||
title: string
|
||||
announce: string
|
||||
description: string
|
||||
preview: string
|
||||
images: string
|
||||
calculation_type: IName
|
||||
fixed_membership_contribution: IAsset
|
||||
membership_percent_fee: IUint64
|
||||
}
|
||||
|
||||
export interface IDecision {
|
||||
coopname: IName
|
||||
username: IName
|
||||
action: IName
|
||||
decision_id: IUint64
|
||||
document: IDocument
|
||||
}
|
||||
|
||||
export interface IDecisions {
|
||||
id: IUint64
|
||||
coopname: IName
|
||||
username: IName
|
||||
type: IName
|
||||
batch_id: IUint64
|
||||
votes_for: IName[]
|
||||
votes_against: IName[]
|
||||
validated: boolean
|
||||
approved: boolean
|
||||
authorized: boolean
|
||||
authorization: IDocument
|
||||
created_at: ITimePointSec
|
||||
}
|
||||
|
||||
export interface IDeladdress {
|
||||
coopname: IName
|
||||
chairman: IName
|
||||
address_id: IUint64
|
||||
}
|
||||
|
||||
export interface IDisableprog {
|
||||
coopname: IName
|
||||
id: IUint64
|
||||
}
|
||||
|
||||
export interface IDisautomate {
|
||||
coopname: IName
|
||||
board_id: IUint64
|
||||
member: IName
|
||||
automation_id: IUint64
|
||||
}
|
||||
|
||||
export interface IDocument {
|
||||
hash: string
|
||||
pkey: string
|
||||
sign: string
|
||||
meta: string
|
||||
}
|
||||
|
||||
export interface IDraft {
|
||||
coopname: IName
|
||||
username: IName
|
||||
decision_id: IUint64
|
||||
}
|
||||
|
||||
export interface IEditaddress {
|
||||
coopname: IName
|
||||
chairman: IName
|
||||
address_id: IUint64
|
||||
cooplate: IName
|
||||
data: IAddress
|
||||
meta: string
|
||||
}
|
||||
|
||||
export interface IEditprog {
|
||||
coopname: IName
|
||||
id: IUint64
|
||||
title: string
|
||||
announce: string
|
||||
description: string
|
||||
preview: string
|
||||
images: string
|
||||
}
|
||||
|
||||
export interface IExec {
|
||||
executer: IName
|
||||
coopname: IName
|
||||
decision_id: IUint64
|
||||
}
|
||||
|
||||
export interface IFundwithdraw {
|
||||
coopname: IName
|
||||
username: IName
|
||||
type: IName
|
||||
withdraw_id: IUint64
|
||||
document: IDocument
|
||||
}
|
||||
|
||||
export interface IJoincoop {
|
||||
coopname: IName
|
||||
username: IName
|
||||
document: IDocument
|
||||
}
|
||||
|
||||
export interface IJoincoops {
|
||||
id: IUint64
|
||||
username: IName
|
||||
is_paid: boolean
|
||||
statement: IDocument
|
||||
notice: string
|
||||
}
|
||||
|
||||
export interface IMcontribute {
|
||||
coopname: IName
|
||||
username: IName
|
||||
program_id: IUint64
|
||||
type: IName
|
||||
secondary_id: IUint64
|
||||
}
|
||||
|
||||
export interface IParticipants {
|
||||
username: IName
|
||||
created_at: ITimePointSec
|
||||
last_update: ITimePointSec
|
||||
last_min_pay: ITimePointSec
|
||||
status: IName
|
||||
is_initial: boolean
|
||||
is_minimum: boolean
|
||||
has_vote: boolean
|
||||
}
|
||||
|
||||
export interface IPcontribute {
|
||||
coopname: IName
|
||||
username: IName
|
||||
program_id: IUint64
|
||||
type: IName
|
||||
secondary_id: IUint64
|
||||
}
|
||||
|
||||
export interface IProgcomarket {
|
||||
id: IUint64
|
||||
coopname: IName
|
||||
is_active: boolean
|
||||
title: string
|
||||
announce: string
|
||||
description: string
|
||||
preview: string
|
||||
images: string
|
||||
meta: string
|
||||
calculation_type: IName
|
||||
membership_percent_fee: IUint64
|
||||
fixed_membership_contribution: IAsset
|
||||
}
|
||||
|
||||
export interface IProgram {
|
||||
coopname: IName
|
||||
program_id: IUint64
|
||||
}
|
||||
|
||||
export interface IProgwallets {
|
||||
id: IUint64
|
||||
coopname: IName
|
||||
program_id: IUint64
|
||||
username: IName
|
||||
available: IAsset
|
||||
}
|
||||
|
||||
export interface IRecieved {
|
||||
coopname: IName
|
||||
exchange_id: IUint64
|
||||
}
|
||||
|
||||
export interface IRegpaid {
|
||||
coopname: IName
|
||||
username: IName
|
||||
}
|
||||
|
||||
export interface IRight {
|
||||
contract: IName
|
||||
action_name: IName
|
||||
}
|
||||
|
||||
export interface IRmstaff {
|
||||
coopname: IName
|
||||
chairman: IName
|
||||
username: IName
|
||||
}
|
||||
|
||||
export interface ISetrights {
|
||||
coopname: IName
|
||||
chairman: IName
|
||||
username: IName
|
||||
rights: IRight[]
|
||||
}
|
||||
|
||||
export interface IStaff {
|
||||
username: IName
|
||||
position_title: string
|
||||
roles: IName[]
|
||||
rights: IRight[]
|
||||
created_at: ITimePointSec
|
||||
updated_at: ITimePointSec
|
||||
}
|
||||
|
||||
export interface IStatement {
|
||||
coopname: IName
|
||||
username: IName
|
||||
action: IName
|
||||
decision_id: IUint64
|
||||
document: IDocument
|
||||
}
|
||||
|
||||
export interface ISubbalance {
|
||||
coopname: IName
|
||||
username: IName
|
||||
quantity: IAsset
|
||||
}
|
||||
|
||||
export interface ISubprogbal {
|
||||
coopname: IName
|
||||
username: IName
|
||||
program_id: IUint64
|
||||
quantity: IAsset
|
||||
}
|
||||
|
||||
export interface IUnblockbal {
|
||||
coopname: IName
|
||||
username: IName
|
||||
quantity: IAsset
|
||||
}
|
||||
|
||||
export interface IUpdateboard {
|
||||
coopname: IName
|
||||
chairman: IName
|
||||
board_id: IUint64
|
||||
members: IBoardMember[]
|
||||
name: string
|
||||
description: string
|
||||
}
|
||||
|
||||
export interface IValidate {
|
||||
coopname: IName
|
||||
username: IName
|
||||
decision_id: IUint64
|
||||
}
|
||||
|
||||
export interface IVoteagainst {
|
||||
coopname: IName
|
||||
member: IName
|
||||
decision_id: IUint64
|
||||
}
|
||||
|
||||
export interface IVotefor {
|
||||
coopname: IName
|
||||
member: IName
|
||||
decision_id: IUint64
|
||||
}
|
||||
|
||||
export interface IWallets {
|
||||
username: IName
|
||||
coopname: IName
|
||||
available: IAsset
|
||||
blocked: IAsset
|
||||
minimum: IAsset
|
||||
}
|
||||
|
||||
export interface IWithdraw {
|
||||
coopname: IName
|
||||
username: IName
|
||||
withdraw_id: IUint64
|
||||
}
|
||||
|
||||
}
|
||||
Vendored
+687
@@ -0,0 +1,687 @@
|
||||
// Generated by eosio-abi2ts 1.2.2 - eosio::abi/1.2
|
||||
|
||||
declare namespace system {
|
||||
export type IAsset = string
|
||||
export type IName = string
|
||||
export type IBytes = string | number[] | Uint8Array
|
||||
export type IChecksum256 = string
|
||||
export type IPublicKey = string
|
||||
export type ISymbol = string
|
||||
export type ITimePoint = string
|
||||
export type ITimePointSec = string
|
||||
export type IBlockTimestampType = string
|
||||
export type IInt64 = number | string
|
||||
export type IUint8 = number
|
||||
export type IUint16 = number
|
||||
export type IUint32 = number
|
||||
export type IUint64 = number | string
|
||||
export type IUint128 = string
|
||||
export type IFloat64 = number
|
||||
|
||||
export type IBlockSigningAuthority = IVariantBlockSigningAuthorityV0
|
||||
export type IBlockchainParametersT = IBlockchainParametersV1
|
||||
|
||||
export type IVariantBlockSigningAuthorityV0 = ['block_signing_authority_v0', IBlockSigningAuthorityV0]
|
||||
|
||||
export interface IAbiHash {
|
||||
owner: IName
|
||||
hash: IChecksum256
|
||||
}
|
||||
|
||||
export interface IActivate {
|
||||
feature_digest: IChecksum256
|
||||
}
|
||||
|
||||
export interface IAuthority {
|
||||
threshold: IUint32
|
||||
keys: IKeyWeight[]
|
||||
accounts: IPermissionLevelWeight[]
|
||||
waits: IWaitWeight[]
|
||||
}
|
||||
|
||||
export interface IBidRefund {
|
||||
bidder: IName
|
||||
amount: IAsset
|
||||
}
|
||||
|
||||
export interface IBidname {
|
||||
bidder: IName
|
||||
newname: IName
|
||||
bid: IAsset
|
||||
}
|
||||
|
||||
export interface IBidrefund {
|
||||
bidder: IName
|
||||
newname: IName
|
||||
}
|
||||
|
||||
export interface IBlockHeader {
|
||||
timestamp: IUint32
|
||||
producer: IName
|
||||
confirmed: IUint16
|
||||
previous: IChecksum256
|
||||
transaction_mroot: IChecksum256
|
||||
action_mroot: IChecksum256
|
||||
schedule_version: IUint32
|
||||
new_producers?: IProducerSchedule
|
||||
}
|
||||
|
||||
export interface IBlockInfoRecord {
|
||||
version: IUint8
|
||||
block_height: IUint32
|
||||
block_timestamp: ITimePoint
|
||||
}
|
||||
|
||||
export interface IBlockSigningAuthorityV0 {
|
||||
threshold: IUint32
|
||||
keys: IKeyWeight[]
|
||||
}
|
||||
|
||||
export interface IBlockchainParameters {
|
||||
max_block_net_usage: IUint64
|
||||
target_block_net_usage_pct: IUint32
|
||||
max_transaction_net_usage: IUint32
|
||||
base_per_transaction_net_usage: IUint32
|
||||
net_usage_leeway: IUint32
|
||||
context_free_discount_net_usage_num: IUint32
|
||||
context_free_discount_net_usage_den: IUint32
|
||||
max_block_cpu_usage: IUint32
|
||||
target_block_cpu_usage_pct: IUint32
|
||||
max_transaction_cpu_usage: IUint32
|
||||
min_transaction_cpu_usage: IUint32
|
||||
max_transaction_lifetime: IUint32
|
||||
deferred_trx_expiration_window: IUint32
|
||||
max_transaction_delay: IUint32
|
||||
max_inline_action_size: IUint32
|
||||
max_inline_action_depth: IUint16
|
||||
max_authority_depth: IUint16
|
||||
}
|
||||
|
||||
export interface IBlockchainParametersV1 extends IBlockchainParameters {
|
||||
max_action_return_value_size: IUint32$
|
||||
}
|
||||
|
||||
export interface IBuyram {
|
||||
payer: IName
|
||||
receiver: IName
|
||||
quant: IAsset
|
||||
}
|
||||
|
||||
export interface IBuyrambytes {
|
||||
payer: IName
|
||||
receiver: IName
|
||||
bytes: IUint32
|
||||
}
|
||||
|
||||
export interface IBuyrex {
|
||||
from: IName
|
||||
amount: IAsset
|
||||
}
|
||||
|
||||
export interface ICanceldelay {
|
||||
canceling_auth: IPermissionLevel
|
||||
trx_id: IChecksum256
|
||||
}
|
||||
|
||||
export interface ICfgpowerup {
|
||||
args: IPowerupConfig
|
||||
}
|
||||
|
||||
export interface IClaimrewards {
|
||||
owner: IName
|
||||
}
|
||||
|
||||
export interface ICloserex {
|
||||
owner: IName
|
||||
}
|
||||
|
||||
export interface ICnclrexorder {
|
||||
owner: IName
|
||||
}
|
||||
|
||||
export interface IConnector {
|
||||
balance: IAsset
|
||||
weight: IFloat64
|
||||
}
|
||||
|
||||
export interface IConsolidate {
|
||||
owner: IName
|
||||
}
|
||||
|
||||
export interface IDefcpuloan {
|
||||
from: IName
|
||||
loan_num: IUint64
|
||||
amount: IAsset
|
||||
}
|
||||
|
||||
export interface IDefnetloan {
|
||||
from: IName
|
||||
loan_num: IUint64
|
||||
amount: IAsset
|
||||
}
|
||||
|
||||
export interface IDelegatebw {
|
||||
from: IName
|
||||
receiver: IName
|
||||
stake_net_quantity: IAsset
|
||||
stake_cpu_quantity: IAsset
|
||||
transfer: boolean
|
||||
}
|
||||
|
||||
export interface IDelegatedBandwidth {
|
||||
from: IName
|
||||
to: IName
|
||||
net_weight: IAsset
|
||||
cpu_weight: IAsset
|
||||
}
|
||||
|
||||
export interface IDeleteauth {
|
||||
account: IName
|
||||
permission: IName
|
||||
authorized_by: IName$
|
||||
}
|
||||
|
||||
export interface IDeposit {
|
||||
owner: IName
|
||||
amount: IAsset
|
||||
}
|
||||
|
||||
export interface IEmissionState {
|
||||
tact_number: IUint64
|
||||
tact_duration: IUint64
|
||||
emission_factor: IFloat64
|
||||
current_supply: IAsset
|
||||
tact_open_at: ITimePointSec
|
||||
tact_close_at: ITimePointSec
|
||||
tact_fees: IAsset
|
||||
back_from_producers: IAsset
|
||||
tact_emission: IAsset
|
||||
emission_start: IAsset
|
||||
}
|
||||
|
||||
export interface IEosioGlobalState extends IBlockchainParameters {
|
||||
max_ram_size: IUint64
|
||||
total_ram_bytes_reserved: IUint64
|
||||
total_ram_stake: IInt64
|
||||
last_producer_schedule_update: IBlockTimestampType
|
||||
last_pervote_bucket_fill: ITimePoint
|
||||
pervote_bucket: IInt64
|
||||
perblock_bucket: IInt64
|
||||
total_unpaid_blocks: IUint32
|
||||
total_activated_stake: IInt64
|
||||
thresh_activated_stake_time: ITimePoint
|
||||
last_producer_schedule_size: IUint16
|
||||
total_producer_vote_weight: IFloat64
|
||||
last_name_close: IBlockTimestampType
|
||||
}
|
||||
|
||||
export interface IEosioGlobalState2 {
|
||||
new_ram_per_block: IUint16
|
||||
last_ram_increase: IBlockTimestampType
|
||||
last_block_num: IBlockTimestampType
|
||||
total_producer_votepay_share: IFloat64
|
||||
revision: IUint8
|
||||
}
|
||||
|
||||
export interface IEosioGlobalState3 {
|
||||
last_vpay_state_update: ITimePoint
|
||||
total_vpay_share_change_rate: IFloat64
|
||||
}
|
||||
|
||||
export interface IEosioGlobalState4 {
|
||||
continuous_rate: IFloat64
|
||||
inflation_pay_factor: IInt64
|
||||
votepay_factor: IInt64
|
||||
}
|
||||
|
||||
export interface IExchangeState {
|
||||
supply: IAsset
|
||||
base: IConnector
|
||||
quote: IConnector
|
||||
}
|
||||
|
||||
export interface IFundcpuloan {
|
||||
from: IName
|
||||
loan_num: IUint64
|
||||
payment: IAsset
|
||||
}
|
||||
|
||||
export interface IFundnetloan {
|
||||
from: IName
|
||||
loan_num: IUint64
|
||||
payment: IAsset
|
||||
}
|
||||
|
||||
export interface IInit {
|
||||
version: IVaruint32
|
||||
core: ISymbol
|
||||
}
|
||||
|
||||
export interface IInitemission {
|
||||
init_supply: IAsset
|
||||
tact_duration: IUint64
|
||||
emission_factor: IFloat64
|
||||
}
|
||||
|
||||
export interface IKeyWeight {
|
||||
key: IPublicKey
|
||||
weight: IUint16
|
||||
}
|
||||
|
||||
export interface ILimitauthchg {
|
||||
account: IName
|
||||
allow_perms: IName[]
|
||||
disallow_perms: IName[]
|
||||
}
|
||||
|
||||
export interface ILinkauth {
|
||||
account: IName
|
||||
code: IName
|
||||
type: IName
|
||||
requirement: IName
|
||||
authorized_by: IName$
|
||||
}
|
||||
|
||||
export interface IMvfrsavings {
|
||||
owner: IName
|
||||
rex: IAsset
|
||||
}
|
||||
|
||||
export interface IMvtosavings {
|
||||
owner: IName
|
||||
rex: IAsset
|
||||
}
|
||||
|
||||
export interface INameBid {
|
||||
newname: IName
|
||||
high_bidder: IName
|
||||
high_bid: IInt64
|
||||
last_bid_time: ITimePoint
|
||||
}
|
||||
|
||||
export interface INewaccount {
|
||||
creator: IName
|
||||
name: IName
|
||||
owner: IAuthority
|
||||
active: IAuthority
|
||||
}
|
||||
|
||||
export interface IOnblock {
|
||||
header: IBlockHeader
|
||||
}
|
||||
|
||||
export interface IOnerror {
|
||||
sender_id: IUint128
|
||||
sent_trx: IBytes
|
||||
}
|
||||
|
||||
export interface IPairTimePointSecInt64 {
|
||||
first: ITimePointSec
|
||||
second: IInt64
|
||||
}
|
||||
|
||||
export interface IPermissionLevel {
|
||||
actor: IName
|
||||
permission: IName
|
||||
}
|
||||
|
||||
export interface IPermissionLevelWeight {
|
||||
permission: IPermissionLevel
|
||||
weight: IUint16
|
||||
}
|
||||
|
||||
export interface IPowerup {
|
||||
payer: IName
|
||||
receiver: IName
|
||||
days: IUint32
|
||||
payment: IAsset
|
||||
transfer: boolean
|
||||
}
|
||||
|
||||
export interface IPowerupConfig {
|
||||
powerup_days?: IUint32
|
||||
min_powerup_fee?: IAsset
|
||||
}
|
||||
|
||||
export interface IPowerupOrder {
|
||||
version: IUint8
|
||||
id: IUint64
|
||||
owner: IName
|
||||
net_weight: IInt64
|
||||
cpu_weight: IInt64
|
||||
ram_bytes: IInt64
|
||||
expires: ITimePointSec
|
||||
}
|
||||
|
||||
export interface IPowerupState {
|
||||
net: IPowerupStateResource
|
||||
cpu: IPowerupStateResource
|
||||
ram: IPowerupStateResource
|
||||
powerup_days: IUint32
|
||||
min_powerup_fee: IAsset
|
||||
}
|
||||
|
||||
export interface IPowerupStateResource {
|
||||
weight: IInt64
|
||||
utilization: IInt64
|
||||
}
|
||||
|
||||
export interface IPowerupexec {
|
||||
user: IName
|
||||
max: IUint16
|
||||
}
|
||||
|
||||
export interface IProducerInfo {
|
||||
owner: IName
|
||||
total_votes: IFloat64
|
||||
producer_key: IPublicKey
|
||||
is_active: boolean
|
||||
url: string
|
||||
unpaid_blocks: IUint32
|
||||
last_claim_time: ITimePoint
|
||||
location: IUint16
|
||||
producer_authority: IBlockSigningAuthority$
|
||||
}
|
||||
|
||||
export interface IProducerInfo2 {
|
||||
owner: IName
|
||||
votepay_share: IFloat64
|
||||
last_votepay_share_update: ITimePoint
|
||||
}
|
||||
|
||||
export interface IProducerKey {
|
||||
producer_name: IName
|
||||
block_signing_key: IPublicKey
|
||||
}
|
||||
|
||||
export interface IProducerSchedule {
|
||||
version: IUint32
|
||||
producers: IProducerKey[]
|
||||
}
|
||||
|
||||
export interface IRamDebtRecord {
|
||||
account: IName
|
||||
ram_debt: IInt64
|
||||
}
|
||||
|
||||
export interface IRefund {
|
||||
owner: IName
|
||||
}
|
||||
|
||||
export interface IRefundRequest {
|
||||
owner: IName
|
||||
request_time: ITimePointSec
|
||||
net_amount: IAsset
|
||||
cpu_amount: IAsset
|
||||
}
|
||||
|
||||
export interface IRegproducer {
|
||||
producer: IName
|
||||
producer_key: IPublicKey
|
||||
url: string
|
||||
location: IUint16
|
||||
}
|
||||
|
||||
export interface IRegproducer2 {
|
||||
producer: IName
|
||||
producer_authority: IBlockSigningAuthority
|
||||
url: string
|
||||
location: IUint16
|
||||
}
|
||||
|
||||
export interface IRegproxy {
|
||||
proxy: IName
|
||||
isproxy: boolean
|
||||
}
|
||||
|
||||
export interface IRentcpu {
|
||||
from: IName
|
||||
receiver: IName
|
||||
loan_payment: IAsset
|
||||
loan_fund: IAsset
|
||||
}
|
||||
|
||||
export interface IRentnet {
|
||||
from: IName
|
||||
receiver: IName
|
||||
loan_payment: IAsset
|
||||
loan_fund: IAsset
|
||||
}
|
||||
|
||||
export interface IRexBalance {
|
||||
version: IUint8
|
||||
owner: IName
|
||||
vote_stake: IAsset
|
||||
rex_balance: IAsset
|
||||
matured_rex: IInt64
|
||||
rex_maturities: IPairTimePointSecInt64[]
|
||||
}
|
||||
|
||||
export interface IRexFund {
|
||||
version: IUint8
|
||||
owner: IName
|
||||
balance: IAsset
|
||||
}
|
||||
|
||||
export interface IRexLoan {
|
||||
version: IUint8
|
||||
from: IName
|
||||
receiver: IName
|
||||
payment: IAsset
|
||||
balance: IAsset
|
||||
total_staked: IAsset
|
||||
loan_num: IUint64
|
||||
expiration: ITimePoint
|
||||
}
|
||||
|
||||
export interface IRexOrder {
|
||||
version: IUint8
|
||||
owner: IName
|
||||
rex_requested: IAsset
|
||||
proceeds: IAsset
|
||||
stake_change: IAsset
|
||||
order_time: ITimePoint
|
||||
is_open: boolean
|
||||
}
|
||||
|
||||
export interface IRexPool {
|
||||
version: IUint8
|
||||
total_lent: IAsset
|
||||
total_unlent: IAsset
|
||||
total_rent: IAsset
|
||||
total_lendable: IAsset
|
||||
total_rex: IAsset
|
||||
namebid_proceeds: IAsset
|
||||
loan_num: IUint64
|
||||
}
|
||||
|
||||
export interface IRexReturnBuckets {
|
||||
version: IUint8
|
||||
return_buckets: IPairTimePointSecInt64[]
|
||||
}
|
||||
|
||||
export interface IRexReturnPool {
|
||||
version: IUint8
|
||||
last_dist_time: ITimePointSec
|
||||
pending_bucket_time: ITimePointSec
|
||||
oldest_bucket_time: ITimePointSec
|
||||
pending_bucket_proceeds: IInt64
|
||||
current_rate_of_increase: IInt64
|
||||
proceeds: IInt64
|
||||
}
|
||||
|
||||
export interface IRexexec {
|
||||
user: IName
|
||||
max: IUint16
|
||||
}
|
||||
|
||||
export interface IRmvproducer {
|
||||
producer: IName
|
||||
}
|
||||
|
||||
export interface ISellram {
|
||||
account: IName
|
||||
bytes: IInt64
|
||||
}
|
||||
|
||||
export interface ISellrex {
|
||||
from: IName
|
||||
rex: IAsset
|
||||
}
|
||||
|
||||
export interface ISetabi {
|
||||
account: IName
|
||||
abi: IBytes
|
||||
memo: IString$
|
||||
}
|
||||
|
||||
export interface ISetacctcpu {
|
||||
account: IName
|
||||
cpu_weight?: IInt64
|
||||
}
|
||||
|
||||
export interface ISetacctnet {
|
||||
account: IName
|
||||
net_weight?: IInt64
|
||||
}
|
||||
|
||||
export interface ISetacctram {
|
||||
account: IName
|
||||
ram_bytes?: IInt64
|
||||
}
|
||||
|
||||
export interface ISetalimits {
|
||||
account: IName
|
||||
ram_bytes: IInt64
|
||||
net_weight: IInt64
|
||||
cpu_weight: IInt64
|
||||
}
|
||||
|
||||
export interface ISetcode {
|
||||
account: IName
|
||||
vmtype: IUint8
|
||||
vmversion: IUint8
|
||||
code: IBytes
|
||||
memo: IString$
|
||||
}
|
||||
|
||||
export interface ISetinflation {
|
||||
annual_rate: IInt64
|
||||
inflation_pay_factor: IInt64
|
||||
votepay_factor: IInt64
|
||||
}
|
||||
|
||||
export interface ISetparams {
|
||||
params: IBlockchainParametersT
|
||||
}
|
||||
|
||||
export interface ISetpriv {
|
||||
account: IName
|
||||
is_priv: IUint8
|
||||
}
|
||||
|
||||
export interface ISetram {
|
||||
max_ram_size: IUint64
|
||||
}
|
||||
|
||||
export interface ISetramrate {
|
||||
bytes_per_block: IUint16
|
||||
}
|
||||
|
||||
export interface ISetrex {
|
||||
balance: IAsset
|
||||
}
|
||||
|
||||
export interface IUndelegatebw {
|
||||
from: IName
|
||||
receiver: IName
|
||||
unstake_net_quantity: IAsset
|
||||
unstake_cpu_quantity: IAsset
|
||||
}
|
||||
|
||||
export interface IUnlinkauth {
|
||||
account: IName
|
||||
code: IName
|
||||
type: IName
|
||||
authorized_by: IName$
|
||||
}
|
||||
|
||||
export interface IUnregprod {
|
||||
producer: IName
|
||||
}
|
||||
|
||||
export interface IUnstaketorex {
|
||||
owner: IName
|
||||
receiver: IName
|
||||
from_net: IAsset
|
||||
from_cpu: IAsset
|
||||
}
|
||||
|
||||
export interface IUpdateauth {
|
||||
account: IName
|
||||
permission: IName
|
||||
parent: IName
|
||||
auth: IAuthority
|
||||
authorized_by: IName$
|
||||
}
|
||||
|
||||
export interface IUpdaterex {
|
||||
owner: IName
|
||||
}
|
||||
|
||||
export interface IUpdtrevision {
|
||||
revision: IUint8
|
||||
}
|
||||
|
||||
export interface IUserResources {
|
||||
owner: IName
|
||||
net_weight: IAsset
|
||||
cpu_weight: IAsset
|
||||
ram_bytes: IInt64
|
||||
}
|
||||
|
||||
export interface IVoteproducer {
|
||||
voter: IName
|
||||
proxy: IName
|
||||
producers: IName[]
|
||||
}
|
||||
|
||||
export interface IVoterInfo {
|
||||
owner: IName
|
||||
proxy: IName
|
||||
producers: IName[]
|
||||
staked: IInt64
|
||||
last_vote_weight: IFloat64
|
||||
proxied_vote_weight: IFloat64
|
||||
is_proxy: boolean
|
||||
flags1: IUint32
|
||||
reserved2: IUint32
|
||||
reserved3: IAsset
|
||||
}
|
||||
|
||||
export interface IVoteupdate {
|
||||
voter_name: IName
|
||||
}
|
||||
|
||||
export interface IWaitWeight {
|
||||
wait_sec: IUint32
|
||||
weight: IUint16
|
||||
}
|
||||
|
||||
export interface IWasmcfg {
|
||||
settings: IName
|
||||
}
|
||||
|
||||
export interface IWithdraw {
|
||||
owner: IName
|
||||
amount: IAsset
|
||||
}
|
||||
|
||||
export interface ILimitAuthChange {
|
||||
version: IUint8
|
||||
account: IName
|
||||
allow_perms: IName[]
|
||||
disallow_perms: IName[]
|
||||
}
|
||||
|
||||
}
|
||||
+4
-2
@@ -1,2 +1,4 @@
|
||||
export const one = 1
|
||||
export const two = 2
|
||||
// export * as FundContract from './contracts/fund'
|
||||
|
||||
// export * as DraftContract from './contracts/draft'
|
||||
export * from './lists'
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* Comments for variable
|
||||
*
|
||||
* @source source tag comment?
|
||||
*/
|
||||
export const coopname = 'системное_имя_кооператива'
|
||||
export const username = 'системное_имя_пользователя'
|
||||
@@ -0,0 +1,39 @@
|
||||
import type * as Draft from '../contracts/draft'
|
||||
import { coopname, username } from './base'
|
||||
|
||||
export * as Interfaces from '../contracts/draft'
|
||||
|
||||
export const Accounts = {
|
||||
production: 'draft',
|
||||
testnet: 'drafttest222',
|
||||
} as const
|
||||
|
||||
export const Scopes = {
|
||||
global: Accounts,
|
||||
coopname,
|
||||
username,
|
||||
} as const
|
||||
|
||||
export const TablesAndScopes = [{
|
||||
translations: {
|
||||
name: 'translations',
|
||||
scope: Scopes.global,
|
||||
},
|
||||
}] as const
|
||||
|
||||
/**
|
||||
* @category General Use
|
||||
*/
|
||||
// eslint-disable-next-line ts/no-namespace
|
||||
export namespace Actions {
|
||||
/**
|
||||
* вававава
|
||||
* @group Events
|
||||
*/
|
||||
export type ITranslations = Draft.ITranslations
|
||||
}
|
||||
|
||||
export interface Tables {
|
||||
/** Перевод такой хороший */
|
||||
translations: Draft.ITranslations // < Перевод,
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
import type * as Draft from '../contracts/fund'
|
||||
|
||||
export * from '../contracts/fund'
|
||||
|
||||
/** Контракт развернут на следующих аккаунтах в соответствующих сетях. */
|
||||
/**
|
||||
* Comments for variable
|
||||
*
|
||||
* @source source tag comment?
|
||||
*/
|
||||
export const DraftContractAccounts = {
|
||||
production: 'draft',
|
||||
testnet: 'drafttest222',
|
||||
}
|
||||
|
||||
export const coopname = 'системное_имя_кооператива'
|
||||
export const username = 'системное_имя_пользователя'
|
||||
|
||||
export const TableScopes = {
|
||||
global: DraftContractAccounts,
|
||||
coopname,
|
||||
username,
|
||||
}
|
||||
|
||||
export const DraftContractTablesAndScopes = [{
|
||||
translations: {
|
||||
name: 'translations',
|
||||
scope: TableScopes.global,
|
||||
},
|
||||
}]
|
||||
|
||||
export interface Actions {
|
||||
/** Действие такое-сякое */
|
||||
// ICreatetrans: Draft.ICreatetrans
|
||||
DraftContract: {
|
||||
ICreatetrans: Draft.IAccfunds
|
||||
}
|
||||
}
|
||||
|
||||
export interface Tables {
|
||||
/** Перевод такой хороший */
|
||||
ITranslations: {
|
||||
table: Draft.IAddcirculate // < Перевод
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
export * from './base'
|
||||
export * as DraftContract from './draft'
|
||||
// export * as FundContract from './fund'
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"entryPoints": ["src/index.ts"],
|
||||
"out": "docs",
|
||||
"includeVersion": true
|
||||
}
|
||||
Reference in New Issue
Block a user