|
|
|
@ -1163,34 +1163,34 @@ function dictValueParserAddressList(): DictionaryValue<AddressList> {
|
|
|
|
|
export type Distribution = { |
|
|
|
|
$$type: 'Distribution'; |
|
|
|
|
addresses: AddressList; |
|
|
|
|
percents: Dictionary<Address, bigint>; |
|
|
|
|
percents: Dictionary<bigint, bigint>; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
export function storeDistribution(src: Distribution) { |
|
|
|
|
return (builder: Builder) => { |
|
|
|
|
let b_0 = builder; |
|
|
|
|
b_0.store(storeAddressList(src.addresses)); |
|
|
|
|
b_0.storeDict(src.percents, Dictionary.Keys.Address(), Dictionary.Values.BigInt(257)); |
|
|
|
|
b_0.storeDict(src.percents, Dictionary.Keys.BigInt(257), Dictionary.Values.BigInt(257)); |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
export function loadDistribution(slice: Slice) { |
|
|
|
|
let sc_0 = slice; |
|
|
|
|
let _addresses = loadAddressList(sc_0); |
|
|
|
|
let _percents = Dictionary.load(Dictionary.Keys.Address(), Dictionary.Values.BigInt(257), sc_0); |
|
|
|
|
let _percents = Dictionary.load(Dictionary.Keys.BigInt(257), Dictionary.Values.BigInt(257), sc_0); |
|
|
|
|
return { $$type: 'Distribution' as const, addresses: _addresses, percents: _percents }; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function loadTupleDistribution(source: TupleReader) { |
|
|
|
|
const _addresses = loadTupleAddressList(source.readTuple()); |
|
|
|
|
let _percents = Dictionary.loadDirect(Dictionary.Keys.Address(), Dictionary.Values.BigInt(257), source.readCellOpt()); |
|
|
|
|
let _percents = Dictionary.loadDirect(Dictionary.Keys.BigInt(257), Dictionary.Values.BigInt(257), source.readCellOpt()); |
|
|
|
|
return { $$type: 'Distribution' as const, addresses: _addresses, percents: _percents }; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function storeTupleDistribution(source: Distribution) { |
|
|
|
|
let builder = new TupleBuilder(); |
|
|
|
|
builder.writeTuple(storeTupleAddressList(source.addresses)); |
|
|
|
|
builder.writeCell(source.percents.size > 0 ? beginCell().storeDictDirect(source.percents, Dictionary.Keys.Address(), Dictionary.Values.BigInt(257)).endCell() : null); |
|
|
|
|
builder.writeCell(source.percents.size > 0 ? beginCell().storeDictDirect(source.percents, Dictionary.Keys.BigInt(257), Dictionary.Values.BigInt(257)).endCell() : null); |
|
|
|
|
return builder.build(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -1215,7 +1215,7 @@ export type InitiateDistributionVote = {
|
|
|
|
|
export function storeInitiateDistributionVote(src: InitiateDistributionVote) { |
|
|
|
|
return (builder: Builder) => { |
|
|
|
|
let b_0 = builder; |
|
|
|
|
b_0.storeUint(276353205, 32); |
|
|
|
|
b_0.storeUint(2512227654, 32); |
|
|
|
|
b_0.storeInt(src.adminIndex, 257); |
|
|
|
|
b_0.storeInt(src.quorum_percent, 257); |
|
|
|
|
b_0.storeInt(src.vote_time, 257); |
|
|
|
@ -1227,7 +1227,7 @@ export function storeInitiateDistributionVote(src: InitiateDistributionVote) {
|
|
|
|
|
|
|
|
|
|
export function loadInitiateDistributionVote(slice: Slice) { |
|
|
|
|
let sc_0 = slice; |
|
|
|
|
if (sc_0.loadUint(32) !== 276353205) { throw Error('Invalid prefix'); } |
|
|
|
|
if (sc_0.loadUint(32) !== 2512227654) { throw Error('Invalid prefix'); } |
|
|
|
|
let _adminIndex = sc_0.loadIntBig(257); |
|
|
|
|
let _quorum_percent = sc_0.loadIntBig(257); |
|
|
|
|
let _vote_time = sc_0.loadIntBig(257); |
|
|
|
@ -1617,7 +1617,6 @@ export type Vote = {
|
|
|
|
|
id: bigint; |
|
|
|
|
votes: Dictionary<bigint, bigint>; |
|
|
|
|
vote_end: bigint; |
|
|
|
|
proposal: Proposal; |
|
|
|
|
quorum_percent: bigint; |
|
|
|
|
ended: boolean; |
|
|
|
|
result: boolean | null; |
|
|
|
@ -1629,14 +1628,9 @@ export function storeVote(src: Vote) {
|
|
|
|
|
b_0.storeInt(src.id, 257); |
|
|
|
|
b_0.storeDict(src.votes, Dictionary.Keys.BigInt(257), Dictionary.Values.BigInt(257)); |
|
|
|
|
b_0.storeInt(src.vote_end, 257); |
|
|
|
|
let b_1 = new Builder(); |
|
|
|
|
b_1.store(storeProposal(src.proposal)); |
|
|
|
|
let b_2 = new Builder(); |
|
|
|
|
b_2.storeInt(src.quorum_percent, 257); |
|
|
|
|
b_2.storeBit(src.ended); |
|
|
|
|
if (src.result !== null && src.result !== undefined) { b_2.storeBit(true).storeBit(src.result); } else { b_2.storeBit(false); } |
|
|
|
|
b_1.storeRef(b_2.endCell()); |
|
|
|
|
b_0.storeRef(b_1.endCell()); |
|
|
|
|
b_0.storeInt(src.quorum_percent, 257); |
|
|
|
|
b_0.storeBit(src.ended); |
|
|
|
|
if (src.result !== null && src.result !== undefined) { b_0.storeBit(true).storeBit(src.result); } else { b_0.storeBit(false); } |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -1645,24 +1639,20 @@ export function loadVote(slice: Slice) {
|
|
|
|
|
let _id = sc_0.loadIntBig(257); |
|
|
|
|
let _votes = Dictionary.load(Dictionary.Keys.BigInt(257), Dictionary.Values.BigInt(257), sc_0); |
|
|
|
|
let _vote_end = sc_0.loadIntBig(257); |
|
|
|
|
let sc_1 = sc_0.loadRef().beginParse(); |
|
|
|
|
let _proposal = loadProposal(sc_1); |
|
|
|
|
let sc_2 = sc_1.loadRef().beginParse(); |
|
|
|
|
let _quorum_percent = sc_2.loadIntBig(257); |
|
|
|
|
let _ended = sc_2.loadBit(); |
|
|
|
|
let _result = sc_2.loadBit() ? sc_2.loadBit() : null; |
|
|
|
|
return { $$type: 'Vote' as const, id: _id, votes: _votes, vote_end: _vote_end, proposal: _proposal, quorum_percent: _quorum_percent, ended: _ended, result: _result }; |
|
|
|
|
let _quorum_percent = sc_0.loadIntBig(257); |
|
|
|
|
let _ended = sc_0.loadBit(); |
|
|
|
|
let _result = sc_0.loadBit() ? sc_0.loadBit() : null; |
|
|
|
|
return { $$type: 'Vote' as const, id: _id, votes: _votes, vote_end: _vote_end, quorum_percent: _quorum_percent, ended: _ended, result: _result }; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function loadTupleVote(source: TupleReader) { |
|
|
|
|
let _id = source.readBigNumber(); |
|
|
|
|
let _votes = Dictionary.loadDirect(Dictionary.Keys.BigInt(257), Dictionary.Values.BigInt(257), source.readCellOpt()); |
|
|
|
|
let _vote_end = source.readBigNumber(); |
|
|
|
|
const _proposal = loadTupleProposal(source.readTuple()); |
|
|
|
|
let _quorum_percent = source.readBigNumber(); |
|
|
|
|
let _ended = source.readBoolean(); |
|
|
|
|
let _result = source.readBooleanOpt(); |
|
|
|
|
return { $$type: 'Vote' as const, id: _id, votes: _votes, vote_end: _vote_end, proposal: _proposal, quorum_percent: _quorum_percent, ended: _ended, result: _result }; |
|
|
|
|
return { $$type: 'Vote' as const, id: _id, votes: _votes, vote_end: _vote_end, quorum_percent: _quorum_percent, ended: _ended, result: _result }; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function storeTupleVote(source: Vote) { |
|
|
|
@ -1670,7 +1660,6 @@ function storeTupleVote(source: Vote) {
|
|
|
|
|
builder.writeNumber(source.id); |
|
|
|
|
builder.writeCell(source.votes.size > 0 ? beginCell().storeDictDirect(source.votes, Dictionary.Keys.BigInt(257), Dictionary.Values.BigInt(257)).endCell() : null); |
|
|
|
|
builder.writeNumber(source.vote_end); |
|
|
|
|
builder.writeTuple(storeTupleProposal(source.proposal)); |
|
|
|
|
builder.writeNumber(source.quorum_percent); |
|
|
|
|
builder.writeBoolean(source.ended); |
|
|
|
|
builder.writeBoolean(source.result); |
|
|
|
@ -1812,8 +1801,8 @@ function dictValueParserWithdraw(): DictionaryValue<Withdraw> {
|
|
|
|
|
} |
|
|
|
|
async function TONBWallet_init(master: Address, owner: Address) { |
|
|
|
|
const __init = 'te6ccgEBBgEAZgABFP8A9KQT9LzyyAsBAgFiAgMCA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VMnBYygDiWCBulTBwAcsBks8W4skBzMntVALeMDL4QW8kECNfA4ERTVMUxwVRJMcFErHy9H9wf1MRgEBUOpnbPCcDBFCqbW3bPALI+EIBzFVQUFaBAQHPAFADzxYBzxbKAMgibrOafwHKABKBAQHPAJUycFjKAOJYIG6VMHABywGSzxbiyQHMye1UHh8ASMhVMIIQe92X3lAFyx8Tyz8B+gIBzxYBIG6VMHABywGSzxbiyQH2yHEBygFQBwHKAHABygJQBc8WUAP6AnABymgjbrMlbrOxjkx/AcoAyHABygBwAcoAJG6znX8BygAEIG7y0IBQBMyWNANwAcoA4iRus51/AcoABCBu8tCAUATMljQDcAHKAOJwAcoAAn8BygACyVjMlzMzAXABygDiIW6zIAAwnH8BygABIG7y0IABzJUxcAHKAOLJAfsAAIX7g2trgDZGYDAqqQKCtAgIDngCgB54sA54tlAGQRN1nNP4DlAAlAgIDngEqZOCxlAHEsEDdKmDgA5YDJZ4txZIDmZMAE3YFoegIYNoDAsEIAwAh6B7fQ+XBDgMCwQhEBQAh6C+R6AGSgAfgTwBh7/YF2omhqAPwxQICA64B9IACA/SAAgOkAagDoaQAAysCAgOuASTaA8X0gEOuFgOGASIDJGLbxGIgTCBKIEggRtgttnkJQBxvd6ME4LnYerpZXPY9CdhzrJUKNs0E4TusalpWyPlmRadeW/vixHME4TujwAfLZsB5P5B1ZLNZRCcABJfA/hCUxLwKDA='; |
|
|
|
|
const __system = 'te6cckECKAEACD0AAQHAAQEFoMEJAgEU/wD0pBP0vPLICwMCAWIIBAIBIAYFAHG93owTgudh6ullc9j0J2HOslQo2zQThO6xqWlbI+WZFp15b++LEcwThO6PAB8tmwHk/kHVks1lEJwBh7/YF2omhqAPwxQICA64B9IACA/SAAgOkAagDoaQAAysCAgOuASTaA8X0gEOuFgOGASIDJGLbxGIgTCBKIEggRtgttnkBwASXwP4QlMS8CgwAgLKDAkCAUgLCgBN2BaHoCGDaAwLBCAMAIege30PlwQ4DAsEIRAUAIegvkegBkoAH4E8AIX7g2tr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AOIkbrOdfwHKAAQgbvLQgFAEzJY0A3ABygDicAHKAAJ/AcoAAslYzJczMwFwAcoA4iFusyAAMJx/AcoAASBu8tCAAcyVMXABygDiyQH7AAEMyFVw2zzJIgCcghAXjUUZUAnLHxfLP1AF+gJQA88WASBulTBwAcsBks8W4gH6AgHPFsgibrOafwHKABKBAQHPAJUycFjKAOJYIG6VMHABywGSzxbiyQHMAEpwWchwAcsBcwHLAXABywASzMzJ+QDIcgHLAXABywASygfL/8nQACRsMfoAMXHXIfoAMfoAMKcDqwAAbNMfAYIQD4p+pbry4IHTP/oA+kABAfpAIdcLAcMAkQGSMW3iAdIAAZHUkm0B4voAUWYWFRRDMAHSMO1E0NQB+GKBAQHXAPpAAQH6QAEB0gDUAdDSAAGVgQEB1wCSbQHi+kAh1wsBwwCRAZIxbeIxECYQJRAkECNsFlUFgCDXIdMf0z8x+gAwgTVSIoIQF41FGboDghB73ZfeuhOxEvL0FqAFJwCAyPhCAcxVUFBWgQEBzwBQA88WAc8WygDIIm6zmn8BygASgQEBzwCVMnBYygDiWCBulTBwAcsBks8W4skBzMntVKZwN3U='; |
|
|
|
|
let systemCell = Cell.fromBase64(__system); |
|
|
|
|
let builder = new TupleBuilder(); |
|
|
|
|
builder.writeCell(systemCell); |
|
|
|
@ -1867,7 +1856,6 @@ const TONBWallet_errors: { [key: number]: { message: string } } = {
|
|
|
|
|
6873: { message: `Only an admin can initiate a vote` }, |
|
|
|
|
13650: { message: `Invalid bounced message` }, |
|
|
|
|
16059: { message: `Invalid value` }, |
|
|
|
|
16994: { message: `Vote is finished` }, |
|
|
|
|
18474: { message: `only the owner can set a new owner` }, |
|
|
|
|
19362: { message: `Invalid quorum percent` }, |
|
|
|
|
29720: { message: `Invalid vote` }, |
|
|
|
|