Skip to content

Commit 9dd51b8

Browse files
committed
Use *address.Address
1 parent 1a32c9a commit 9dd51b8

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
@@ -355,8 +355,8 @@ type RootMetadata struct {
355355
// int256 since it is unclear if we can represent chainId as uint64 (and TON introduces negative chain IDs).
356356
// There is a proposal (https://ethereum-magicians.org/t/eip-2294-explicit-bound-to-chain-id/11090) to
357357
// bound chainid to 64 bits, but it is still unresolved.
358-
ChainID *big.Int `tlb:"## 256"`
359-
MultiSig address.Address `tlb:"addr"`
358+
ChainID *big.Int `tlb:"## 256"`
359+
MultiSig *address.Address `tlb:"addr"`
360360
// opCount before adding this root
361361
PreOpCount uint64 `tlb:"## 40"`
362362
// 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
@@ -244,11 +244,11 @@ type CallExecuted struct {
244244
// Query ID of the change request.
245245
QueryID uint64 `tlb:"## 64"`
246246

247-
ID *big.Int `tlb:"## 256"` // ID of the operation that was executed.
248-
Index uint64 `tlb:"## 64"` // Index of the call in the operation
249-
Target address.Address `tlb:"addr"` // Address of the target contract to call.
250-
Value tlb.Coins `tlb:"."` // Value in TONs to send with the call.
251-
Data *cell.Cell `tlb:"^"` // Data to send with the call - message body.
247+
ID *big.Int `tlb:"## 256"` // ID of the operation that was executed.
248+
Index uint64 `tlb:"## 64"` // Index of the call in the operation
249+
Target *address.Address `tlb:"addr"` // Address of the target contract to call.
250+
Value tlb.Coins `tlb:"."` // Value in TONs to send with the call.
251+
Data *cell.Cell `tlb:"^"` // Data to send with the call - message body.
252252
}
253253

254254
// Emitted when a call is performed via bypasser.
@@ -257,10 +257,10 @@ type BypasserCallExecuted struct {
257257
// Query ID of the change request.
258258
QueryID uint64 `tlb:"## 64"`
259259

260-
Index uint64 `tlb:"## 64"` // Index of the call in the operation
261-
Target address.Address `tlb:"addr"` // Address of the target contract to call.
262-
Value tlb.Coins `tlb:"."` // Value in TONs to send with the call.
263-
Data *cell.Cell `tlb:"^"` // Data to send with the call - message body.
260+
Index uint64 `tlb:"## 64"` // Index of the call in the operation
261+
Target *address.Address `tlb:"addr"` // Address of the target contract to call.
262+
Value tlb.Coins `tlb:"."` // Value in TONs to send with the call.
263+
Data *cell.Cell `tlb:"^"` // Data to send with the call - message body.
264264
}
265265

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

0 commit comments

Comments
 (0)