brigde

package
v0.0.0-...-baa49d7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BrigdeABI = BrigdeMetaData.ABI

BrigdeABI is the input ABI used to generate the binding from. Deprecated: Use BrigdeMetaData.ABI instead.

View Source
var BrigdeMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractWrappedToken\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"burner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"extddr\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"destChainId\",\"type\":\"uint256\"}],\"name\":\"BridgeToken\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractWrappedToken[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"recipients\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractWrappedToken\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"recipients\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"Mint\",\"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\":\"ETH_TOKEN\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"externalAddr\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"destChainId\",\"type\":\"uint256\"}],\"name\":\"bridgeToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"externalAddr\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"destChainId\",\"type\":\"uint256\"}],\"name\":\"bridgeToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"safeMultisigContractAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"chainIdEth_\",\"type\":\"uint256\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractWrappedToken[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"recipients\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractWrappedToken\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"recipients\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

BrigdeMetaData contains all meta data concerning the Brigde contract.

Functions

This section is empty.

Types

type Brigde

type Brigde struct {
	BrigdeCaller     // Read-only binding to the contract
	BrigdeTransactor // Write-only binding to the contract
	BrigdeFilterer   // Log filterer for contract events
}

Brigde is an auto generated Go binding around an Ethereum contract.

func NewBrigde

func NewBrigde(address common.Address, backend bind.ContractBackend) (*Brigde, error)

NewBrigde creates a new instance of Brigde, bound to a specific deployed contract.

type BrigdeBridgeToken

type BrigdeBridgeToken struct {
	Token       common.Address
	Burner      common.Address
	Amount      *big.Int
	Extddr      string
	DestChainId *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

BrigdeBridgeToken represents a BridgeToken event raised by the Brigde contract.

type BrigdeBridgeTokenIterator

type BrigdeBridgeTokenIterator struct {
	Event *BrigdeBridgeToken // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrigdeBridgeTokenIterator is returned from FilterBridgeToken and is used to iterate over the raw logs and unpacked data for BridgeToken events raised by the Brigde contract.

func (*BrigdeBridgeTokenIterator) Close

func (it *BrigdeBridgeTokenIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrigdeBridgeTokenIterator) Error

func (it *BrigdeBridgeTokenIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrigdeBridgeTokenIterator) Next

func (it *BrigdeBridgeTokenIterator) 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 BrigdeCaller

type BrigdeCaller struct {
	// contains filtered or unexported fields
}

BrigdeCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewBrigdeCaller

func NewBrigdeCaller(address common.Address, caller bind.ContractCaller) (*BrigdeCaller, error)

NewBrigdeCaller creates a new read-only instance of Brigde, bound to a specific deployed contract.

func (*BrigdeCaller) ETHTOKEN

func (_Brigde *BrigdeCaller) ETHTOKEN(opts *bind.CallOpts) (common.Address, error)

ETHTOKEN is a free data retrieval call binding the contract method 0x58bc8337.

Solidity: function ETH_TOKEN() view returns(address)

func (*BrigdeCaller) Owner

func (_Brigde *BrigdeCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

type BrigdeCallerRaw

type BrigdeCallerRaw struct {
	Contract *BrigdeCaller // Generic read-only contract binding to access the raw methods on
}

BrigdeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*BrigdeCallerRaw) Call

func (_Brigde *BrigdeCallerRaw) 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 BrigdeCallerSession

type BrigdeCallerSession struct {
	Contract *BrigdeCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

BrigdeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*BrigdeCallerSession) ETHTOKEN

func (_Brigde *BrigdeCallerSession) ETHTOKEN() (common.Address, error)

ETHTOKEN is a free data retrieval call binding the contract method 0x58bc8337.

Solidity: function ETH_TOKEN() view returns(address)

func (*BrigdeCallerSession) Owner

func (_Brigde *BrigdeCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

type BrigdeFilterer

type BrigdeFilterer struct {
	// contains filtered or unexported fields
}

BrigdeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewBrigdeFilterer

func NewBrigdeFilterer(address common.Address, filterer bind.ContractFilterer) (*BrigdeFilterer, error)

NewBrigdeFilterer creates a new log filterer instance of Brigde, bound to a specific deployed contract.

func (*BrigdeFilterer) FilterBridgeToken

func (_Brigde *BrigdeFilterer) FilterBridgeToken(opts *bind.FilterOpts) (*BrigdeBridgeTokenIterator, error)

FilterBridgeToken is a free log retrieval operation binding the contract event 0xc28e54186544d7357308b86c8319edd275e0db552d62381cf49f827791845c61.

Solidity: event BridgeToken(address token, address burner, uint256 amount, string extddr, uint256 destChainId)

func (*BrigdeFilterer) FilterInitialized

func (_Brigde *BrigdeFilterer) FilterInitialized(opts *bind.FilterOpts) (*BrigdeInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*BrigdeFilterer) FilterMint

func (_Brigde *BrigdeFilterer) FilterMint(opts *bind.FilterOpts) (*BrigdeMintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0xe9914506df53b6ba40090fea5ed4edb71623a51062de3125c2dc65b23de6d05e.

Solidity: event Mint(address[] tokens, address[] recipients, uint256[] amounts)

func (*BrigdeFilterer) FilterMint0

func (_Brigde *BrigdeFilterer) FilterMint0(opts *bind.FilterOpts) (*BrigdeMint0Iterator, error)

FilterMint0 is a free log retrieval operation binding the contract event 0xa20ca4d8d83b89ff090c0ea7b3c3c600625d46681874e0c0d1e35a1d1d4964dd.

Solidity: event Mint(address token, address[] recipients, uint256[] amounts)

func (*BrigdeFilterer) FilterOwnershipTransferred

func (_Brigde *BrigdeFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BrigdeOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BrigdeFilterer) ParseBridgeToken

func (_Brigde *BrigdeFilterer) ParseBridgeToken(log types.Log) (*BrigdeBridgeToken, error)

ParseBridgeToken is a log parse operation binding the contract event 0xc28e54186544d7357308b86c8319edd275e0db552d62381cf49f827791845c61.

Solidity: event BridgeToken(address token, address burner, uint256 amount, string extddr, uint256 destChainId)

func (*BrigdeFilterer) ParseInitialized

func (_Brigde *BrigdeFilterer) ParseInitialized(log types.Log) (*BrigdeInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*BrigdeFilterer) ParseMint

func (_Brigde *BrigdeFilterer) ParseMint(log types.Log) (*BrigdeMint, error)

ParseMint is a log parse operation binding the contract event 0xe9914506df53b6ba40090fea5ed4edb71623a51062de3125c2dc65b23de6d05e.

Solidity: event Mint(address[] tokens, address[] recipients, uint256[] amounts)

func (*BrigdeFilterer) ParseMint0

func (_Brigde *BrigdeFilterer) ParseMint0(log types.Log) (*BrigdeMint0, error)

ParseMint0 is a log parse operation binding the contract event 0xa20ca4d8d83b89ff090c0ea7b3c3c600625d46681874e0c0d1e35a1d1d4964dd.

Solidity: event Mint(address token, address[] recipients, uint256[] amounts)

func (*BrigdeFilterer) ParseOwnershipTransferred

func (_Brigde *BrigdeFilterer) ParseOwnershipTransferred(log types.Log) (*BrigdeOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BrigdeFilterer) WatchBridgeToken

func (_Brigde *BrigdeFilterer) WatchBridgeToken(opts *bind.WatchOpts, sink chan<- *BrigdeBridgeToken) (event.Subscription, error)

WatchBridgeToken is a free log subscription operation binding the contract event 0xc28e54186544d7357308b86c8319edd275e0db552d62381cf49f827791845c61.

Solidity: event BridgeToken(address token, address burner, uint256 amount, string extddr, uint256 destChainId)

func (*BrigdeFilterer) WatchInitialized

func (_Brigde *BrigdeFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *BrigdeInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*BrigdeFilterer) WatchMint

func (_Brigde *BrigdeFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *BrigdeMint) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0xe9914506df53b6ba40090fea5ed4edb71623a51062de3125c2dc65b23de6d05e.

Solidity: event Mint(address[] tokens, address[] recipients, uint256[] amounts)

func (*BrigdeFilterer) WatchMint0

func (_Brigde *BrigdeFilterer) WatchMint0(opts *bind.WatchOpts, sink chan<- *BrigdeMint0) (event.Subscription, error)

WatchMint0 is a free log subscription operation binding the contract event 0xa20ca4d8d83b89ff090c0ea7b3c3c600625d46681874e0c0d1e35a1d1d4964dd.

Solidity: event Mint(address token, address[] recipients, uint256[] amounts)

func (*BrigdeFilterer) WatchOwnershipTransferred

func (_Brigde *BrigdeFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BrigdeOwnershipTransferred, 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 BrigdeInitialized

type BrigdeInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

BrigdeInitialized represents a Initialized event raised by the Brigde contract.

type BrigdeInitializedIterator

type BrigdeInitializedIterator struct {
	Event *BrigdeInitialized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrigdeInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Brigde contract.

func (*BrigdeInitializedIterator) Close

func (it *BrigdeInitializedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrigdeInitializedIterator) Error

func (it *BrigdeInitializedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrigdeInitializedIterator) Next

func (it *BrigdeInitializedIterator) 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 BrigdeMint

type BrigdeMint struct {
	Tokens     []common.Address
	Recipients []common.Address
	Amounts    []*big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

BrigdeMint represents a Mint event raised by the Brigde contract.

type BrigdeMint0

type BrigdeMint0 struct {
	Token      common.Address
	Recipients []common.Address
	Amounts    []*big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

BrigdeMint0 represents a Mint0 event raised by the Brigde contract.

type BrigdeMint0Iterator

type BrigdeMint0Iterator struct {
	Event *BrigdeMint0 // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrigdeMint0Iterator is returned from FilterMint0 and is used to iterate over the raw logs and unpacked data for Mint0 events raised by the Brigde contract.

func (*BrigdeMint0Iterator) Close

func (it *BrigdeMint0Iterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrigdeMint0Iterator) Error

func (it *BrigdeMint0Iterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrigdeMint0Iterator) Next

func (it *BrigdeMint0Iterator) 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 BrigdeMintIterator

type BrigdeMintIterator struct {
	Event *BrigdeMint // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrigdeMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the Brigde contract.

func (*BrigdeMintIterator) Close

func (it *BrigdeMintIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrigdeMintIterator) Error

func (it *BrigdeMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrigdeMintIterator) Next

func (it *BrigdeMintIterator) 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 BrigdeOwnershipTransferred

type BrigdeOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

BrigdeOwnershipTransferred represents a OwnershipTransferred event raised by the Brigde contract.

type BrigdeOwnershipTransferredIterator

type BrigdeOwnershipTransferredIterator struct {
	Event *BrigdeOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrigdeOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Brigde contract.

func (*BrigdeOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrigdeOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrigdeOwnershipTransferredIterator) Next

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 BrigdeRaw

type BrigdeRaw struct {
	Contract *Brigde // Generic contract binding to access the raw methods on
}

BrigdeRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*BrigdeRaw) Call

func (_Brigde *BrigdeRaw) 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 (*BrigdeRaw) Transact

func (_Brigde *BrigdeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BrigdeRaw) Transfer

func (_Brigde *BrigdeRaw) 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 BrigdeSession

type BrigdeSession struct {
	Contract     *Brigde           // 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
}

BrigdeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*BrigdeSession) BridgeToken

func (_Brigde *BrigdeSession) BridgeToken(token common.Address, amount *big.Int, externalAddr string, destChainId *big.Int) (*types.Transaction, error)

BridgeToken is a paid mutator transaction binding the contract method 0x0e93b35c.

Solidity: function bridgeToken(address token, uint256 amount, string externalAddr, uint256 destChainId) returns()

func (*BrigdeSession) BridgeToken0

func (_Brigde *BrigdeSession) BridgeToken0(externalAddr string, destChainId *big.Int) (*types.Transaction, error)

BridgeToken0 is a paid mutator transaction binding the contract method 0xd4546d23.

Solidity: function bridgeToken(string externalAddr, uint256 destChainId) payable returns()

func (*BrigdeSession) ETHTOKEN

func (_Brigde *BrigdeSession) ETHTOKEN() (common.Address, error)

ETHTOKEN is a free data retrieval call binding the contract method 0x58bc8337.

Solidity: function ETH_TOKEN() view returns(address)

func (*BrigdeSession) Initialize

func (_Brigde *BrigdeSession) Initialize(safeMultisigContractAddress common.Address, chainIdEth_ *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xcd6dc687.

Solidity: function initialize(address safeMultisigContractAddress, uint256 chainIdEth_) returns()

func (*BrigdeSession) Mint

func (_Brigde *BrigdeSession) Mint(tokens []common.Address, recipients []common.Address, amounts []*big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x5530f4a5.

Solidity: function mint(address[] tokens, address[] recipients, uint256[] amounts) returns()

func (*BrigdeSession) Mint0

func (_Brigde *BrigdeSession) Mint0(token common.Address, recipients []common.Address, amounts []*big.Int) (*types.Transaction, error)

Mint0 is a paid mutator transaction binding the contract method 0xa3bf277e.

Solidity: function mint(address token, address[] recipients, uint256[] amounts) returns()

func (*BrigdeSession) Owner

func (_Brigde *BrigdeSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BrigdeSession) RenounceOwnership

func (_Brigde *BrigdeSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BrigdeSession) TransferOwnership

func (_Brigde *BrigdeSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type BrigdeTransactor

type BrigdeTransactor struct {
	// contains filtered or unexported fields
}

BrigdeTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewBrigdeTransactor

func NewBrigdeTransactor(address common.Address, transactor bind.ContractTransactor) (*BrigdeTransactor, error)

NewBrigdeTransactor creates a new write-only instance of Brigde, bound to a specific deployed contract.

func (*BrigdeTransactor) BridgeToken

func (_Brigde *BrigdeTransactor) BridgeToken(opts *bind.TransactOpts, token common.Address, amount *big.Int, externalAddr string, destChainId *big.Int) (*types.Transaction, error)

BridgeToken is a paid mutator transaction binding the contract method 0x0e93b35c.

Solidity: function bridgeToken(address token, uint256 amount, string externalAddr, uint256 destChainId) returns()

func (*BrigdeTransactor) BridgeToken0

func (_Brigde *BrigdeTransactor) BridgeToken0(opts *bind.TransactOpts, externalAddr string, destChainId *big.Int) (*types.Transaction, error)

BridgeToken0 is a paid mutator transaction binding the contract method 0xd4546d23.

Solidity: function bridgeToken(string externalAddr, uint256 destChainId) payable returns()

func (*BrigdeTransactor) Initialize

func (_Brigde *BrigdeTransactor) Initialize(opts *bind.TransactOpts, safeMultisigContractAddress common.Address, chainIdEth_ *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xcd6dc687.

Solidity: function initialize(address safeMultisigContractAddress, uint256 chainIdEth_) returns()

func (*BrigdeTransactor) Mint

func (_Brigde *BrigdeTransactor) Mint(opts *bind.TransactOpts, tokens []common.Address, recipients []common.Address, amounts []*big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x5530f4a5.

Solidity: function mint(address[] tokens, address[] recipients, uint256[] amounts) returns()

func (*BrigdeTransactor) Mint0

func (_Brigde *BrigdeTransactor) Mint0(opts *bind.TransactOpts, token common.Address, recipients []common.Address, amounts []*big.Int) (*types.Transaction, error)

Mint0 is a paid mutator transaction binding the contract method 0xa3bf277e.

Solidity: function mint(address token, address[] recipients, uint256[] amounts) returns()

func (*BrigdeTransactor) RenounceOwnership

func (_Brigde *BrigdeTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BrigdeTransactor) TransferOwnership

func (_Brigde *BrigdeTransactor) 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()

type BrigdeTransactorRaw

type BrigdeTransactorRaw struct {
	Contract *BrigdeTransactor // Generic write-only contract binding to access the raw methods on
}

BrigdeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*BrigdeTransactorRaw) Transact

func (_Brigde *BrigdeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BrigdeTransactorRaw) Transfer

func (_Brigde *BrigdeTransactorRaw) 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 BrigdeTransactorSession

type BrigdeTransactorSession struct {
	Contract     *BrigdeTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

BrigdeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*BrigdeTransactorSession) BridgeToken

func (_Brigde *BrigdeTransactorSession) BridgeToken(token common.Address, amount *big.Int, externalAddr string, destChainId *big.Int) (*types.Transaction, error)

BridgeToken is a paid mutator transaction binding the contract method 0x0e93b35c.

Solidity: function bridgeToken(address token, uint256 amount, string externalAddr, uint256 destChainId) returns()

func (*BrigdeTransactorSession) BridgeToken0

func (_Brigde *BrigdeTransactorSession) BridgeToken0(externalAddr string, destChainId *big.Int) (*types.Transaction, error)

BridgeToken0 is a paid mutator transaction binding the contract method 0xd4546d23.

Solidity: function bridgeToken(string externalAddr, uint256 destChainId) payable returns()

func (*BrigdeTransactorSession) Initialize

func (_Brigde *BrigdeTransactorSession) Initialize(safeMultisigContractAddress common.Address, chainIdEth_ *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xcd6dc687.

Solidity: function initialize(address safeMultisigContractAddress, uint256 chainIdEth_) returns()

func (*BrigdeTransactorSession) Mint

func (_Brigde *BrigdeTransactorSession) Mint(tokens []common.Address, recipients []common.Address, amounts []*big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x5530f4a5.

Solidity: function mint(address[] tokens, address[] recipients, uint256[] amounts) returns()

func (*BrigdeTransactorSession) Mint0

func (_Brigde *BrigdeTransactorSession) Mint0(token common.Address, recipients []common.Address, amounts []*big.Int) (*types.Transaction, error)

Mint0 is a paid mutator transaction binding the contract method 0xa3bf277e.

Solidity: function mint(address token, address[] recipients, uint256[] amounts) returns()

func (*BrigdeTransactorSession) RenounceOwnership

func (_Brigde *BrigdeTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BrigdeTransactorSession) TransferOwnership

func (_Brigde *BrigdeTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL