forked from getamis/gnosis-safe-kit-go
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsafe.go
More file actions
27 lines (22 loc) · 651 Bytes
/
Copy pathsafe.go
File metadata and controls
27 lines (22 loc) · 651 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package gnosis
import (
"math/big"
"github.com/ethereum/go-ethereum/common"
"github.com/getamis/gnosis-safe-kit-go/contracts"
)
// NewSafe creates a new instance of Safe, bound to a specific deployed contract.
var NewSafe = contracts.NewGnosisSafe
// Safe is an auto generated Go binding around an Ethereum contract.
type Safe = contracts.GnosisSafe
type SafeTransaction struct {
To common.Address
Value *big.Int
Data []byte
Operation uint8
SafeTxGas *big.Int
BaseGas *big.Int
GasPrice *big.Int
GasToken common.Address
RefundReceiver common.Address
Signature []byte
}