Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployMultisigControl ¶
func DeployMultisigControl( version MultisigControlVersion, auth *bind.TransactOpts, backend bind.ContractBackend, ) (address common.Address, tx *ethTypes.Transaction, err error)
Types ¶
type MultisigControl ¶
type MultisigControl struct { MultisigControlCommon MultisigControlNewInV2 Address common.Address Version MultisigControlVersion // contains filtered or unexported fields }
func NewMultisigControl ¶
func NewMultisigControl( ethClient *ethclient.Client, hexAddress string, version MultisigControlVersion, ) (*MultisigControl, error)
type MultisigControlCommon ¶
type MultisigControlCommon interface { GetCurrentThreshold(opts *bind.CallOpts) (uint16, error) GetValidSignerCount(opts *bind.CallOpts) (uint8, error) IsNonceUsed(opts *bind.CallOpts, nonce *big.Int) (bool, error) IsValidSigner(opts *bind.CallOpts, signer_address common.Address) (bool, error) AddSigner(opts *bind.TransactOpts, new_signer common.Address, nonce *big.Int, signatures []byte) (*ethTypes.Transaction, error) RemoveSigner(opts *bind.TransactOpts, old_signer common.Address, nonce *big.Int, signatures []byte) (*ethTypes.Transaction, error) SetThreshold(opts *bind.TransactOpts, new_threshold uint16, nonce *big.Int, signatures []byte) (*ethTypes.Transaction, error) VerifySignatures(opts *bind.TransactOpts, signatures []byte, message []byte, nonce *big.Int) (*ethTypes.Transaction, error) }
type MultisigControlNewInV2 ¶
type MultisigControlVersion ¶
type MultisigControlVersion string
const ( MultisigControlV1 MultisigControlVersion = "v1" MultisigControlV2 MultisigControlVersion = "v2" )
func (MultisigControlVersion) IsValid ¶
func (n MultisigControlVersion) IsValid() error
Click to show internal directories.
Click to hide internal directories.