File tree Expand file tree Collapse file tree 6 files changed +16
-25
lines changed Expand file tree Collapse file tree 6 files changed +16
-25
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,10 @@ var TLBs = lib.MustNewTLBMap([]interface{}{
1919 // because they are already handled by their respective decoders (jetton wallet and fee quoter)
2020})
2121
22- type decoder struct {
23- payloadDecoders map [cldf.ContractType ]lib.ContractDecoder
24- }
22+ type decoder struct {}
2523
26- func NewDecoder (payloadDecoders map [cldf. ContractType ]lib. ContractDecoder ) lib.ContractDecoder {
27- return & decoder {payloadDecoders }
24+ func NewDecoder () lib.ContractDecoder {
25+ return & decoder {}
2826}
2927
3028// ContractType implements lib.ContractDecoder.
Original file line number Diff line number Diff line change @@ -24,12 +24,10 @@ var TLBs = lib.MustNewTLBMap([]interface{}{
2424 onramp.UpdateAllowlistsMessage {},
2525})
2626
27- type decoder struct {
28- payloadDecoders map [cldf.ContractType ]lib.ContractDecoder
29- }
27+ type decoder struct {}
3028
31- func NewDecoder (payloadDecoders map [cldf. ContractType ]lib. ContractDecoder ) lib.ContractDecoder {
32- return & decoder {payloadDecoders }
29+ func NewDecoder () lib.ContractDecoder {
30+ return & decoder {}
3331}
3432
3533// ContractType implements lib.ContractDecoder.
Original file line number Diff line number Diff line change @@ -17,12 +17,10 @@ var TLBs = lib.MustNewTLBMap([]interface{}{
1717 router.CCIPSend {},
1818})
1919
20- type decoder struct {
21- payloadDecoders map [cldf.ContractType ]lib.ContractDecoder
22- }
20+ type decoder struct {}
2321
24- func NewDecoder (payloadDecoders map [cldf. ContractType ]lib. ContractDecoder ) lib.ContractDecoder {
25- return & decoder {payloadDecoders }
22+ func NewDecoder () lib.ContractDecoder {
23+ return & decoder {}
2624}
2725
2826// ContractType implements lib.ContractDecoder.
Original file line number Diff line number Diff line change @@ -22,12 +22,10 @@ var TLBs = lib.MustNewTLBMap([]interface{}{
2222 minter.UpgradeMessage {},
2323})
2424
25- type decoder struct {
26- payloadDecoders map [cldf.ContractType ]lib.ContractDecoder
27- }
25+ type decoder struct {}
2826
29- func NewDecoder (payloadDecoders map [cldf. ContractType ]lib. ContractDecoder ) lib.ContractDecoder {
30- return & decoder {payloadDecoders }
27+ func NewDecoder () lib.ContractDecoder {
28+ return & decoder {}
3129}
3230
3331// ContractType implements lib.ContractDecoder.
Original file line number Diff line number Diff line change @@ -19,12 +19,10 @@ var TLBs = lib.MustNewTLBMap([]interface{}{
1919 wallet.TransferNotification {},
2020})
2121
22- type decoder struct {
23- payloadDecoders map [cldf.ContractType ]lib.ContractDecoder
24- }
22+ type decoder struct {}
2523
26- func NewDecoder (payloadDecoders map [cldf. ContractType ]lib. ContractDecoder ) lib.ContractDecoder {
27- return & decoder {payloadDecoders }
24+ func NewDecoder () lib.ContractDecoder {
25+ return & decoder {}
2826}
2927
3028// ContractType implements lib.ContractDecoder.
Original file line number Diff line number Diff line change 66 "testing"
77
88 "github.com/smartcontractkit/chainlink-ton/pkg/bindings/jetton/wallet"
9+
910 "github.com/xssnick/tonutils-go/address"
1011 "github.com/xssnick/tonutils-go/tlb"
1112 "github.com/xssnick/tonutils-go/tvm/cell"
You can’t perform that action at this time.
0 commit comments