摘要: tact代码: import "@stdlib/deploy"; import "@stdlib/ownable"; struct RoundInfo { orders: map<Int as uint32, BuyInfo>; sum: Int as uint16; arrLength: Int 阅读全文
posted @ 2024-10-19 17:20 若-飞 阅读(6) 评论(0) 推荐(0) 编辑
摘要: package tonapiservice import ( "fmt" "testing" "github.com/tonkeeper/tongo/boc" "github.com/tonkeeper/tongo/tlb" ) func TestHashmapE(t *testing.T) { / 阅读全文
posted @ 2024-10-19 17:00 若-飞 阅读(4) 评论(0) 推荐(0) 编辑
摘要: receive(msg: BatchSyncOrderMsg) { self.requireOwner(); // Ensure the caller is the contract owner let roundInfo: RoundInfo = self.rounds.get(msg.round 阅读全文
posted @ 2024-10-19 16:47 若-飞 阅读(4) 评论(0) 推荐(0) 编辑