/**
* This file was automatically generated by @cosmwasm/ts-codegen@1.14.0.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run the @cosmwasm/ts-codegen generate command to regenerate this file.
*/
export type Uint128 = string;
export interface BurnStatsResponse {
total_burned: Uint128;
}
export interface ConfigResponse {
admin: string;
mine_contract?: string | null;
paused: boolean;
refer_contract?: string | null;
stake_contract?: string | null;
wrap_contract?: string | null;
}
export type ExecuteMsg = {
transfer: {
amount: Uint128;
recipient: string;
};
} | {
transfer_from: {
amount: Uint128;
owner: string;
recipient: string;
};
} | {
send: {
amount: Uint128;
contract: string;
msg: Binary;
};
} | {
send_from: {
amount: Uint128;
contract: string;
msg: Binary;
owner: string;
};
} | {
burn: {
amount: Uint128;
};
} | {
burn_from: {
amount: Uint128;
owner: string;
};
} | {
increase_allowance: {
amount: Uint128;
expires?: Expiration | null;
spender: string;
};
} | {
decrease_allowance: {
amount: Uint128;
expires?: Expiration | null;
spender: string;
};
} | {
mint: {
amount: Uint128;
to: string;
};
} | {
register_authorized_caller: {
contract_addr: string;
};
} | {
remove_authorized_caller: {
contract_addr: string;
};
} | {
update_config: {
admin?: string | null;
mine_contract?: string | null;
refer_contract?: string | null;
stake_contract?: string | null;
wrap_contract?: string | null;
};
} | {
apply_testing_overrides: {
overrides: TestingOverrides;
};
} | {
reset_state: {};
} | {
pause: {};
} | {
unpause: {};
} | {
receive: Cw20ReceiveMsg;
};
export type Binary = string;
export type Expiration = {
at_height: number;
} | {
at_time: Timestamp;
} | {
never: {};
};
export type Timestamp = Uint64;
export type Uint64 = string;
export interface TestingOverrides {
burn_total?: Uint128 | null;
fee_total?: Uint128 | null;
paused?: boolean | null;
total_minted?: Uint128 | null;
}
export interface Cw20ReceiveMsg {
amount: Uint128;
msg: Binary;
sender: string;
}
export interface InstantiateMsg {
admin?: string | null;
decimals: number;
mine_contract?: string | null;
name: string;
refer_contract?: string | null;
stake_contract?: string | null;
symbol: string;
wrap_contract?: string | null;
}
export interface IsAuthorizedCallerResponse {
address: string;
authorized: boolean;
}
export type QueryMsg = {
config: {};
} | {
burn_stats: {};
} | {
total_minted: {};
} | {
is_authorized_caller: {
address: string;
};
} | {
balance: {
address: string;
};
} | {
token_info: {};
} | {
minter: {};
} | {
allowance: {
owner: string;
spender: string;
};
} | {
all_allowances: {
limit?: number | null;
owner: string;
start_after?: string | null;
};
} | {
all_spender_allowances: {
limit?: number | null;
spender: string;
start_after?: string | null;
};
} | {
all_accounts: {
limit?: number | null;
start_after?: string | null;
};
};
export interface TotalMintedResponse {
supply_cap: Uint128;
total_minted: Uint128;
}