|
|
|
message(0xf8a7ea5) TokenTransfer {
|
|
|
|
queryId: Int as uint64;
|
|
|
|
amount: Int as coins;
|
|
|
|
destination: Address;
|
|
|
|
responseDestination: Address?;
|
|
|
|
customPayload: Cell?;
|
|
|
|
forwardTonAmount: Int as coins;
|
|
|
|
forwardPayload: Slice as remaining;
|
|
|
|
}
|
|
|
|
|
|
|
|
message(0x178d4519) TokenTransferInternal {
|
|
|
|
queryId: Int as uint64;
|
|
|
|
amount: Int as coins;
|
|
|
|
from: Address;
|
|
|
|
responseAddress: Address?;
|
|
|
|
forwardTonAmount: Int as coins;
|
|
|
|
forwardPayload: Slice as remaining;
|
|
|
|
setLinker: Int?;
|
|
|
|
setLinkerAddress: Address?;
|
|
|
|
}
|
|
|
|
|
|
|
|
message(0x7362d09c) TokenNotification {
|
|
|
|
queryId: Int as uint64;
|
|
|
|
amount: Int as coins;
|
|
|
|
from: Address;
|
|
|
|
forwardPayload: Slice as remaining;
|
|
|
|
}
|
|
|
|
|
|
|
|
message(0x595f07bc) TokenBurn {
|
|
|
|
queryId: Int as uint64;
|
|
|
|
amount: Int as coins;
|
|
|
|
owner: Address;
|
|
|
|
responseAddress: Address?;
|
|
|
|
}
|
|
|
|
|
|
|
|
message(0x7bdd97de) TokenBurnNotification {
|
|
|
|
queryId: Int as uint64;
|
|
|
|
amount: Int as coins;
|
|
|
|
owner: Address;
|
|
|
|
responseAddress: Address?;
|
|
|
|
}
|
|
|
|
|
|
|
|
message(0xd53276db) TokenExcesses {
|
|
|
|
queryId: Int as uint64;
|
|
|
|
}
|
|
|
|
|
|
|
|
message TokenUpdateContent {
|
|
|
|
content: Cell?;
|
|
|
|
}
|
|
|
|
|
|
|
|
message(0xda803efd) StakingWithdraw {
|
|
|
|
value: Int as coins;
|
|
|
|
}
|
|
|
|
|
|
|
|
struct JettonData {
|
|
|
|
totalSupply: Int;
|
|
|
|
mintable: Bool;
|
|
|
|
owner: Address;
|
|
|
|
content: Cell?;
|
|
|
|
walletCode: Cell;
|
|
|
|
}
|
|
|
|
|
|
|
|
struct JettonWalletData {
|
|
|
|
balance: Int;
|
|
|
|
owner: Address;
|
|
|
|
master: Address;
|
|
|
|
walletCode: Cell;
|
|
|
|
}
|
|
|
|
|
|
|
|
message SetLinkerNeighbor {
|
|
|
|
neighbor: Address?;
|
|
|
|
}
|
|
|
|
|
|
|
|
message InitLinker {
|
|
|
|
neighbor: Address?;
|
|
|
|
walletAmount: Int;
|
|
|
|
walletCode: Cell;
|
|
|
|
walletData: Cell;
|
|
|
|
walletAddress: Address;
|
|
|
|
responseAddress: Address?;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ForwardToWallet {
|
|
|
|
body: Cell;
|
|
|
|
}
|
|
|
|
|
|
|
|
message BlacklistWallet {
|
|
|
|
wallet: Address;
|
|
|
|
}
|
|
|
|
|
|
|
|
message InitiateBlacklistVote {
|
|
|
|
adminIndex: Int;
|
|
|
|
wallet: Address;
|
|
|
|
quorum_percent: Int;
|
|
|
|
vote_time: Int;
|
|
|
|
}
|
|
|
|
|
|
|
|
message InitiateLiquidationVote {
|
|
|
|
adminIndex: Int;
|
|
|
|
quorum_percent: Int;
|
|
|
|
vote_time: Int;
|
|
|
|
}
|
|
|
|
|
|
|
|
message FinishVote {
|
|
|
|
voteId: Int;
|
|
|
|
}
|
|
|
|
|
|
|
|
message VoteMsg {
|
|
|
|
voteId: Int;
|
|
|
|
adminIndex: Int;
|
|
|
|
vote: Int; // 0 - abstain, 1 - yes, 2 - no
|
|
|
|
}
|
|
|
|
|
|
|
|
struct AddressList {
|
|
|
|
addresses: map[Int]Address;
|
|
|
|
length: Int;
|
|
|
|
}
|
|
|
|
|
|
|
|
struct Distribution {
|
|
|
|
addresses: AddressList;
|
|
|
|
percents: map[Int]Int;
|
|
|
|
}
|
|
|
|
message InitiateDistributionVote {
|
|
|
|
adminIndex: Int;
|
|
|
|
quorum_percent: Int;
|
|
|
|
vote_time: Int;
|
|
|
|
distribution: Distribution;
|
|
|
|
}
|
|
|
|
|
|
|
|
message SetStakingPool {
|
|
|
|
staking_pool: Address?;
|
|
|
|
}
|
|
|
|
|
|
|
|
message RequestLinker {
|
|
|
|
client: Address;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Unstake {
|
|
|
|
amount: Int;
|
|
|
|
}
|
|
|
|
|
|
|
|
message RequestUnstake {
|
|
|
|
founderIndex: Int;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CollectProfit {
|
|
|
|
adminIndex: Int;
|
|
|
|
}
|
|
|
|
|
|
|
|
message SetOwner {
|
|
|
|
owner: Address;
|
|
|
|
}
|