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.
 
 

1 lines
11 KiB

{"version":"0.0.1","name":"JettonDefaultWallet","structs":[{"name":"StateInit","header":0,"fields":[{"name":"code","type":{"kind":"ref","name":"Cell","optional":false}},{"name":"data","type":{"kind":"ref","name":"Cell","optional":false}}],"allocation":{"prefix":null,"root":{"fields":[{"index":0,"size":{"bits":0,"refs":1},"kind":"cell"},{"index":1,"size":{"bits":0,"refs":1},"kind":"cell"}],"next":null,"size":{"bits":0,"refs":2}}}},{"name":"Context","header":0,"fields":[{"name":"bounced","type":{"kind":"ref","name":"Bool","optional":false}},{"name":"sender","type":{"kind":"ref","name":"Address","optional":false}},{"name":"value","type":{"kind":"ref","name":"Int","optional":false}},{"name":"raw","type":{"kind":"ref","name":"Slice","optional":false}}],"allocation":{"prefix":null,"root":{"fields":[{"index":0,"size":{"bits":1,"refs":0},"kind":"int","bits":1},{"index":1,"size":{"bits":267,"refs":0},"kind":"address"},{"index":2,"size":{"bits":257,"refs":0},"kind":"int","bits":257},{"index":3,"size":{"bits":0,"refs":1},"kind":"slice"}],"next":null,"size":{"bits":525,"refs":1}}}},{"name":"SendParameters","header":0,"fields":[{"name":"bounce","type":{"kind":"ref","name":"Bool","optional":false}},{"name":"to","type":{"kind":"ref","name":"Address","optional":false}},{"name":"value","type":{"kind":"ref","name":"Int","optional":false}},{"name":"mode","type":{"kind":"ref","name":"Int","optional":false}},{"name":"body","type":{"kind":"ref","name":"Cell","optional":true}},{"name":"code","type":{"kind":"ref","name":"Cell","optional":true}},{"name":"data","type":{"kind":"ref","name":"Cell","optional":true}}],"allocation":{"prefix":null,"root":{"fields":[{"index":0,"size":{"bits":1,"refs":0},"kind":"int","bits":1},{"index":1,"size":{"bits":267,"refs":0},"kind":"address"},{"index":2,"size":{"bits":257,"refs":0},"kind":"int","bits":257},{"index":3,"size":{"bits":257,"refs":0},"kind":"int","bits":257},{"index":4,"size":{"bits":1,"refs":1},"kind":"optional","inner":{"index":4,"size":{"bits":0,"refs":1},"kind":"cell"}},{"index":5,"size":{"bits":1,"refs":1},"kind":"optional","inner":{"index":5,"size":{"bits":0,"refs":1},"kind":"cell"}},{"index":6,"size":{"bits":1,"refs":1},"kind":"optional","inner":{"index":6,"size":{"bits":0,"refs":1},"kind":"cell"}}],"next":null,"size":{"bits":785,"refs":3}}}},{"name":"ChangeOwner","header":0,"fields":[{"name":"newOwner","type":{"kind":"ref","name":"Address","optional":false}}],"allocation":{"prefix":3067051791,"root":{"fields":[{"index":0,"size":{"bits":267,"refs":0},"kind":"address"}],"next":null,"size":{"bits":267,"refs":0}}}},{"name":"TokenTransfer","header":0,"fields":[{"name":"queryId","type":{"kind":"ref","name":"Int","optional":false}},{"name":"amount","type":{"kind":"ref","name":"Int","optional":false}},{"name":"destination","type":{"kind":"ref","name":"Address","optional":false}},{"name":"responseDestination","type":{"kind":"ref","name":"Address","optional":true}},{"name":"customPayload","type":{"kind":"ref","name":"Cell","optional":true}},{"name":"forwardTonAmount","type":{"kind":"ref","name":"Int","optional":false}},{"name":"forwardPayload","type":{"kind":"ref","name":"Slice","optional":false}}],"allocation":{"prefix":260734629,"root":{"fields":[{"index":0,"size":{"bits":64,"refs":0},"kind":"uint","bits":64},{"index":1,"size":{"bits":124,"refs":0},"kind":"coins"},{"index":2,"size":{"bits":267,"refs":0},"kind":"address"},{"index":3,"size":{"bits":267,"refs":0},"kind":"optional","inner":{"index":3,"size":{"bits":267,"refs":0},"kind":"address"}},{"index":4,"size":{"bits":1,"refs":1},"kind":"optional","inner":{"index":4,"size":{"bits":0,"refs":1},"kind":"cell"}},{"index":5,"size":{"bits":124,"refs":0},"kind":"coins"},{"index":6,"size":{"bits":0,"refs":0},"kind":"remaining"}],"next":null,"size":{"bits":847,"refs":1}}}},{"name":"TokenTransferInternal","header":0,"fields":[{"name":"queryId","type":{"kind":"ref","name":"Int","optional":false}},{"name":"amount","type":{"kind":"ref","name":"Int","optional":false}},{"name":"from","type":{"kind":"ref","name":"Address","optional":false}},{"name":"responseAddress","type":{"kind":"ref","name":"Address","optional":true}},{"name":"forwardTonAmount","type":{"kind":"ref","name":"Int","optional":false}},{"name":"forwardPayload","type":{"kind":"ref","name":"Slice","optional":false}}],"allocation":{"prefix":395134233,"root":{"fields":[{"index":0,"size":{"bits":64,"refs":0},"kind":"uint","bits":64},{"index":1,"size":{"bits":124,"refs":0},"kind":"coins"},{"index":2,"size":{"bits":267,"refs":0},"kind":"address"},{"index":3,"size":{"bits":267,"refs":0},"kind":"optional","inner":{"index":3,"size":{"bits":267,"refs":0},"kind":"address"}},{"index":4,"size":{"bits":124,"refs":0},"kind":"coins"},{"index":5,"size":{"bits":0,"refs":0},"kind":"remaining"}],"next":null,"size":{"bits":846,"refs":0}}}},{"name":"TokenNotification","header":0,"fields":[{"name":"queryId","type":{"kind":"ref","name":"Int","optional":false}},{"name":"amount","type":{"kind":"ref","name":"Int","optional":false}},{"name":"from","type":{"kind":"ref","name":"Address","optional":false}},{"name":"forwardPayload","type":{"kind":"ref","name":"Slice","optional":false}}],"allocation":{"prefix":1935855772,"root":{"fields":[{"index":0,"size":{"bits":64,"refs":0},"kind":"uint","bits":64},{"index":1,"size":{"bits":124,"refs":0},"kind":"coins"},{"index":2,"size":{"bits":267,"refs":0},"kind":"address"},{"index":3,"size":{"bits":0,"refs":0},"kind":"remaining"}],"next":null,"size":{"bits":455,"refs":0}}}},{"name":"TokenBurn","header":0,"fields":[{"name":"queryId","type":{"kind":"ref","name":"Int","optional":false}},{"name":"amount","type":{"kind":"ref","name":"Int","optional":false}},{"name":"owner","type":{"kind":"ref","name":"Address","optional":false}},{"name":"responseAddress","type":{"kind":"ref","name":"Address","optional":true}}],"allocation":{"prefix":1499400124,"root":{"fields":[{"index":0,"size":{"bits":64,"refs":0},"kind":"uint","bits":64},{"index":1,"size":{"bits":124,"refs":0},"kind":"coins"},{"index":2,"size":{"bits":267,"refs":0},"kind":"address"},{"index":3,"size":{"bits":267,"refs":0},"kind":"optional","inner":{"index":3,"size":{"bits":267,"refs":0},"kind":"address"}}],"next":null,"size":{"bits":722,"refs":0}}}},{"name":"TokenBurnNotification","header":0,"fields":[{"name":"queryId","type":{"kind":"ref","name":"Int","optional":false}},{"name":"amount","type":{"kind":"ref","name":"Int","optional":false}},{"name":"owner","type":{"kind":"ref","name":"Address","optional":false}},{"name":"responseAddress","type":{"kind":"ref","name":"Address","optional":true}}],"allocation":{"prefix":2078119902,"root":{"fields":[{"index":0,"size":{"bits":64,"refs":0},"kind":"uint","bits":64},{"index":1,"size":{"bits":124,"refs":0},"kind":"coins"},{"index":2,"size":{"bits":267,"refs":0},"kind":"address"},{"index":3,"size":{"bits":267,"refs":0},"kind":"optional","inner":{"index":3,"size":{"bits":267,"refs":0},"kind":"address"}}],"next":null,"size":{"bits":722,"refs":0}}}},{"name":"TokenExcesses","header":0,"fields":[{"name":"queryId","type":{"kind":"ref","name":"Int","optional":false}}],"allocation":{"prefix":3576854235,"root":{"fields":[{"index":0,"size":{"bits":64,"refs":0},"kind":"uint","bits":64}],"next":null,"size":{"bits":64,"refs":0}}}},{"name":"TokenUpdateContent","header":0,"fields":[{"name":"content","type":{"kind":"ref","name":"Cell","optional":true}}],"allocation":{"prefix":1862840892,"root":{"fields":[{"index":0,"size":{"bits":1,"refs":1},"kind":"optional","inner":{"index":0,"size":{"bits":0,"refs":1},"kind":"cell"}}],"next":null,"size":{"bits":1,"refs":1}}}},{"name":"JettonData","header":0,"fields":[{"name":"totalSupply","type":{"kind":"ref","name":"Int","optional":false}},{"name":"mintable","type":{"kind":"ref","name":"Bool","optional":false}},{"name":"owner","type":{"kind":"ref","name":"Address","optional":false}},{"name":"content","type":{"kind":"ref","name":"Cell","optional":true}},{"name":"walletCode","type":{"kind":"ref","name":"Cell","optional":false}}],"allocation":{"prefix":null,"root":{"fields":[{"index":0,"size":{"bits":257,"refs":0},"kind":"int","bits":257},{"index":1,"size":{"bits":1,"refs":0},"kind":"int","bits":1},{"index":2,"size":{"bits":267,"refs":0},"kind":"address"},{"index":3,"size":{"bits":1,"refs":1},"kind":"optional","inner":{"index":3,"size":{"bits":0,"refs":1},"kind":"cell"}},{"index":4,"size":{"bits":0,"refs":1},"kind":"cell"}],"next":null,"size":{"bits":526,"refs":2}}}},{"name":"JettonWalletData","header":0,"fields":[{"name":"balance","type":{"kind":"ref","name":"Int","optional":false}},{"name":"owner","type":{"kind":"ref","name":"Address","optional":false}},{"name":"master","type":{"kind":"ref","name":"Address","optional":false}},{"name":"walletCode","type":{"kind":"ref","name":"Cell","optional":false}}],"allocation":{"prefix":null,"root":{"fields":[{"index":0,"size":{"bits":257,"refs":0},"kind":"int","bits":257},{"index":1,"size":{"bits":267,"refs":0},"kind":"address"},{"index":2,"size":{"bits":267,"refs":0},"kind":"address"},{"index":3,"size":{"bits":0,"refs":1},"kind":"cell"}],"next":null,"size":{"bits":791,"refs":1}}}},{"name":"Mint","header":0,"fields":[{"name":"amount","type":{"kind":"ref","name":"Int","optional":false}}],"allocation":{"prefix":2737462367,"root":{"fields":[{"index":0,"size":{"bits":257,"refs":0},"kind":"int","bits":257}],"next":null,"size":{"bits":257,"refs":0}}}}],"init":{"name":"init_JettonDefaultWallet","args":[{"name":"master","type":{"kind":"ref","name":"Address","optional":false}},{"name":"owner","type":{"kind":"ref","name":"Address","optional":false}}]},"receivers":[{"kind":"internal-binary","type":"TokenTransfer"},{"kind":"internal-binary","type":"TokenTransferInternal"},{"kind":"internal-binary","type":"TokenBurn"}],"getters":[{"name":"get_wallet_data","args":[],"returns":{"kind":"ref","name":"JettonWalletData","optional":false}}],"dependsOn":{"JettonDefaultWallet":{"uid":55471}},"errors":{"2":{"message":"Stack undeflow"},"3":{"message":"Stack overflow"},"4":{"message":"Integer overflow"},"5":{"message":"Integer out of expected range"},"6":{"message":"Invalid opcode"},"7":{"message":"Type check error"},"8":{"message":"Cell overflow"},"9":{"message":"Cell underflow"},"10":{"message":"Dictionary error"},"13":{"message":"Out of gas error"},"32":{"message":"Method ID not found"},"34":{"message":"Action is invalid or not supported"},"37":{"message":"Not enough TON"},"38":{"message":"Not enough extra-currencies"},"128":{"message":"Null reference exception"},"129":{"message":"Invalid serialization prefix"},"130":{"message":"Invalid incoming message"},"131":{"message":"Constraints error"},"132":{"message":"Access denied"},"133":{"message":"Contract stopped"},"134":{"message":"Invalid argument"},"4429":{"message":"Invalid sender"},"13650":{"message":"Invalid bounced message"},"16059":{"message":"Invalid value"},"62972":{"message":"Invalid balance"}}}