Skip to content

Commit 6546c9c

Browse files
committed
Use *address.Address
1 parent 7ab66ea commit 6546c9c

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

pkg/bindings/mcms/mcms/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,8 @@ type RootMetadata struct {
347347
// int256 since it is unclear if we can represent chainId as uint64 (and TON introduces negative chain IDs).
348348
// There is a proposal (https://ethereum-magicians.org/t/eip-2294-explicit-bound-to-chain-id/11090) to
349349
// bound chainid to 64 bits, but it is still unresolved.
350-
ChainID *big.Int `tlb:"## 256"`
351-
MultiSig address.Address `tlb:"addr"`
350+
ChainID *big.Int `tlb:"## 256"`
351+
MultiSig *address.Address `tlb:"addr"`
352352
// opCount before adding this root
353353
PreOpCount uint64 `tlb:"## 40"`
354354
// opCount after executing all ops in this root

pkg/bindings/mcms/timelock/types.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,11 @@ type CallExecuted struct {
236236
// Query ID of the change request.
237237
QueryID uint64 `tlb:"## 64"`
238238

239-
ID *big.Int `tlb:"## 256"` // ID of the operation that was executed.
240-
Index uint64 `tlb:"## 64"` // Index of the call in the operation
241-
Target address.Address `tlb:"addr"` // Address of the target contract to call.
242-
Value tlb.Coins `tlb:"."` // Value in TONs to send with the call.
243-
Data *cell.Cell `tlb:"^"` // Data to send with the call - message body.
239+
ID *big.Int `tlb:"## 256"` // ID of the operation that was executed.
240+
Index uint64 `tlb:"## 64"` // Index of the call in the operation
241+
Target *address.Address `tlb:"addr"` // Address of the target contract to call.
242+
Value tlb.Coins `tlb:"."` // Value in TONs to send with the call.
243+
Data *cell.Cell `tlb:"^"` // Data to send with the call - message body.
244244
}
245245

246246
// Emitted when a call is performed via bypasser.
@@ -249,10 +249,10 @@ type BypasserCallExecuted struct {
249249
// Query ID of the change request.
250250
QueryID uint64 `tlb:"## 64"`
251251

252-
Index uint64 `tlb:"## 64"` // Index of the call in the operation
253-
Target address.Address `tlb:"addr"` // Address of the target contract to call.
254-
Value tlb.Coins `tlb:"."` // Value in TONs to send with the call.
255-
Data *cell.Cell `tlb:"^"` // Data to send with the call - message body.
252+
Index uint64 `tlb:"## 64"` // Index of the call in the operation
253+
Target *address.Address `tlb:"addr"` // Address of the target contract to call.
254+
Value tlb.Coins `tlb:"."` // Value in TONs to send with the call.
255+
Data *cell.Cell `tlb:"^"` // Data to send with the call - message body.
256256
}
257257

258258
// Emitted when operation `id` is cancelled.

0 commit comments

Comments
 (0)