Documentation ¶
Index ¶
- Variables
- type Bridge
- type BridgeOrder
- type Client
- type ClientError
- type Config
- type Listener
- type Side
- type WrappedPac
- type WrappedPacAdminChanged
- type WrappedPacAdminChangedIterator
- type WrappedPacApproval
- type WrappedPacApprovalIterator
- type WrappedPacBeaconUpgraded
- type WrappedPacBeaconUpgradedIterator
- type WrappedPacBridge
- type WrappedPacBridgeIterator
- type WrappedPacCaller
- func (_WrappedPac *WrappedPacCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_WrappedPac *WrappedPacCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_WrappedPac *WrappedPacCaller) Bridged(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_WrappedPac *WrappedPacCaller) Counter(opts *bind.CallOpts) (*big.Int, error)
- func (_WrappedPac *WrappedPacCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_WrappedPac *WrappedPacCaller) GetFee(opts *bind.CallOpts, amount *big.Int) (*big.Int, error)
- func (_WrappedPac *WrappedPacCaller) MAXFEE(opts *bind.CallOpts) (*big.Int, error)
- func (_WrappedPac *WrappedPacCaller) MINFEE(opts *bind.CallOpts) (*big.Int, error)
- func (_WrappedPac *WrappedPacCaller) Name(opts *bind.CallOpts) (string, error)
- func (_WrappedPac *WrappedPacCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_WrappedPac *WrappedPacCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_WrappedPac *WrappedPacCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
- func (_WrappedPac *WrappedPacCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_WrappedPac *WrappedPacCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type WrappedPacCallerRaw
- type WrappedPacCallerSession
- func (_WrappedPac *WrappedPacCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_WrappedPac *WrappedPacCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_WrappedPac *WrappedPacCallerSession) Bridged(arg0 *big.Int) (struct{ ... }, error)
- func (_WrappedPac *WrappedPacCallerSession) Counter() (*big.Int, error)
- func (_WrappedPac *WrappedPacCallerSession) Decimals() (uint8, error)
- func (_WrappedPac *WrappedPacCallerSession) GetFee(amount *big.Int) (*big.Int, error)
- func (_WrappedPac *WrappedPacCallerSession) MAXFEE() (*big.Int, error)
- func (_WrappedPac *WrappedPacCallerSession) MINFEE() (*big.Int, error)
- func (_WrappedPac *WrappedPacCallerSession) Name() (string, error)
- func (_WrappedPac *WrappedPacCallerSession) Owner() (common.Address, error)
- func (_WrappedPac *WrappedPacCallerSession) Paused() (bool, error)
- func (_WrappedPac *WrappedPacCallerSession) ProxiableUUID() ([32]byte, error)
- func (_WrappedPac *WrappedPacCallerSession) Symbol() (string, error)
- func (_WrappedPac *WrappedPacCallerSession) TotalSupply() (*big.Int, error)
- type WrappedPacFilterer
- func (_WrappedPac *WrappedPacFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*WrappedPacAdminChangedIterator, error)
- func (_WrappedPac *WrappedPacFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*WrappedPacApprovalIterator, error)
- func (_WrappedPac *WrappedPacFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*WrappedPacBeaconUpgradedIterator, error)
- func (_WrappedPac *WrappedPacFilterer) FilterBridge(opts *bind.FilterOpts, sender []common.Address) (*WrappedPacBridgeIterator, error)
- func (_WrappedPac *WrappedPacFilterer) FilterInitialized(opts *bind.FilterOpts) (*WrappedPacInitializedIterator, error)
- func (_WrappedPac *WrappedPacFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*WrappedPacOwnershipTransferredIterator, error)
- func (_WrappedPac *WrappedPacFilterer) FilterPaused(opts *bind.FilterOpts) (*WrappedPacPausedIterator, error)
- func (_WrappedPac *WrappedPacFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*WrappedPacTransferIterator, error)
- func (_WrappedPac *WrappedPacFilterer) FilterUnpaused(opts *bind.FilterOpts) (*WrappedPacUnpausedIterator, error)
- func (_WrappedPac *WrappedPacFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*WrappedPacUpgradedIterator, error)
- func (_WrappedPac *WrappedPacFilterer) ParseAdminChanged(log types.Log) (*WrappedPacAdminChanged, error)
- func (_WrappedPac *WrappedPacFilterer) ParseApproval(log types.Log) (*WrappedPacApproval, error)
- func (_WrappedPac *WrappedPacFilterer) ParseBeaconUpgraded(log types.Log) (*WrappedPacBeaconUpgraded, error)
- func (_WrappedPac *WrappedPacFilterer) ParseBridge(log types.Log) (*WrappedPacBridge, error)
- func (_WrappedPac *WrappedPacFilterer) ParseInitialized(log types.Log) (*WrappedPacInitialized, error)
- func (_WrappedPac *WrappedPacFilterer) ParseOwnershipTransferred(log types.Log) (*WrappedPacOwnershipTransferred, error)
- func (_WrappedPac *WrappedPacFilterer) ParsePaused(log types.Log) (*WrappedPacPaused, error)
- func (_WrappedPac *WrappedPacFilterer) ParseTransfer(log types.Log) (*WrappedPacTransfer, error)
- func (_WrappedPac *WrappedPacFilterer) ParseUnpaused(log types.Log) (*WrappedPacUnpaused, error)
- func (_WrappedPac *WrappedPacFilterer) ParseUpgraded(log types.Log) (*WrappedPacUpgraded, error)
- func (_WrappedPac *WrappedPacFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *WrappedPacAdminChanged) (event.Subscription, error)
- func (_WrappedPac *WrappedPacFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *WrappedPacApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_WrappedPac *WrappedPacFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *WrappedPacBeaconUpgraded, ...) (event.Subscription, error)
- func (_WrappedPac *WrappedPacFilterer) WatchBridge(opts *bind.WatchOpts, sink chan<- *WrappedPacBridge, sender []common.Address) (event.Subscription, error)
- func (_WrappedPac *WrappedPacFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *WrappedPacInitialized) (event.Subscription, error)
- func (_WrappedPac *WrappedPacFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *WrappedPacOwnershipTransferred, ...) (event.Subscription, error)
- func (_WrappedPac *WrappedPacFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *WrappedPacPaused) (event.Subscription, error)
- func (_WrappedPac *WrappedPacFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *WrappedPacTransfer, from []common.Address, ...) (event.Subscription, error)
- func (_WrappedPac *WrappedPacFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *WrappedPacUnpaused) (event.Subscription, error)
- func (_WrappedPac *WrappedPacFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *WrappedPacUpgraded, ...) (event.Subscription, error)
- type WrappedPacInitialized
- type WrappedPacInitializedIterator
- type WrappedPacOwnershipTransferred
- type WrappedPacOwnershipTransferredIterator
- type WrappedPacPaused
- type WrappedPacPausedIterator
- type WrappedPacRaw
- func (_WrappedPac *WrappedPacRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_WrappedPac *WrappedPacRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type WrappedPacSession
- func (_WrappedPac *WrappedPacSession) AdminBridge(destinationAddress string, value *big.Int) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_WrappedPac *WrappedPacSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_WrappedPac *WrappedPacSession) Bridge(destinationAddress string, value *big.Int) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacSession) Bridged(arg0 *big.Int) (struct{ ... }, error)
- func (_WrappedPac *WrappedPacSession) Counter() (*big.Int, error)
- func (_WrappedPac *WrappedPacSession) Decimals() (uint8, error)
- func (_WrappedPac *WrappedPacSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacSession) GetFee(amount *big.Int) (*big.Int, error)
- func (_WrappedPac *WrappedPacSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacSession) Initialize() (*types.Transaction, error)
- func (_WrappedPac *WrappedPacSession) MAXFEE() (*big.Int, error)
- func (_WrappedPac *WrappedPacSession) MINFEE() (*big.Int, error)
- func (_WrappedPac *WrappedPacSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacSession) Name() (string, error)
- func (_WrappedPac *WrappedPacSession) Owner() (common.Address, error)
- func (_WrappedPac *WrappedPacSession) Paused() (bool, error)
- func (_WrappedPac *WrappedPacSession) ProxiableUUID() ([32]byte, error)
- func (_WrappedPac *WrappedPacSession) RenounceOwnership() (*types.Transaction, error)
- func (_WrappedPac *WrappedPacSession) Symbol() (string, error)
- func (_WrappedPac *WrappedPacSession) TotalSupply() (*big.Int, error)
- func (_WrappedPac *WrappedPacSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacSession) WithdrawFee() (*types.Transaction, error)
- type WrappedPacTransactor
- func (_WrappedPac *WrappedPacTransactor) AdminBridge(opts *bind.TransactOpts, destinationAddress string, value *big.Int) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactor) Bridge(opts *bind.TransactOpts, destinationAddress string, value *big.Int) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactor) WithdrawFee(opts *bind.TransactOpts) (*types.Transaction, error)
- type WrappedPacTransactorRaw
- type WrappedPacTransactorSession
- func (_WrappedPac *WrappedPacTransactorSession) AdminBridge(destinationAddress string, value *big.Int) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactorSession) Bridge(destinationAddress string, value *big.Int) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactorSession) Initialize() (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- func (_WrappedPac *WrappedPacTransactorSession) WithdrawFee() (*types.Transaction, error)
- type WrappedPacTransfer
- type WrappedPacTransferIterator
- type WrappedPacUnpaused
- type WrappedPacUnpausedIterator
- type WrappedPacUpgraded
- type WrappedPacUpgradedIterator
Constants ¶
This section is empty.
Variables ¶
var WrappedPacABI = WrappedPacMetaData.ABI
WrappedPacABI is the input ABI used to generate the binding from. Deprecated: Use WrappedPacMetaData.ABI instead.
var WrappedPacMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"destinationAddress\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"name\":\"Bridge\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"MAX_FEE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MIN_FEE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"destinationAddress\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"adminBridge\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"destinationAddress\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"bridge\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"bridged\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"destinationAddress\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"counter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"getFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
WrappedPacMetaData contains all meta data concerning the WrappedPac contract.
Functions ¶
This section is empty.
Types ¶
type BridgeOrder ¶
type ClientError ¶
type ClientError struct {
// contains filtered or unexported fields
}
func (ClientError) Error ¶
func (e ClientError) Error() string
type WrappedPac ¶
type WrappedPac struct { WrappedPacCaller // Read-only binding to the contract WrappedPacTransactor // Write-only binding to the contract WrappedPacFilterer // Log filterer for contract events }
WrappedPac is an auto generated Go binding around an Ethereum contract.
func NewWrappedPac ¶
func NewWrappedPac(address common.Address, backend bind.ContractBackend) (*WrappedPac, error)
NewWrappedPac creates a new instance of WrappedPac, bound to a specific deployed contract.
type WrappedPacAdminChanged ¶
type WrappedPacAdminChanged struct { PreviousAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
WrappedPacAdminChanged represents a AdminChanged event raised by the WrappedPac contract.
type WrappedPacAdminChangedIterator ¶
type WrappedPacAdminChangedIterator struct { Event *WrappedPacAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WrappedPacAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the WrappedPac contract.
func (*WrappedPacAdminChangedIterator) Close ¶
func (it *WrappedPacAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WrappedPacAdminChangedIterator) Error ¶
func (it *WrappedPacAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WrappedPacAdminChangedIterator) Next ¶
func (it *WrappedPacAdminChangedIterator) 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 WrappedPacApproval ¶
type WrappedPacApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
WrappedPacApproval represents a Approval event raised by the WrappedPac contract.
type WrappedPacApprovalIterator ¶
type WrappedPacApprovalIterator struct { Event *WrappedPacApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WrappedPacApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the WrappedPac contract.
func (*WrappedPacApprovalIterator) Close ¶
func (it *WrappedPacApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WrappedPacApprovalIterator) Error ¶
func (it *WrappedPacApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WrappedPacApprovalIterator) Next ¶
func (it *WrappedPacApprovalIterator) 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 WrappedPacBeaconUpgraded ¶
type WrappedPacBeaconUpgraded struct { Beacon common.Address Raw types.Log // Blockchain specific contextual infos }
WrappedPacBeaconUpgraded represents a BeaconUpgraded event raised by the WrappedPac contract.
type WrappedPacBeaconUpgradedIterator ¶
type WrappedPacBeaconUpgradedIterator struct { Event *WrappedPacBeaconUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WrappedPacBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the WrappedPac contract.
func (*WrappedPacBeaconUpgradedIterator) Close ¶
func (it *WrappedPacBeaconUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WrappedPacBeaconUpgradedIterator) Error ¶
func (it *WrappedPacBeaconUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WrappedPacBeaconUpgradedIterator) Next ¶
func (it *WrappedPacBeaconUpgradedIterator) 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 WrappedPacBridge ¶
type WrappedPacBridge struct { Sender common.Address Amount *big.Int DestinationAddress string Fee *big.Int Raw types.Log // Blockchain specific contextual infos }
WrappedPacBridge represents a Bridge event raised by the WrappedPac contract.
type WrappedPacBridgeIterator ¶
type WrappedPacBridgeIterator struct { Event *WrappedPacBridge // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WrappedPacBridgeIterator is returned from FilterBridge and is used to iterate over the raw logs and unpacked data for Bridge events raised by the WrappedPac contract.
func (*WrappedPacBridgeIterator) Close ¶
func (it *WrappedPacBridgeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WrappedPacBridgeIterator) Error ¶
func (it *WrappedPacBridgeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WrappedPacBridgeIterator) Next ¶
func (it *WrappedPacBridgeIterator) 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 WrappedPacCaller ¶
type WrappedPacCaller struct {
// contains filtered or unexported fields
}
WrappedPacCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewWrappedPacCaller ¶
func NewWrappedPacCaller(address common.Address, caller bind.ContractCaller) (*WrappedPacCaller, error)
NewWrappedPacCaller creates a new read-only instance of WrappedPac, bound to a specific deployed contract.
func (*WrappedPacCaller) Allowance ¶
func (_WrappedPac *WrappedPacCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*WrappedPacCaller) BalanceOf ¶
func (_WrappedPac *WrappedPacCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*WrappedPacCaller) Bridged ¶
func (_WrappedPac *WrappedPacCaller) Bridged(opts *bind.CallOpts, arg0 *big.Int) (struct { Sender common.Address Amount *big.Int DestinationAddress string Fee *big.Int }, error)
Bridged is a free data retrieval call binding the contract method 0x5d2b9182.
Solidity: function bridged(uint256 ) view returns(address sender, uint256 amount, string destinationAddress, uint256 fee)
func (*WrappedPacCaller) Counter ¶
Counter is a free data retrieval call binding the contract method 0x61bc221a.
Solidity: function counter() view returns(uint256)
func (*WrappedPacCaller) Decimals ¶
func (_WrappedPac *WrappedPacCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() pure returns(uint8)
func (*WrappedPacCaller) GetFee ¶
GetFee is a free data retrieval call binding the contract method 0xfcee45f4.
Solidity: function getFee(uint256 amount) pure returns(uint256)
func (*WrappedPacCaller) MAXFEE ¶
MAXFEE is a free data retrieval call binding the contract method 0xbc063e1a.
Solidity: function MAX_FEE() view returns(uint256)
func (*WrappedPacCaller) MINFEE ¶
MINFEE is a free data retrieval call binding the contract method 0x76c7a3c7.
Solidity: function MIN_FEE() view returns(uint256)
func (*WrappedPacCaller) Name ¶
func (_WrappedPac *WrappedPacCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*WrappedPacCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*WrappedPacCaller) Paused ¶
func (_WrappedPac *WrappedPacCaller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*WrappedPacCaller) ProxiableUUID ¶
func (_WrappedPac *WrappedPacCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*WrappedPacCaller) Symbol ¶
func (_WrappedPac *WrappedPacCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*WrappedPacCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type WrappedPacCallerRaw ¶
type WrappedPacCallerRaw struct {
Contract *WrappedPacCaller // Generic read-only contract binding to access the raw methods on
}
WrappedPacCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*WrappedPacCallerRaw) Call ¶
func (_WrappedPac *WrappedPacCallerRaw) 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 WrappedPacCallerSession ¶
type WrappedPacCallerSession struct { Contract *WrappedPacCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
WrappedPacCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*WrappedPacCallerSession) Allowance ¶
func (_WrappedPac *WrappedPacCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*WrappedPacCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*WrappedPacCallerSession) Bridged ¶
func (_WrappedPac *WrappedPacCallerSession) Bridged(arg0 *big.Int) (struct { Sender common.Address Amount *big.Int DestinationAddress string Fee *big.Int }, error)
Bridged is a free data retrieval call binding the contract method 0x5d2b9182.
Solidity: function bridged(uint256 ) view returns(address sender, uint256 amount, string destinationAddress, uint256 fee)
func (*WrappedPacCallerSession) Counter ¶
func (_WrappedPac *WrappedPacCallerSession) Counter() (*big.Int, error)
Counter is a free data retrieval call binding the contract method 0x61bc221a.
Solidity: function counter() view returns(uint256)
func (*WrappedPacCallerSession) Decimals ¶
func (_WrappedPac *WrappedPacCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() pure returns(uint8)
func (*WrappedPacCallerSession) GetFee ¶
GetFee is a free data retrieval call binding the contract method 0xfcee45f4.
Solidity: function getFee(uint256 amount) pure returns(uint256)
func (*WrappedPacCallerSession) MAXFEE ¶
func (_WrappedPac *WrappedPacCallerSession) MAXFEE() (*big.Int, error)
MAXFEE is a free data retrieval call binding the contract method 0xbc063e1a.
Solidity: function MAX_FEE() view returns(uint256)
func (*WrappedPacCallerSession) MINFEE ¶
func (_WrappedPac *WrappedPacCallerSession) MINFEE() (*big.Int, error)
MINFEE is a free data retrieval call binding the contract method 0x76c7a3c7.
Solidity: function MIN_FEE() view returns(uint256)
func (*WrappedPacCallerSession) Name ¶
func (_WrappedPac *WrappedPacCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*WrappedPacCallerSession) Owner ¶
func (_WrappedPac *WrappedPacCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*WrappedPacCallerSession) Paused ¶
func (_WrappedPac *WrappedPacCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*WrappedPacCallerSession) ProxiableUUID ¶
func (_WrappedPac *WrappedPacCallerSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*WrappedPacCallerSession) Symbol ¶
func (_WrappedPac *WrappedPacCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*WrappedPacCallerSession) TotalSupply ¶
func (_WrappedPac *WrappedPacCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type WrappedPacFilterer ¶
type WrappedPacFilterer struct {
// contains filtered or unexported fields
}
WrappedPacFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewWrappedPacFilterer ¶
func NewWrappedPacFilterer(address common.Address, filterer bind.ContractFilterer) (*WrappedPacFilterer, error)
NewWrappedPacFilterer creates a new log filterer instance of WrappedPac, bound to a specific deployed contract.
func (*WrappedPacFilterer) FilterAdminChanged ¶
func (_WrappedPac *WrappedPacFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*WrappedPacAdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*WrappedPacFilterer) FilterApproval ¶
func (_WrappedPac *WrappedPacFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*WrappedPacApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*WrappedPacFilterer) FilterBeaconUpgraded ¶
func (_WrappedPac *WrappedPacFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*WrappedPacBeaconUpgradedIterator, error)
FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*WrappedPacFilterer) FilterBridge ¶
func (_WrappedPac *WrappedPacFilterer) FilterBridge(opts *bind.FilterOpts, sender []common.Address) (*WrappedPacBridgeIterator, error)
FilterBridge is a free log retrieval operation binding the contract event 0x0654583b6cbfab35755f88cd57538bfd9e9f3db0a0d30cfdf6a31cc762a5837a.
Solidity: event Bridge(address indexed sender, uint256 amount, string destinationAddress, uint256 fee)
func (*WrappedPacFilterer) FilterInitialized ¶
func (_WrappedPac *WrappedPacFilterer) FilterInitialized(opts *bind.FilterOpts) (*WrappedPacInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*WrappedPacFilterer) FilterOwnershipTransferred ¶
func (_WrappedPac *WrappedPacFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*WrappedPacOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*WrappedPacFilterer) FilterPaused ¶
func (_WrappedPac *WrappedPacFilterer) FilterPaused(opts *bind.FilterOpts) (*WrappedPacPausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*WrappedPacFilterer) FilterTransfer ¶
func (_WrappedPac *WrappedPacFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*WrappedPacTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*WrappedPacFilterer) FilterUnpaused ¶
func (_WrappedPac *WrappedPacFilterer) FilterUnpaused(opts *bind.FilterOpts) (*WrappedPacUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*WrappedPacFilterer) FilterUpgraded ¶
func (_WrappedPac *WrappedPacFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*WrappedPacUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*WrappedPacFilterer) ParseAdminChanged ¶
func (_WrappedPac *WrappedPacFilterer) ParseAdminChanged(log types.Log) (*WrappedPacAdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*WrappedPacFilterer) ParseApproval ¶
func (_WrappedPac *WrappedPacFilterer) ParseApproval(log types.Log) (*WrappedPacApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*WrappedPacFilterer) ParseBeaconUpgraded ¶
func (_WrappedPac *WrappedPacFilterer) ParseBeaconUpgraded(log types.Log) (*WrappedPacBeaconUpgraded, error)
ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*WrappedPacFilterer) ParseBridge ¶
func (_WrappedPac *WrappedPacFilterer) ParseBridge(log types.Log) (*WrappedPacBridge, error)
ParseBridge is a log parse operation binding the contract event 0x0654583b6cbfab35755f88cd57538bfd9e9f3db0a0d30cfdf6a31cc762a5837a.
Solidity: event Bridge(address indexed sender, uint256 amount, string destinationAddress, uint256 fee)
func (*WrappedPacFilterer) ParseInitialized ¶
func (_WrappedPac *WrappedPacFilterer) ParseInitialized(log types.Log) (*WrappedPacInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*WrappedPacFilterer) ParseOwnershipTransferred ¶
func (_WrappedPac *WrappedPacFilterer) ParseOwnershipTransferred(log types.Log) (*WrappedPacOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*WrappedPacFilterer) ParsePaused ¶
func (_WrappedPac *WrappedPacFilterer) ParsePaused(log types.Log) (*WrappedPacPaused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*WrappedPacFilterer) ParseTransfer ¶
func (_WrappedPac *WrappedPacFilterer) ParseTransfer(log types.Log) (*WrappedPacTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*WrappedPacFilterer) ParseUnpaused ¶
func (_WrappedPac *WrappedPacFilterer) ParseUnpaused(log types.Log) (*WrappedPacUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*WrappedPacFilterer) ParseUpgraded ¶
func (_WrappedPac *WrappedPacFilterer) ParseUpgraded(log types.Log) (*WrappedPacUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*WrappedPacFilterer) WatchAdminChanged ¶
func (_WrappedPac *WrappedPacFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *WrappedPacAdminChanged) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*WrappedPacFilterer) WatchApproval ¶
func (_WrappedPac *WrappedPacFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *WrappedPacApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*WrappedPacFilterer) WatchBeaconUpgraded ¶
func (_WrappedPac *WrappedPacFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *WrappedPacBeaconUpgraded, beacon []common.Address) (event.Subscription, error)
WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*WrappedPacFilterer) WatchBridge ¶
func (_WrappedPac *WrappedPacFilterer) WatchBridge(opts *bind.WatchOpts, sink chan<- *WrappedPacBridge, sender []common.Address) (event.Subscription, error)
WatchBridge is a free log subscription operation binding the contract event 0x0654583b6cbfab35755f88cd57538bfd9e9f3db0a0d30cfdf6a31cc762a5837a.
Solidity: event Bridge(address indexed sender, uint256 amount, string destinationAddress, uint256 fee)
func (*WrappedPacFilterer) WatchInitialized ¶
func (_WrappedPac *WrappedPacFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *WrappedPacInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*WrappedPacFilterer) WatchOwnershipTransferred ¶
func (_WrappedPac *WrappedPacFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *WrappedPacOwnershipTransferred, 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)
func (*WrappedPacFilterer) WatchPaused ¶
func (_WrappedPac *WrappedPacFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *WrappedPacPaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*WrappedPacFilterer) WatchTransfer ¶
func (_WrappedPac *WrappedPacFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *WrappedPacTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*WrappedPacFilterer) WatchUnpaused ¶
func (_WrappedPac *WrappedPacFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *WrappedPacUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*WrappedPacFilterer) WatchUpgraded ¶
func (_WrappedPac *WrappedPacFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *WrappedPacUpgraded, implementation []common.Address) (event.Subscription, error)
WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
type WrappedPacInitialized ¶
type WrappedPacInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
WrappedPacInitialized represents a Initialized event raised by the WrappedPac contract.
type WrappedPacInitializedIterator ¶
type WrappedPacInitializedIterator struct { Event *WrappedPacInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WrappedPacInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the WrappedPac contract.
func (*WrappedPacInitializedIterator) Close ¶
func (it *WrappedPacInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WrappedPacInitializedIterator) Error ¶
func (it *WrappedPacInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WrappedPacInitializedIterator) Next ¶
func (it *WrappedPacInitializedIterator) 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 WrappedPacOwnershipTransferred ¶
type WrappedPacOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
WrappedPacOwnershipTransferred represents a OwnershipTransferred event raised by the WrappedPac contract.
type WrappedPacOwnershipTransferredIterator ¶
type WrappedPacOwnershipTransferredIterator struct { Event *WrappedPacOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WrappedPacOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the WrappedPac contract.
func (*WrappedPacOwnershipTransferredIterator) Close ¶
func (it *WrappedPacOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WrappedPacOwnershipTransferredIterator) Error ¶
func (it *WrappedPacOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WrappedPacOwnershipTransferredIterator) Next ¶
func (it *WrappedPacOwnershipTransferredIterator) 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 WrappedPacPaused ¶
type WrappedPacPaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
WrappedPacPaused represents a Paused event raised by the WrappedPac contract.
type WrappedPacPausedIterator ¶
type WrappedPacPausedIterator struct { Event *WrappedPacPaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WrappedPacPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the WrappedPac contract.
func (*WrappedPacPausedIterator) Close ¶
func (it *WrappedPacPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WrappedPacPausedIterator) Error ¶
func (it *WrappedPacPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WrappedPacPausedIterator) Next ¶
func (it *WrappedPacPausedIterator) 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 WrappedPacRaw ¶
type WrappedPacRaw struct {
Contract *WrappedPac // Generic contract binding to access the raw methods on
}
WrappedPacRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*WrappedPacRaw) Call ¶
func (_WrappedPac *WrappedPacRaw) 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 (*WrappedPacRaw) Transact ¶
func (_WrappedPac *WrappedPacRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WrappedPacRaw) Transfer ¶
func (_WrappedPac *WrappedPacRaw) 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 WrappedPacSession ¶
type WrappedPacSession struct { Contract *WrappedPac // 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 }
WrappedPacSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*WrappedPacSession) AdminBridge ¶
func (_WrappedPac *WrappedPacSession) AdminBridge(destinationAddress string, value *big.Int) (*types.Transaction, error)
AdminBridge is a paid mutator transaction binding the contract method 0x77fc58cf.
Solidity: function adminBridge(string destinationAddress, uint256 value) returns()
func (*WrappedPacSession) Allowance ¶
func (_WrappedPac *WrappedPacSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*WrappedPacSession) Approve ¶
func (_WrappedPac *WrappedPacSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*WrappedPacSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*WrappedPacSession) Bridge ¶
func (_WrappedPac *WrappedPacSession) Bridge(destinationAddress string, value *big.Int) (*types.Transaction, error)
Bridge is a paid mutator transaction binding the contract method 0xa839ae97.
Solidity: function bridge(string destinationAddress, uint256 value) returns()
func (*WrappedPacSession) Bridged ¶
func (_WrappedPac *WrappedPacSession) Bridged(arg0 *big.Int) (struct { Sender common.Address Amount *big.Int DestinationAddress string Fee *big.Int }, error)
Bridged is a free data retrieval call binding the contract method 0x5d2b9182.
Solidity: function bridged(uint256 ) view returns(address sender, uint256 amount, string destinationAddress, uint256 fee)
func (*WrappedPacSession) Counter ¶
func (_WrappedPac *WrappedPacSession) Counter() (*big.Int, error)
Counter is a free data retrieval call binding the contract method 0x61bc221a.
Solidity: function counter() view returns(uint256)
func (*WrappedPacSession) Decimals ¶
func (_WrappedPac *WrappedPacSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() pure returns(uint8)
func (*WrappedPacSession) DecreaseAllowance ¶
func (_WrappedPac *WrappedPacSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*WrappedPacSession) GetFee ¶
GetFee is a free data retrieval call binding the contract method 0xfcee45f4.
Solidity: function getFee(uint256 amount) pure returns(uint256)
func (*WrappedPacSession) IncreaseAllowance ¶
func (_WrappedPac *WrappedPacSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*WrappedPacSession) Initialize ¶
func (_WrappedPac *WrappedPacSession) Initialize() (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*WrappedPacSession) MAXFEE ¶
func (_WrappedPac *WrappedPacSession) MAXFEE() (*big.Int, error)
MAXFEE is a free data retrieval call binding the contract method 0xbc063e1a.
Solidity: function MAX_FEE() view returns(uint256)
func (*WrappedPacSession) MINFEE ¶
func (_WrappedPac *WrappedPacSession) MINFEE() (*big.Int, error)
MINFEE is a free data retrieval call binding the contract method 0x76c7a3c7.
Solidity: function MIN_FEE() view returns(uint256)
func (*WrappedPacSession) Mint ¶
func (_WrappedPac *WrappedPacSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 amount) returns()
func (*WrappedPacSession) Name ¶
func (_WrappedPac *WrappedPacSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*WrappedPacSession) Owner ¶
func (_WrappedPac *WrappedPacSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*WrappedPacSession) Paused ¶
func (_WrappedPac *WrappedPacSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*WrappedPacSession) ProxiableUUID ¶
func (_WrappedPac *WrappedPacSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*WrappedPacSession) RenounceOwnership ¶
func (_WrappedPac *WrappedPacSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*WrappedPacSession) Symbol ¶
func (_WrappedPac *WrappedPacSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*WrappedPacSession) TotalSupply ¶
func (_WrappedPac *WrappedPacSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*WrappedPacSession) Transfer ¶
func (_WrappedPac *WrappedPacSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*WrappedPacSession) TransferFrom ¶
func (_WrappedPac *WrappedPacSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
func (*WrappedPacSession) TransferOwnership ¶
func (_WrappedPac *WrappedPacSession) 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 (*WrappedPacSession) UpgradeTo ¶
func (_WrappedPac *WrappedPacSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*WrappedPacSession) UpgradeToAndCall ¶
func (_WrappedPac *WrappedPacSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
func (*WrappedPacSession) WithdrawFee ¶
func (_WrappedPac *WrappedPacSession) WithdrawFee() (*types.Transaction, error)
WithdrawFee is a paid mutator transaction binding the contract method 0xe941fa78.
Solidity: function withdrawFee() returns()
type WrappedPacTransactor ¶
type WrappedPacTransactor struct {
// contains filtered or unexported fields
}
WrappedPacTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewWrappedPacTransactor ¶
func NewWrappedPacTransactor(address common.Address, transactor bind.ContractTransactor) (*WrappedPacTransactor, error)
NewWrappedPacTransactor creates a new write-only instance of WrappedPac, bound to a specific deployed contract.
func (*WrappedPacTransactor) AdminBridge ¶
func (_WrappedPac *WrappedPacTransactor) AdminBridge(opts *bind.TransactOpts, destinationAddress string, value *big.Int) (*types.Transaction, error)
AdminBridge is a paid mutator transaction binding the contract method 0x77fc58cf.
Solidity: function adminBridge(string destinationAddress, uint256 value) returns()
func (*WrappedPacTransactor) Approve ¶
func (_WrappedPac *WrappedPacTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*WrappedPacTransactor) Bridge ¶
func (_WrappedPac *WrappedPacTransactor) Bridge(opts *bind.TransactOpts, destinationAddress string, value *big.Int) (*types.Transaction, error)
Bridge is a paid mutator transaction binding the contract method 0xa839ae97.
Solidity: function bridge(string destinationAddress, uint256 value) returns()
func (*WrappedPacTransactor) DecreaseAllowance ¶
func (_WrappedPac *WrappedPacTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*WrappedPacTransactor) IncreaseAllowance ¶
func (_WrappedPac *WrappedPacTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*WrappedPacTransactor) Initialize ¶
func (_WrappedPac *WrappedPacTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*WrappedPacTransactor) Mint ¶
func (_WrappedPac *WrappedPacTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 amount) returns()
func (*WrappedPacTransactor) RenounceOwnership ¶
func (_WrappedPac *WrappedPacTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*WrappedPacTransactor) Transfer ¶
func (_WrappedPac *WrappedPacTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*WrappedPacTransactor) TransferFrom ¶
func (_WrappedPac *WrappedPacTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
func (*WrappedPacTransactor) TransferOwnership ¶
func (_WrappedPac *WrappedPacTransactor) 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 (*WrappedPacTransactor) UpgradeTo ¶
func (_WrappedPac *WrappedPacTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*WrappedPacTransactor) UpgradeToAndCall ¶
func (_WrappedPac *WrappedPacTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
func (*WrappedPacTransactor) WithdrawFee ¶
func (_WrappedPac *WrappedPacTransactor) WithdrawFee(opts *bind.TransactOpts) (*types.Transaction, error)
WithdrawFee is a paid mutator transaction binding the contract method 0xe941fa78.
Solidity: function withdrawFee() returns()
type WrappedPacTransactorRaw ¶
type WrappedPacTransactorRaw struct {
Contract *WrappedPacTransactor // Generic write-only contract binding to access the raw methods on
}
WrappedPacTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*WrappedPacTransactorRaw) Transact ¶
func (_WrappedPac *WrappedPacTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WrappedPacTransactorRaw) Transfer ¶
func (_WrappedPac *WrappedPacTransactorRaw) 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 WrappedPacTransactorSession ¶
type WrappedPacTransactorSession struct { Contract *WrappedPacTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
WrappedPacTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*WrappedPacTransactorSession) AdminBridge ¶
func (_WrappedPac *WrappedPacTransactorSession) AdminBridge(destinationAddress string, value *big.Int) (*types.Transaction, error)
AdminBridge is a paid mutator transaction binding the contract method 0x77fc58cf.
Solidity: function adminBridge(string destinationAddress, uint256 value) returns()
func (*WrappedPacTransactorSession) Approve ¶
func (_WrappedPac *WrappedPacTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*WrappedPacTransactorSession) Bridge ¶
func (_WrappedPac *WrappedPacTransactorSession) Bridge(destinationAddress string, value *big.Int) (*types.Transaction, error)
Bridge is a paid mutator transaction binding the contract method 0xa839ae97.
Solidity: function bridge(string destinationAddress, uint256 value) returns()
func (*WrappedPacTransactorSession) DecreaseAllowance ¶
func (_WrappedPac *WrappedPacTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*WrappedPacTransactorSession) IncreaseAllowance ¶
func (_WrappedPac *WrappedPacTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*WrappedPacTransactorSession) Initialize ¶
func (_WrappedPac *WrappedPacTransactorSession) Initialize() (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*WrappedPacTransactorSession) Mint ¶
func (_WrappedPac *WrappedPacTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 amount) returns()
func (*WrappedPacTransactorSession) RenounceOwnership ¶
func (_WrappedPac *WrappedPacTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*WrappedPacTransactorSession) Transfer ¶
func (_WrappedPac *WrappedPacTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*WrappedPacTransactorSession) TransferFrom ¶
func (_WrappedPac *WrappedPacTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
func (*WrappedPacTransactorSession) TransferOwnership ¶
func (_WrappedPac *WrappedPacTransactorSession) 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 (*WrappedPacTransactorSession) UpgradeTo ¶
func (_WrappedPac *WrappedPacTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*WrappedPacTransactorSession) UpgradeToAndCall ¶
func (_WrappedPac *WrappedPacTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
func (*WrappedPacTransactorSession) WithdrawFee ¶
func (_WrappedPac *WrappedPacTransactorSession) WithdrawFee() (*types.Transaction, error)
WithdrawFee is a paid mutator transaction binding the contract method 0xe941fa78.
Solidity: function withdrawFee() returns()
type WrappedPacTransfer ¶
type WrappedPacTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
WrappedPacTransfer represents a Transfer event raised by the WrappedPac contract.
type WrappedPacTransferIterator ¶
type WrappedPacTransferIterator struct { Event *WrappedPacTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WrappedPacTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the WrappedPac contract.
func (*WrappedPacTransferIterator) Close ¶
func (it *WrappedPacTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WrappedPacTransferIterator) Error ¶
func (it *WrappedPacTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WrappedPacTransferIterator) Next ¶
func (it *WrappedPacTransferIterator) 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 WrappedPacUnpaused ¶
type WrappedPacUnpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
WrappedPacUnpaused represents a Unpaused event raised by the WrappedPac contract.
type WrappedPacUnpausedIterator ¶
type WrappedPacUnpausedIterator struct { Event *WrappedPacUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WrappedPacUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the WrappedPac contract.
func (*WrappedPacUnpausedIterator) Close ¶
func (it *WrappedPacUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WrappedPacUnpausedIterator) Error ¶
func (it *WrappedPacUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WrappedPacUnpausedIterator) Next ¶
func (it *WrappedPacUnpausedIterator) 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 WrappedPacUpgraded ¶
type WrappedPacUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
WrappedPacUpgraded represents a Upgraded event raised by the WrappedPac contract.
type WrappedPacUpgradedIterator ¶
type WrappedPacUpgradedIterator struct { Event *WrappedPacUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WrappedPacUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the WrappedPac contract.
func (*WrappedPacUpgradedIterator) Close ¶
func (it *WrappedPacUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WrappedPacUpgradedIterator) Error ¶
func (it *WrappedPacUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WrappedPacUpgradedIterator) Next ¶
func (it *WrappedPacUpgradedIterator) 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.