You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

152 lines
2.6 KiB

2 years ago
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?;
2 years ago
}
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;
}
2 years ago
struct JettonData {
totalSupply: Int;
mintable: Bool;
owner: Address;
content: Cell?;
walletCode: Cell;
}
struct JettonWalletData {
balance: Int;
owner: Address;
master: Address;
walletCode: Cell;
}
2 years ago
message SetLinkerNeighbor {
neighbor: Address?;
2 years ago
}
2 years ago
message InitLinker {
neighbor: Address?;
2 years ago
walletAmount: Int;
walletCode: Cell;
walletData: Cell;
walletAddress: Address;
responseAddress: Address?;
2 years ago
}
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;
}