Documentation
¶
Index ¶
- Variables
- type BitcoinBridge
- type BitcoinBridgeAssetsLocked
- type BitcoinBridgeAssetsLockedIterator
- type BitcoinBridgeCaller
- func (_BitcoinBridge *BitcoinBridgeCaller) Bridge(opts *bind.CallOpts) (common.Address, error)
- func (_BitcoinBridge *BitcoinBridgeCaller) Deposits(opts *bind.CallOpts, arg0 *big.Int) (uint8, error)
- func (_BitcoinBridge *BitcoinBridgeCaller) MinTBTCAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_BitcoinBridge *BitcoinBridgeCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_BitcoinBridge *BitcoinBridgeCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)
- func (_BitcoinBridge *BitcoinBridgeCaller) SATOSHIMULTIPLIER(opts *bind.CallOpts) (*big.Int, error)
- func (_BitcoinBridge *BitcoinBridgeCaller) Sequence(opts *bind.CallOpts) (*big.Int, error)
- func (_BitcoinBridge *BitcoinBridgeCaller) TbtcToken(opts *bind.CallOpts) (common.Address, error)
- func (_BitcoinBridge *BitcoinBridgeCaller) TbtcVault(opts *bind.CallOpts) (common.Address, error)
- type BitcoinBridgeCallerRaw
- type BitcoinBridgeCallerSession
- func (_BitcoinBridge *BitcoinBridgeCallerSession) Bridge() (common.Address, error)
- func (_BitcoinBridge *BitcoinBridgeCallerSession) Deposits(arg0 *big.Int) (uint8, error)
- func (_BitcoinBridge *BitcoinBridgeCallerSession) MinTBTCAmount() (*big.Int, error)
- func (_BitcoinBridge *BitcoinBridgeCallerSession) Owner() (common.Address, error)
- func (_BitcoinBridge *BitcoinBridgeCallerSession) PendingOwner() (common.Address, error)
- func (_BitcoinBridge *BitcoinBridgeCallerSession) SATOSHIMULTIPLIER() (*big.Int, error)
- func (_BitcoinBridge *BitcoinBridgeCallerSession) Sequence() (*big.Int, error)
- func (_BitcoinBridge *BitcoinBridgeCallerSession) TbtcToken() (common.Address, error)
- func (_BitcoinBridge *BitcoinBridgeCallerSession) TbtcVault() (common.Address, error)
- type BitcoinBridgeDepositFinalized
- type BitcoinBridgeDepositFinalizedIterator
- type BitcoinBridgeDepositInitialized
- type BitcoinBridgeDepositInitializedIterator
- type BitcoinBridgeFilterer
- func (_BitcoinBridge *BitcoinBridgeFilterer) FilterAssetsLocked(opts *bind.FilterOpts, sequenceNumber []*big.Int, recipient []common.Address) (*BitcoinBridgeAssetsLockedIterator, error)
- func (_BitcoinBridge *BitcoinBridgeFilterer) FilterDepositFinalized(opts *bind.FilterOpts, depositKey []*big.Int) (*BitcoinBridgeDepositFinalizedIterator, error)
- func (_BitcoinBridge *BitcoinBridgeFilterer) FilterDepositInitialized(opts *bind.FilterOpts, depositKey []*big.Int, recipient []common.Address) (*BitcoinBridgeDepositInitializedIterator, error)
- func (_BitcoinBridge *BitcoinBridgeFilterer) FilterInitialized(opts *bind.FilterOpts) (*BitcoinBridgeInitializedIterator, error)
- func (_BitcoinBridge *BitcoinBridgeFilterer) FilterMinTBTCAmountUpdated(opts *bind.FilterOpts) (*BitcoinBridgeMinTBTCAmountUpdatedIterator, error)
- func (_BitcoinBridge *BitcoinBridgeFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*BitcoinBridgeOwnershipTransferStartedIterator, error)
- func (_BitcoinBridge *BitcoinBridgeFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*BitcoinBridgeOwnershipTransferredIterator, error)
- func (_BitcoinBridge *BitcoinBridgeFilterer) ParseAssetsLocked(log types.Log) (*BitcoinBridgeAssetsLocked, error)
- func (_BitcoinBridge *BitcoinBridgeFilterer) ParseDepositFinalized(log types.Log) (*BitcoinBridgeDepositFinalized, error)
- func (_BitcoinBridge *BitcoinBridgeFilterer) ParseDepositInitialized(log types.Log) (*BitcoinBridgeDepositInitialized, error)
- func (_BitcoinBridge *BitcoinBridgeFilterer) ParseInitialized(log types.Log) (*BitcoinBridgeInitialized, error)
- func (_BitcoinBridge *BitcoinBridgeFilterer) ParseMinTBTCAmountUpdated(log types.Log) (*BitcoinBridgeMinTBTCAmountUpdated, error)
- func (_BitcoinBridge *BitcoinBridgeFilterer) ParseOwnershipTransferStarted(log types.Log) (*BitcoinBridgeOwnershipTransferStarted, error)
- func (_BitcoinBridge *BitcoinBridgeFilterer) ParseOwnershipTransferred(log types.Log) (*BitcoinBridgeOwnershipTransferred, error)
- func (_BitcoinBridge *BitcoinBridgeFilterer) WatchAssetsLocked(opts *bind.WatchOpts, sink chan<- *BitcoinBridgeAssetsLocked, ...) (event.Subscription, error)
- func (_BitcoinBridge *BitcoinBridgeFilterer) WatchDepositFinalized(opts *bind.WatchOpts, sink chan<- *BitcoinBridgeDepositFinalized, ...) (event.Subscription, error)
- func (_BitcoinBridge *BitcoinBridgeFilterer) WatchDepositInitialized(opts *bind.WatchOpts, sink chan<- *BitcoinBridgeDepositInitialized, ...) (event.Subscription, error)
- func (_BitcoinBridge *BitcoinBridgeFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *BitcoinBridgeInitialized) (event.Subscription, error)
- func (_BitcoinBridge *BitcoinBridgeFilterer) WatchMinTBTCAmountUpdated(opts *bind.WatchOpts, sink chan<- *BitcoinBridgeMinTBTCAmountUpdated) (event.Subscription, error)
- func (_BitcoinBridge *BitcoinBridgeFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *BitcoinBridgeOwnershipTransferStarted, ...) (event.Subscription, error)
- func (_BitcoinBridge *BitcoinBridgeFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BitcoinBridgeOwnershipTransferred, ...) (event.Subscription, error)
- type BitcoinBridgeInitialized
- type BitcoinBridgeInitializedIterator
- type BitcoinBridgeMinTBTCAmountUpdated
- type BitcoinBridgeMinTBTCAmountUpdatedIterator
- type BitcoinBridgeOwnershipTransferStarted
- type BitcoinBridgeOwnershipTransferStartedIterator
- type BitcoinBridgeOwnershipTransferred
- type BitcoinBridgeOwnershipTransferredIterator
- type BitcoinBridgeRaw
- func (_BitcoinBridge *BitcoinBridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_BitcoinBridge *BitcoinBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BitcoinBridge *BitcoinBridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BitcoinBridgeSession
- func (_BitcoinBridge *BitcoinBridgeSession) AcceptOwnership() (*types.Transaction, error)
- func (_BitcoinBridge *BitcoinBridgeSession) Bridge() (common.Address, error)
- func (_BitcoinBridge *BitcoinBridgeSession) BridgeTBTC(amount *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_BitcoinBridge *BitcoinBridgeSession) BridgeTBTCWithPermit(amount *big.Int, recipient common.Address, deadline *big.Int, v uint8, ...) (*types.Transaction, error)
- func (_BitcoinBridge *BitcoinBridgeSession) Deposits(arg0 *big.Int) (uint8, error)
- func (_BitcoinBridge *BitcoinBridgeSession) FinalizeBTCBridging(depositKey *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_BitcoinBridge *BitcoinBridgeSession) Initialize(_bridge common.Address, _tbtcVault common.Address, _tbtcToken common.Address) (*types.Transaction, error)
- func (_BitcoinBridge *BitcoinBridgeSession) InitializeBTCBridging(fundingTx IBridgeTypesBitcoinTxInfo, reveal IBridgeTypesDepositRevealInfo, ...) (*types.Transaction, error)
- func (_BitcoinBridge *BitcoinBridgeSession) MinTBTCAmount() (*big.Int, error)
- func (_BitcoinBridge *BitcoinBridgeSession) Owner() (common.Address, error)
- func (_BitcoinBridge *BitcoinBridgeSession) PendingOwner() (common.Address, error)
- func (_BitcoinBridge *BitcoinBridgeSession) RenounceOwnership() (*types.Transaction, error)
- func (_BitcoinBridge *BitcoinBridgeSession) SATOSHIMULTIPLIER() (*big.Int, error)
- func (_BitcoinBridge *BitcoinBridgeSession) Sequence() (*big.Int, error)
- func (_BitcoinBridge *BitcoinBridgeSession) TbtcToken() (common.Address, error)
- func (_BitcoinBridge *BitcoinBridgeSession) TbtcVault() (common.Address, error)
- func (_BitcoinBridge *BitcoinBridgeSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_BitcoinBridge *BitcoinBridgeSession) UpdateMinTBTCAmount(newMinTBTCAmount *big.Int) (*types.Transaction, error)
- type BitcoinBridgeTransactor
- func (_BitcoinBridge *BitcoinBridgeTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_BitcoinBridge *BitcoinBridgeTransactor) BridgeTBTC(opts *bind.TransactOpts, amount *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_BitcoinBridge *BitcoinBridgeTransactor) BridgeTBTCWithPermit(opts *bind.TransactOpts, amount *big.Int, recipient common.Address, ...) (*types.Transaction, error)
- func (_BitcoinBridge *BitcoinBridgeTransactor) FinalizeBTCBridging(opts *bind.TransactOpts, depositKey *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_BitcoinBridge *BitcoinBridgeTransactor) Initialize(opts *bind.TransactOpts, _bridge common.Address, _tbtcVault common.Address, ...) (*types.Transaction, error)
- func (_BitcoinBridge *BitcoinBridgeTransactor) InitializeBTCBridging(opts *bind.TransactOpts, fundingTx IBridgeTypesBitcoinTxInfo, ...) (*types.Transaction, error)
- func (_BitcoinBridge *BitcoinBridgeTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_BitcoinBridge *BitcoinBridgeTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_BitcoinBridge *BitcoinBridgeTransactor) UpdateMinTBTCAmount(opts *bind.TransactOpts, newMinTBTCAmount *big.Int) (*types.Transaction, error)
- type BitcoinBridgeTransactorRaw
- type BitcoinBridgeTransactorSession
- func (_BitcoinBridge *BitcoinBridgeTransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_BitcoinBridge *BitcoinBridgeTransactorSession) BridgeTBTC(amount *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_BitcoinBridge *BitcoinBridgeTransactorSession) BridgeTBTCWithPermit(amount *big.Int, recipient common.Address, deadline *big.Int, v uint8, ...) (*types.Transaction, error)
- func (_BitcoinBridge *BitcoinBridgeTransactorSession) FinalizeBTCBridging(depositKey *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_BitcoinBridge *BitcoinBridgeTransactorSession) Initialize(_bridge common.Address, _tbtcVault common.Address, _tbtcToken common.Address) (*types.Transaction, error)
- func (_BitcoinBridge *BitcoinBridgeTransactorSession) InitializeBTCBridging(fundingTx IBridgeTypesBitcoinTxInfo, reveal IBridgeTypesDepositRevealInfo, ...) (*types.Transaction, error)
- func (_BitcoinBridge *BitcoinBridgeTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_BitcoinBridge *BitcoinBridgeTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_BitcoinBridge *BitcoinBridgeTransactorSession) UpdateMinTBTCAmount(newMinTBTCAmount *big.Int) (*types.Transaction, error)
- type IBridgeTypesBitcoinTxInfo
- type IBridgeTypesDepositRevealInfo
Constants ¶
This section is empty.
Variables ¶
var BitcoinBridgeABI = BitcoinBridgeMetaData.ABI
BitcoinBridgeABI is the input ABI used to generate the binding from. Deprecated: Use BitcoinBridgeMetaData.ABI instead.
var BitcoinBridgeMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"AddressInsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountBelowMinTBTCAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedInnerCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInitialization\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MinTBTCAmountIsZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInitializing\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RecipientIsZeroAddress\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TBTCTokenIsZeroAddress\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"enumBitcoinBridge.DepositState\",\"name\":\"actualState\",\"type\":\"uint8\"},{\"internalType\":\"enumBitcoinBridge.DepositState\",\"name\":\"expectedState\",\"type\":\"uint8\"}],\"name\":\"UnexpectedDepositState\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"actualExtraData\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"expectedExtraData\",\"type\":\"bytes32\"}],\"name\":\"UnexpectedExtraData\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"sequenceNumber\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tbtcAmount\",\"type\":\"uint256\"}],\"name\":\"AssetsLocked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"depositKey\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"initialAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tbtcAmount\",\"type\":\"uint256\"}],\"name\":\"DepositFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"depositKey\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"DepositInitialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"version\",\"type\":\"uint64\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"minTBTCAmount\",\"type\":\"uint256\"}],\"name\":\"MinTBTCAmountUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"SATOSHI_MULTIPLIER\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"bridge\",\"outputs\":[{\"internalType\":\"contractIBridge\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"bridgeTBTC\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"bridgeTBTCWithPermit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"deposits\",\"outputs\":[{\"internalType\":\"enumBitcoinBridge.DepositState\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"depositKey\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"finalizeBTCBridging\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_bridge\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_tbtcVault\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_tbtcToken\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes4\",\"name\":\"version\",\"type\":\"bytes4\"},{\"internalType\":\"bytes\",\"name\":\"inputVector\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"outputVector\",\"type\":\"bytes\"},{\"internalType\":\"bytes4\",\"name\":\"locktime\",\"type\":\"bytes4\"}],\"internalType\":\"structIBridgeTypes.BitcoinTxInfo\",\"name\":\"fundingTx\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint32\",\"name\":\"fundingOutputIndex\",\"type\":\"uint32\"},{\"internalType\":\"bytes8\",\"name\":\"blindingFactor\",\"type\":\"bytes8\"},{\"internalType\":\"bytes20\",\"name\":\"walletPubKeyHash\",\"type\":\"bytes20\"},{\"internalType\":\"bytes20\",\"name\":\"refundPubKeyHash\",\"type\":\"bytes20\"},{\"internalType\":\"bytes4\",\"name\":\"refundLocktime\",\"type\":\"bytes4\"},{\"internalType\":\"address\",\"name\":\"vault\",\"type\":\"address\"}],\"internalType\":\"structIBridgeTypes.DepositRevealInfo\",\"name\":\"reveal\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"initializeBTCBridging\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minTBTCAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sequence\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tbtcToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tbtcVault\",\"outputs\":[{\"internalType\":\"contractITBTCVault\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newMinTBTCAmount\",\"type\":\"uint256\"}],\"name\":\"updateMinTBTCAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
BitcoinBridgeMetaData contains all meta data concerning the BitcoinBridge contract.
Functions ¶
This section is empty.
Types ¶
type BitcoinBridge ¶
type BitcoinBridge struct { BitcoinBridgeCaller // Read-only binding to the contract BitcoinBridgeTransactor // Write-only binding to the contract BitcoinBridgeFilterer // Log filterer for contract events }
BitcoinBridge is an auto generated Go binding around an Ethereum contract.
func NewBitcoinBridge ¶
func NewBitcoinBridge(address common.Address, backend bind.ContractBackend) (*BitcoinBridge, error)
NewBitcoinBridge creates a new instance of BitcoinBridge, bound to a specific deployed contract.
type BitcoinBridgeAssetsLocked ¶
type BitcoinBridgeAssetsLocked struct { SequenceNumber *big.Int Recipient common.Address TbtcAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
BitcoinBridgeAssetsLocked represents a AssetsLocked event raised by the BitcoinBridge contract.
type BitcoinBridgeAssetsLockedIterator ¶
type BitcoinBridgeAssetsLockedIterator struct { Event *BitcoinBridgeAssetsLocked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BitcoinBridgeAssetsLockedIterator is returned from FilterAssetsLocked and is used to iterate over the raw logs and unpacked data for AssetsLocked events raised by the BitcoinBridge contract.
func (*BitcoinBridgeAssetsLockedIterator) Close ¶
func (it *BitcoinBridgeAssetsLockedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BitcoinBridgeAssetsLockedIterator) Error ¶
func (it *BitcoinBridgeAssetsLockedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BitcoinBridgeAssetsLockedIterator) Next ¶
func (it *BitcoinBridgeAssetsLockedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type BitcoinBridgeCaller ¶
type BitcoinBridgeCaller struct {
// contains filtered or unexported fields
}
BitcoinBridgeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBitcoinBridgeCaller ¶
func NewBitcoinBridgeCaller(address common.Address, caller bind.ContractCaller) (*BitcoinBridgeCaller, error)
NewBitcoinBridgeCaller creates a new read-only instance of BitcoinBridge, bound to a specific deployed contract.
func (*BitcoinBridgeCaller) Bridge ¶
Bridge is a free data retrieval call binding the contract method 0xe78cea92.
Solidity: function bridge() view returns(address)
func (*BitcoinBridgeCaller) Deposits ¶
func (_BitcoinBridge *BitcoinBridgeCaller) Deposits(opts *bind.CallOpts, arg0 *big.Int) (uint8, error)
Deposits is a free data retrieval call binding the contract method 0xb02c43d0.
Solidity: function deposits(uint256 ) view returns(uint8)
func (*BitcoinBridgeCaller) MinTBTCAmount ¶
MinTBTCAmount is a free data retrieval call binding the contract method 0xdab1b4bd.
Solidity: function minTBTCAmount() view returns(uint256)
func (*BitcoinBridgeCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*BitcoinBridgeCaller) PendingOwner ¶
func (_BitcoinBridge *BitcoinBridgeCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*BitcoinBridgeCaller) SATOSHIMULTIPLIER ¶
SATOSHIMULTIPLIER is a free data retrieval call binding the contract method 0xc7ba0347.
Solidity: function SATOSHI_MULTIPLIER() view returns(uint256)
func (*BitcoinBridgeCaller) Sequence ¶
Sequence is a free data retrieval call binding the contract method 0x529d15cc.
Solidity: function sequence() view returns(uint256)
type BitcoinBridgeCallerRaw ¶
type BitcoinBridgeCallerRaw struct {
Contract *BitcoinBridgeCaller // Generic read-only contract binding to access the raw methods on
}
BitcoinBridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BitcoinBridgeCallerRaw) Call ¶
func (_BitcoinBridge *BitcoinBridgeCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type BitcoinBridgeCallerSession ¶
type BitcoinBridgeCallerSession struct { Contract *BitcoinBridgeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BitcoinBridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BitcoinBridgeCallerSession) Bridge ¶
func (_BitcoinBridge *BitcoinBridgeCallerSession) Bridge() (common.Address, error)
Bridge is a free data retrieval call binding the contract method 0xe78cea92.
Solidity: function bridge() view returns(address)
func (*BitcoinBridgeCallerSession) Deposits ¶
func (_BitcoinBridge *BitcoinBridgeCallerSession) Deposits(arg0 *big.Int) (uint8, error)
Deposits is a free data retrieval call binding the contract method 0xb02c43d0.
Solidity: function deposits(uint256 ) view returns(uint8)
func (*BitcoinBridgeCallerSession) MinTBTCAmount ¶
func (_BitcoinBridge *BitcoinBridgeCallerSession) MinTBTCAmount() (*big.Int, error)
MinTBTCAmount is a free data retrieval call binding the contract method 0xdab1b4bd.
Solidity: function minTBTCAmount() view returns(uint256)
func (*BitcoinBridgeCallerSession) Owner ¶
func (_BitcoinBridge *BitcoinBridgeCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*BitcoinBridgeCallerSession) PendingOwner ¶
func (_BitcoinBridge *BitcoinBridgeCallerSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*BitcoinBridgeCallerSession) SATOSHIMULTIPLIER ¶
func (_BitcoinBridge *BitcoinBridgeCallerSession) SATOSHIMULTIPLIER() (*big.Int, error)
SATOSHIMULTIPLIER is a free data retrieval call binding the contract method 0xc7ba0347.
Solidity: function SATOSHI_MULTIPLIER() view returns(uint256)
func (*BitcoinBridgeCallerSession) Sequence ¶
func (_BitcoinBridge *BitcoinBridgeCallerSession) Sequence() (*big.Int, error)
Sequence is a free data retrieval call binding the contract method 0x529d15cc.
Solidity: function sequence() view returns(uint256)
type BitcoinBridgeDepositFinalized ¶
type BitcoinBridgeDepositFinalized struct { DepositKey *big.Int InitialAmount *big.Int TbtcAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
BitcoinBridgeDepositFinalized represents a DepositFinalized event raised by the BitcoinBridge contract.
type BitcoinBridgeDepositFinalizedIterator ¶
type BitcoinBridgeDepositFinalizedIterator struct { Event *BitcoinBridgeDepositFinalized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BitcoinBridgeDepositFinalizedIterator is returned from FilterDepositFinalized and is used to iterate over the raw logs and unpacked data for DepositFinalized events raised by the BitcoinBridge contract.
func (*BitcoinBridgeDepositFinalizedIterator) Close ¶
func (it *BitcoinBridgeDepositFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BitcoinBridgeDepositFinalizedIterator) Error ¶
func (it *BitcoinBridgeDepositFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BitcoinBridgeDepositFinalizedIterator) Next ¶
func (it *BitcoinBridgeDepositFinalizedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type BitcoinBridgeDepositInitialized ¶
type BitcoinBridgeDepositInitialized struct { DepositKey *big.Int Recipient common.Address Raw types.Log // Blockchain specific contextual infos }
BitcoinBridgeDepositInitialized represents a DepositInitialized event raised by the BitcoinBridge contract.
type BitcoinBridgeDepositInitializedIterator ¶
type BitcoinBridgeDepositInitializedIterator struct { Event *BitcoinBridgeDepositInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BitcoinBridgeDepositInitializedIterator is returned from FilterDepositInitialized and is used to iterate over the raw logs and unpacked data for DepositInitialized events raised by the BitcoinBridge contract.
func (*BitcoinBridgeDepositInitializedIterator) Close ¶
func (it *BitcoinBridgeDepositInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BitcoinBridgeDepositInitializedIterator) Error ¶
func (it *BitcoinBridgeDepositInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BitcoinBridgeDepositInitializedIterator) Next ¶
func (it *BitcoinBridgeDepositInitializedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type BitcoinBridgeFilterer ¶
type BitcoinBridgeFilterer struct {
// contains filtered or unexported fields
}
BitcoinBridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBitcoinBridgeFilterer ¶
func NewBitcoinBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*BitcoinBridgeFilterer, error)
NewBitcoinBridgeFilterer creates a new log filterer instance of BitcoinBridge, bound to a specific deployed contract.
func (*BitcoinBridgeFilterer) FilterAssetsLocked ¶
func (_BitcoinBridge *BitcoinBridgeFilterer) FilterAssetsLocked(opts *bind.FilterOpts, sequenceNumber []*big.Int, recipient []common.Address) (*BitcoinBridgeAssetsLockedIterator, error)
FilterAssetsLocked is a free log retrieval operation binding the contract event 0x3d389641a19dd29654913e26f18e4c2ee9897e70fd01f67ff46e8782b247116a.
Solidity: event AssetsLocked(uint256 indexed sequenceNumber, address indexed recipient, uint256 tbtcAmount)
func (*BitcoinBridgeFilterer) FilterDepositFinalized ¶
func (_BitcoinBridge *BitcoinBridgeFilterer) FilterDepositFinalized(opts *bind.FilterOpts, depositKey []*big.Int) (*BitcoinBridgeDepositFinalizedIterator, error)
FilterDepositFinalized is a free log retrieval operation binding the contract event 0x270245f29b0d103ec754b6f21b274417b4eb2513d463bd068eaeacaaf6fa985d.
Solidity: event DepositFinalized(uint256 indexed depositKey, uint256 initialAmount, uint256 tbtcAmount)
func (*BitcoinBridgeFilterer) FilterDepositInitialized ¶
func (_BitcoinBridge *BitcoinBridgeFilterer) FilterDepositInitialized(opts *bind.FilterOpts, depositKey []*big.Int, recipient []common.Address) (*BitcoinBridgeDepositInitializedIterator, error)
FilterDepositInitialized is a free log retrieval operation binding the contract event 0xcfdf802cde659b8a4443f70f5a844fbc968a833202a89e216034308721010890.
Solidity: event DepositInitialized(uint256 indexed depositKey, address indexed recipient)
func (*BitcoinBridgeFilterer) FilterInitialized ¶
func (_BitcoinBridge *BitcoinBridgeFilterer) FilterInitialized(opts *bind.FilterOpts) (*BitcoinBridgeInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*BitcoinBridgeFilterer) FilterMinTBTCAmountUpdated ¶
func (_BitcoinBridge *BitcoinBridgeFilterer) FilterMinTBTCAmountUpdated(opts *bind.FilterOpts) (*BitcoinBridgeMinTBTCAmountUpdatedIterator, error)
FilterMinTBTCAmountUpdated is a free log retrieval operation binding the contract event 0xe64dbc80c2152cea46e3b80ba80f3e8c125114dc79194e9c947b480cfc80e59c.
Solidity: event MinTBTCAmountUpdated(uint256 minTBTCAmount)
func (*BitcoinBridgeFilterer) FilterOwnershipTransferStarted ¶
func (_BitcoinBridge *BitcoinBridgeFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BitcoinBridgeOwnershipTransferStartedIterator, error)
FilterOwnershipTransferStarted is a free log retrieval operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*BitcoinBridgeFilterer) FilterOwnershipTransferred ¶
func (_BitcoinBridge *BitcoinBridgeFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BitcoinBridgeOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*BitcoinBridgeFilterer) ParseAssetsLocked ¶
func (_BitcoinBridge *BitcoinBridgeFilterer) ParseAssetsLocked(log types.Log) (*BitcoinBridgeAssetsLocked, error)
ParseAssetsLocked is a log parse operation binding the contract event 0x3d389641a19dd29654913e26f18e4c2ee9897e70fd01f67ff46e8782b247116a.
Solidity: event AssetsLocked(uint256 indexed sequenceNumber, address indexed recipient, uint256 tbtcAmount)
func (*BitcoinBridgeFilterer) ParseDepositFinalized ¶
func (_BitcoinBridge *BitcoinBridgeFilterer) ParseDepositFinalized(log types.Log) (*BitcoinBridgeDepositFinalized, error)
ParseDepositFinalized is a log parse operation binding the contract event 0x270245f29b0d103ec754b6f21b274417b4eb2513d463bd068eaeacaaf6fa985d.
Solidity: event DepositFinalized(uint256 indexed depositKey, uint256 initialAmount, uint256 tbtcAmount)
func (*BitcoinBridgeFilterer) ParseDepositInitialized ¶
func (_BitcoinBridge *BitcoinBridgeFilterer) ParseDepositInitialized(log types.Log) (*BitcoinBridgeDepositInitialized, error)
ParseDepositInitialized is a log parse operation binding the contract event 0xcfdf802cde659b8a4443f70f5a844fbc968a833202a89e216034308721010890.
Solidity: event DepositInitialized(uint256 indexed depositKey, address indexed recipient)
func (*BitcoinBridgeFilterer) ParseInitialized ¶
func (_BitcoinBridge *BitcoinBridgeFilterer) ParseInitialized(log types.Log) (*BitcoinBridgeInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*BitcoinBridgeFilterer) ParseMinTBTCAmountUpdated ¶
func (_BitcoinBridge *BitcoinBridgeFilterer) ParseMinTBTCAmountUpdated(log types.Log) (*BitcoinBridgeMinTBTCAmountUpdated, error)
ParseMinTBTCAmountUpdated is a log parse operation binding the contract event 0xe64dbc80c2152cea46e3b80ba80f3e8c125114dc79194e9c947b480cfc80e59c.
Solidity: event MinTBTCAmountUpdated(uint256 minTBTCAmount)
func (*BitcoinBridgeFilterer) ParseOwnershipTransferStarted ¶
func (_BitcoinBridge *BitcoinBridgeFilterer) ParseOwnershipTransferStarted(log types.Log) (*BitcoinBridgeOwnershipTransferStarted, error)
ParseOwnershipTransferStarted is a log parse operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*BitcoinBridgeFilterer) ParseOwnershipTransferred ¶
func (_BitcoinBridge *BitcoinBridgeFilterer) ParseOwnershipTransferred(log types.Log) (*BitcoinBridgeOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*BitcoinBridgeFilterer) WatchAssetsLocked ¶
func (_BitcoinBridge *BitcoinBridgeFilterer) WatchAssetsLocked(opts *bind.WatchOpts, sink chan<- *BitcoinBridgeAssetsLocked, sequenceNumber []*big.Int, recipient []common.Address) (event.Subscription, error)
WatchAssetsLocked is a free log subscription operation binding the contract event 0x3d389641a19dd29654913e26f18e4c2ee9897e70fd01f67ff46e8782b247116a.
Solidity: event AssetsLocked(uint256 indexed sequenceNumber, address indexed recipient, uint256 tbtcAmount)
func (*BitcoinBridgeFilterer) WatchDepositFinalized ¶
func (_BitcoinBridge *BitcoinBridgeFilterer) WatchDepositFinalized(opts *bind.WatchOpts, sink chan<- *BitcoinBridgeDepositFinalized, depositKey []*big.Int) (event.Subscription, error)
WatchDepositFinalized is a free log subscription operation binding the contract event 0x270245f29b0d103ec754b6f21b274417b4eb2513d463bd068eaeacaaf6fa985d.
Solidity: event DepositFinalized(uint256 indexed depositKey, uint256 initialAmount, uint256 tbtcAmount)
func (*BitcoinBridgeFilterer) WatchDepositInitialized ¶
func (_BitcoinBridge *BitcoinBridgeFilterer) WatchDepositInitialized(opts *bind.WatchOpts, sink chan<- *BitcoinBridgeDepositInitialized, depositKey []*big.Int, recipient []common.Address) (event.Subscription, error)
WatchDepositInitialized is a free log subscription operation binding the contract event 0xcfdf802cde659b8a4443f70f5a844fbc968a833202a89e216034308721010890.
Solidity: event DepositInitialized(uint256 indexed depositKey, address indexed recipient)
func (*BitcoinBridgeFilterer) WatchInitialized ¶
func (_BitcoinBridge *BitcoinBridgeFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *BitcoinBridgeInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*BitcoinBridgeFilterer) WatchMinTBTCAmountUpdated ¶
func (_BitcoinBridge *BitcoinBridgeFilterer) WatchMinTBTCAmountUpdated(opts *bind.WatchOpts, sink chan<- *BitcoinBridgeMinTBTCAmountUpdated) (event.Subscription, error)
WatchMinTBTCAmountUpdated is a free log subscription operation binding the contract event 0xe64dbc80c2152cea46e3b80ba80f3e8c125114dc79194e9c947b480cfc80e59c.
Solidity: event MinTBTCAmountUpdated(uint256 minTBTCAmount)
func (*BitcoinBridgeFilterer) WatchOwnershipTransferStarted ¶
func (_BitcoinBridge *BitcoinBridgeFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *BitcoinBridgeOwnershipTransferStarted, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferStarted is a free log subscription operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*BitcoinBridgeFilterer) WatchOwnershipTransferred ¶
func (_BitcoinBridge *BitcoinBridgeFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BitcoinBridgeOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type BitcoinBridgeInitialized ¶
type BitcoinBridgeInitialized struct { Version uint64 Raw types.Log // Blockchain specific contextual infos }
BitcoinBridgeInitialized represents a Initialized event raised by the BitcoinBridge contract.
type BitcoinBridgeInitializedIterator ¶
type BitcoinBridgeInitializedIterator struct { Event *BitcoinBridgeInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BitcoinBridgeInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the BitcoinBridge contract.
func (*BitcoinBridgeInitializedIterator) Close ¶
func (it *BitcoinBridgeInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BitcoinBridgeInitializedIterator) Error ¶
func (it *BitcoinBridgeInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BitcoinBridgeInitializedIterator) Next ¶
func (it *BitcoinBridgeInitializedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type BitcoinBridgeMinTBTCAmountUpdated ¶
type BitcoinBridgeMinTBTCAmountUpdated struct { MinTBTCAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
BitcoinBridgeMinTBTCAmountUpdated represents a MinTBTCAmountUpdated event raised by the BitcoinBridge contract.
type BitcoinBridgeMinTBTCAmountUpdatedIterator ¶
type BitcoinBridgeMinTBTCAmountUpdatedIterator struct { Event *BitcoinBridgeMinTBTCAmountUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BitcoinBridgeMinTBTCAmountUpdatedIterator is returned from FilterMinTBTCAmountUpdated and is used to iterate over the raw logs and unpacked data for MinTBTCAmountUpdated events raised by the BitcoinBridge contract.
func (*BitcoinBridgeMinTBTCAmountUpdatedIterator) Close ¶
func (it *BitcoinBridgeMinTBTCAmountUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BitcoinBridgeMinTBTCAmountUpdatedIterator) Error ¶
func (it *BitcoinBridgeMinTBTCAmountUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BitcoinBridgeMinTBTCAmountUpdatedIterator) Next ¶
func (it *BitcoinBridgeMinTBTCAmountUpdatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type BitcoinBridgeOwnershipTransferStarted ¶
type BitcoinBridgeOwnershipTransferStarted struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
BitcoinBridgeOwnershipTransferStarted represents a OwnershipTransferStarted event raised by the BitcoinBridge contract.
type BitcoinBridgeOwnershipTransferStartedIterator ¶
type BitcoinBridgeOwnershipTransferStartedIterator struct { Event *BitcoinBridgeOwnershipTransferStarted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BitcoinBridgeOwnershipTransferStartedIterator is returned from FilterOwnershipTransferStarted and is used to iterate over the raw logs and unpacked data for OwnershipTransferStarted events raised by the BitcoinBridge contract.
func (*BitcoinBridgeOwnershipTransferStartedIterator) Close ¶
func (it *BitcoinBridgeOwnershipTransferStartedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BitcoinBridgeOwnershipTransferStartedIterator) Error ¶
func (it *BitcoinBridgeOwnershipTransferStartedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BitcoinBridgeOwnershipTransferStartedIterator) Next ¶
func (it *BitcoinBridgeOwnershipTransferStartedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type BitcoinBridgeOwnershipTransferred ¶
type BitcoinBridgeOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
BitcoinBridgeOwnershipTransferred represents a OwnershipTransferred event raised by the BitcoinBridge contract.
type BitcoinBridgeOwnershipTransferredIterator ¶
type BitcoinBridgeOwnershipTransferredIterator struct { Event *BitcoinBridgeOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BitcoinBridgeOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the BitcoinBridge contract.
func (*BitcoinBridgeOwnershipTransferredIterator) Close ¶
func (it *BitcoinBridgeOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BitcoinBridgeOwnershipTransferredIterator) Error ¶
func (it *BitcoinBridgeOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BitcoinBridgeOwnershipTransferredIterator) Next ¶
func (it *BitcoinBridgeOwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type BitcoinBridgeRaw ¶
type BitcoinBridgeRaw struct {
Contract *BitcoinBridge // Generic contract binding to access the raw methods on
}
BitcoinBridgeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BitcoinBridgeRaw) Call ¶
func (_BitcoinBridge *BitcoinBridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*BitcoinBridgeRaw) Transact ¶
func (_BitcoinBridge *BitcoinBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BitcoinBridgeRaw) Transfer ¶
func (_BitcoinBridge *BitcoinBridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type BitcoinBridgeSession ¶
type BitcoinBridgeSession struct { Contract *BitcoinBridge // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BitcoinBridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BitcoinBridgeSession) AcceptOwnership ¶
func (_BitcoinBridge *BitcoinBridgeSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*BitcoinBridgeSession) Bridge ¶
func (_BitcoinBridge *BitcoinBridgeSession) Bridge() (common.Address, error)
Bridge is a free data retrieval call binding the contract method 0xe78cea92.
Solidity: function bridge() view returns(address)
func (*BitcoinBridgeSession) BridgeTBTC ¶
func (_BitcoinBridge *BitcoinBridgeSession) BridgeTBTC(amount *big.Int, recipient common.Address) (*types.Transaction, error)
BridgeTBTC is a paid mutator transaction binding the contract method 0xdf4d4663.
Solidity: function bridgeTBTC(uint256 amount, address recipient) returns()
func (*BitcoinBridgeSession) BridgeTBTCWithPermit ¶
func (_BitcoinBridge *BitcoinBridgeSession) BridgeTBTCWithPermit(amount *big.Int, recipient common.Address, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
BridgeTBTCWithPermit is a paid mutator transaction binding the contract method 0x427f9568.
Solidity: function bridgeTBTCWithPermit(uint256 amount, address recipient, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*BitcoinBridgeSession) Deposits ¶
func (_BitcoinBridge *BitcoinBridgeSession) Deposits(arg0 *big.Int) (uint8, error)
Deposits is a free data retrieval call binding the contract method 0xb02c43d0.
Solidity: function deposits(uint256 ) view returns(uint8)
func (*BitcoinBridgeSession) FinalizeBTCBridging ¶
func (_BitcoinBridge *BitcoinBridgeSession) FinalizeBTCBridging(depositKey *big.Int, recipient common.Address) (*types.Transaction, error)
FinalizeBTCBridging is a paid mutator transaction binding the contract method 0x24f90de9.
Solidity: function finalizeBTCBridging(uint256 depositKey, address recipient) returns()
func (*BitcoinBridgeSession) Initialize ¶
func (_BitcoinBridge *BitcoinBridgeSession) Initialize(_bridge common.Address, _tbtcVault common.Address, _tbtcToken common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.
Solidity: function initialize(address _bridge, address _tbtcVault, address _tbtcToken) returns()
func (*BitcoinBridgeSession) InitializeBTCBridging ¶
func (_BitcoinBridge *BitcoinBridgeSession) InitializeBTCBridging(fundingTx IBridgeTypesBitcoinTxInfo, reveal IBridgeTypesDepositRevealInfo, recipient common.Address) (*types.Transaction, error)
InitializeBTCBridging is a paid mutator transaction binding the contract method 0x6f64aca2.
Solidity: function initializeBTCBridging((bytes4,bytes,bytes,bytes4) fundingTx, (uint32,bytes8,bytes20,bytes20,bytes4,address) reveal, address recipient) returns()
func (*BitcoinBridgeSession) MinTBTCAmount ¶
func (_BitcoinBridge *BitcoinBridgeSession) MinTBTCAmount() (*big.Int, error)
MinTBTCAmount is a free data retrieval call binding the contract method 0xdab1b4bd.
Solidity: function minTBTCAmount() view returns(uint256)
func (*BitcoinBridgeSession) Owner ¶
func (_BitcoinBridge *BitcoinBridgeSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*BitcoinBridgeSession) PendingOwner ¶
func (_BitcoinBridge *BitcoinBridgeSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*BitcoinBridgeSession) RenounceOwnership ¶
func (_BitcoinBridge *BitcoinBridgeSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*BitcoinBridgeSession) SATOSHIMULTIPLIER ¶
func (_BitcoinBridge *BitcoinBridgeSession) SATOSHIMULTIPLIER() (*big.Int, error)
SATOSHIMULTIPLIER is a free data retrieval call binding the contract method 0xc7ba0347.
Solidity: function SATOSHI_MULTIPLIER() view returns(uint256)
func (*BitcoinBridgeSession) Sequence ¶
func (_BitcoinBridge *BitcoinBridgeSession) Sequence() (*big.Int, error)
Sequence is a free data retrieval call binding the contract method 0x529d15cc.
Solidity: function sequence() view returns(uint256)
func (*BitcoinBridgeSession) TbtcToken ¶
func (_BitcoinBridge *BitcoinBridgeSession) TbtcToken() (common.Address, error)
TbtcToken is a free data retrieval call binding the contract method 0xe5d3d714.
Solidity: function tbtcToken() view returns(address)
func (*BitcoinBridgeSession) TbtcVault ¶
func (_BitcoinBridge *BitcoinBridgeSession) TbtcVault() (common.Address, error)
TbtcVault is a free data retrieval call binding the contract method 0x0f36403a.
Solidity: function tbtcVault() view returns(address)
func (*BitcoinBridgeSession) TransferOwnership ¶
func (_BitcoinBridge *BitcoinBridgeSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*BitcoinBridgeSession) UpdateMinTBTCAmount ¶
func (_BitcoinBridge *BitcoinBridgeSession) UpdateMinTBTCAmount(newMinTBTCAmount *big.Int) (*types.Transaction, error)
UpdateMinTBTCAmount is a paid mutator transaction binding the contract method 0x62fe53e1.
Solidity: function updateMinTBTCAmount(uint256 newMinTBTCAmount) returns()
type BitcoinBridgeTransactor ¶
type BitcoinBridgeTransactor struct {
// contains filtered or unexported fields
}
BitcoinBridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBitcoinBridgeTransactor ¶
func NewBitcoinBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*BitcoinBridgeTransactor, error)
NewBitcoinBridgeTransactor creates a new write-only instance of BitcoinBridge, bound to a specific deployed contract.
func (*BitcoinBridgeTransactor) AcceptOwnership ¶
func (_BitcoinBridge *BitcoinBridgeTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*BitcoinBridgeTransactor) BridgeTBTC ¶
func (_BitcoinBridge *BitcoinBridgeTransactor) BridgeTBTC(opts *bind.TransactOpts, amount *big.Int, recipient common.Address) (*types.Transaction, error)
BridgeTBTC is a paid mutator transaction binding the contract method 0xdf4d4663.
Solidity: function bridgeTBTC(uint256 amount, address recipient) returns()
func (*BitcoinBridgeTransactor) BridgeTBTCWithPermit ¶
func (_BitcoinBridge *BitcoinBridgeTransactor) BridgeTBTCWithPermit(opts *bind.TransactOpts, amount *big.Int, recipient common.Address, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
BridgeTBTCWithPermit is a paid mutator transaction binding the contract method 0x427f9568.
Solidity: function bridgeTBTCWithPermit(uint256 amount, address recipient, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*BitcoinBridgeTransactor) FinalizeBTCBridging ¶
func (_BitcoinBridge *BitcoinBridgeTransactor) FinalizeBTCBridging(opts *bind.TransactOpts, depositKey *big.Int, recipient common.Address) (*types.Transaction, error)
FinalizeBTCBridging is a paid mutator transaction binding the contract method 0x24f90de9.
Solidity: function finalizeBTCBridging(uint256 depositKey, address recipient) returns()
func (*BitcoinBridgeTransactor) Initialize ¶
func (_BitcoinBridge *BitcoinBridgeTransactor) Initialize(opts *bind.TransactOpts, _bridge common.Address, _tbtcVault common.Address, _tbtcToken common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.
Solidity: function initialize(address _bridge, address _tbtcVault, address _tbtcToken) returns()
func (*BitcoinBridgeTransactor) InitializeBTCBridging ¶
func (_BitcoinBridge *BitcoinBridgeTransactor) InitializeBTCBridging(opts *bind.TransactOpts, fundingTx IBridgeTypesBitcoinTxInfo, reveal IBridgeTypesDepositRevealInfo, recipient common.Address) (*types.Transaction, error)
InitializeBTCBridging is a paid mutator transaction binding the contract method 0x6f64aca2.
Solidity: function initializeBTCBridging((bytes4,bytes,bytes,bytes4) fundingTx, (uint32,bytes8,bytes20,bytes20,bytes4,address) reveal, address recipient) returns()
func (*BitcoinBridgeTransactor) RenounceOwnership ¶
func (_BitcoinBridge *BitcoinBridgeTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*BitcoinBridgeTransactor) TransferOwnership ¶
func (_BitcoinBridge *BitcoinBridgeTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*BitcoinBridgeTransactor) UpdateMinTBTCAmount ¶
func (_BitcoinBridge *BitcoinBridgeTransactor) UpdateMinTBTCAmount(opts *bind.TransactOpts, newMinTBTCAmount *big.Int) (*types.Transaction, error)
UpdateMinTBTCAmount is a paid mutator transaction binding the contract method 0x62fe53e1.
Solidity: function updateMinTBTCAmount(uint256 newMinTBTCAmount) returns()
type BitcoinBridgeTransactorRaw ¶
type BitcoinBridgeTransactorRaw struct {
Contract *BitcoinBridgeTransactor // Generic write-only contract binding to access the raw methods on
}
BitcoinBridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BitcoinBridgeTransactorRaw) Transact ¶
func (_BitcoinBridge *BitcoinBridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BitcoinBridgeTransactorRaw) Transfer ¶
func (_BitcoinBridge *BitcoinBridgeTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type BitcoinBridgeTransactorSession ¶
type BitcoinBridgeTransactorSession struct { Contract *BitcoinBridgeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BitcoinBridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BitcoinBridgeTransactorSession) AcceptOwnership ¶
func (_BitcoinBridge *BitcoinBridgeTransactorSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*BitcoinBridgeTransactorSession) BridgeTBTC ¶
func (_BitcoinBridge *BitcoinBridgeTransactorSession) BridgeTBTC(amount *big.Int, recipient common.Address) (*types.Transaction, error)
BridgeTBTC is a paid mutator transaction binding the contract method 0xdf4d4663.
Solidity: function bridgeTBTC(uint256 amount, address recipient) returns()
func (*BitcoinBridgeTransactorSession) BridgeTBTCWithPermit ¶
func (_BitcoinBridge *BitcoinBridgeTransactorSession) BridgeTBTCWithPermit(amount *big.Int, recipient common.Address, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
BridgeTBTCWithPermit is a paid mutator transaction binding the contract method 0x427f9568.
Solidity: function bridgeTBTCWithPermit(uint256 amount, address recipient, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*BitcoinBridgeTransactorSession) FinalizeBTCBridging ¶
func (_BitcoinBridge *BitcoinBridgeTransactorSession) FinalizeBTCBridging(depositKey *big.Int, recipient common.Address) (*types.Transaction, error)
FinalizeBTCBridging is a paid mutator transaction binding the contract method 0x24f90de9.
Solidity: function finalizeBTCBridging(uint256 depositKey, address recipient) returns()
func (*BitcoinBridgeTransactorSession) Initialize ¶
func (_BitcoinBridge *BitcoinBridgeTransactorSession) Initialize(_bridge common.Address, _tbtcVault common.Address, _tbtcToken common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.
Solidity: function initialize(address _bridge, address _tbtcVault, address _tbtcToken) returns()
func (*BitcoinBridgeTransactorSession) InitializeBTCBridging ¶
func (_BitcoinBridge *BitcoinBridgeTransactorSession) InitializeBTCBridging(fundingTx IBridgeTypesBitcoinTxInfo, reveal IBridgeTypesDepositRevealInfo, recipient common.Address) (*types.Transaction, error)
InitializeBTCBridging is a paid mutator transaction binding the contract method 0x6f64aca2.
Solidity: function initializeBTCBridging((bytes4,bytes,bytes,bytes4) fundingTx, (uint32,bytes8,bytes20,bytes20,bytes4,address) reveal, address recipient) returns()
func (*BitcoinBridgeTransactorSession) RenounceOwnership ¶
func (_BitcoinBridge *BitcoinBridgeTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*BitcoinBridgeTransactorSession) TransferOwnership ¶
func (_BitcoinBridge *BitcoinBridgeTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*BitcoinBridgeTransactorSession) UpdateMinTBTCAmount ¶
func (_BitcoinBridge *BitcoinBridgeTransactorSession) UpdateMinTBTCAmount(newMinTBTCAmount *big.Int) (*types.Transaction, error)
UpdateMinTBTCAmount is a paid mutator transaction binding the contract method 0x62fe53e1.
Solidity: function updateMinTBTCAmount(uint256 newMinTBTCAmount) returns()
type IBridgeTypesBitcoinTxInfo ¶
type IBridgeTypesBitcoinTxInfo struct { Version [4]byte InputVector []byte OutputVector []byte Locktime [4]byte }
IBridgeTypesBitcoinTxInfo is an auto generated low-level Go binding around an user-defined struct.
type IBridgeTypesDepositRevealInfo ¶
type IBridgeTypesDepositRevealInfo struct { FundingOutputIndex uint32 BlindingFactor [8]byte WalletPubKeyHash [20]byte RefundPubKeyHash [20]byte RefundLocktime [4]byte Vault common.Address }
IBridgeTypesDepositRevealInfo is an auto generated low-level Go binding around an user-defined struct.