Documentation ¶
Index ¶
- Variables
- type Interface
- type UVX
- type UVXConfig
- type UvxContractBinding
- type UvxContractBindingApproval
- type UvxContractBindingApprovalIterator
- type UvxContractBindingCaller
- func (_UvxContractBinding *UvxContractBindingCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_UvxContractBinding *UvxContractBindingCaller) BOTROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_UvxContractBinding *UvxContractBindingCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_UvxContractBinding *UvxContractBindingCaller) CONTRACTROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_UvxContractBinding *UvxContractBindingCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_UvxContractBinding *UvxContractBindingCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_UvxContractBinding *UvxContractBindingCaller) Freeze(opts *bind.CallOpts) (bool, error)
- func (_UvxContractBinding *UvxContractBindingCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_UvxContractBinding *UvxContractBindingCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
- func (_UvxContractBinding *UvxContractBindingCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
- func (_UvxContractBinding *UvxContractBindingCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_UvxContractBinding *UvxContractBindingCaller) LOANROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_UvxContractBinding *UvxContractBindingCaller) Name(opts *bind.CallOpts) (string, error)
- func (_UvxContractBinding *UvxContractBindingCaller) Outstanding(opts *bind.CallOpts) (*big.Int, error)
- func (_UvxContractBinding *UvxContractBindingCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_UvxContractBinding *UvxContractBindingCaller) Restrict(opts *bind.CallOpts) (bool, error)
- func (_UvxContractBinding *UvxContractBindingCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_UvxContractBinding *UvxContractBindingCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_UvxContractBinding *UvxContractBindingCaller) TOKENROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_UvxContractBinding *UvxContractBindingCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_UvxContractBinding *UvxContractBindingCaller) VERSION(opts *bind.CallOpts) (string, error)
- type UvxContractBindingCallerRaw
- type UvxContractBindingCallerSession
- func (_UvxContractBinding *UvxContractBindingCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_UvxContractBinding *UvxContractBindingCallerSession) BOTROLE() ([32]byte, error)
- func (_UvxContractBinding *UvxContractBindingCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_UvxContractBinding *UvxContractBindingCallerSession) CONTRACTROLE() ([32]byte, error)
- func (_UvxContractBinding *UvxContractBindingCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_UvxContractBinding *UvxContractBindingCallerSession) Decimals() (uint8, error)
- func (_UvxContractBinding *UvxContractBindingCallerSession) Freeze() (bool, error)
- func (_UvxContractBinding *UvxContractBindingCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_UvxContractBinding *UvxContractBindingCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_UvxContractBinding *UvxContractBindingCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_UvxContractBinding *UvxContractBindingCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_UvxContractBinding *UvxContractBindingCallerSession) LOANROLE() ([32]byte, error)
- func (_UvxContractBinding *UvxContractBindingCallerSession) Name() (string, error)
- func (_UvxContractBinding *UvxContractBindingCallerSession) Outstanding() (*big.Int, error)
- func (_UvxContractBinding *UvxContractBindingCallerSession) Owner() (common.Address, error)
- func (_UvxContractBinding *UvxContractBindingCallerSession) Restrict() (bool, error)
- func (_UvxContractBinding *UvxContractBindingCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_UvxContractBinding *UvxContractBindingCallerSession) Symbol() (string, error)
- func (_UvxContractBinding *UvxContractBindingCallerSession) TOKENROLE() ([32]byte, error)
- func (_UvxContractBinding *UvxContractBindingCallerSession) TotalSupply() (*big.Int, error)
- func (_UvxContractBinding *UvxContractBindingCallerSession) VERSION() (string, error)
- type UvxContractBindingFilterer
- func (_UvxContractBinding *UvxContractBindingFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*UvxContractBindingApprovalIterator, error)
- func (_UvxContractBinding *UvxContractBindingFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*UvxContractBindingRoleAdminChangedIterator, error)
- func (_UvxContractBinding *UvxContractBindingFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*UvxContractBindingRoleGrantedIterator, error)
- func (_UvxContractBinding *UvxContractBindingFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*UvxContractBindingRoleRevokedIterator, error)
- func (_UvxContractBinding *UvxContractBindingFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*UvxContractBindingTransferIterator, error)
- func (_UvxContractBinding *UvxContractBindingFilterer) ParseApproval(log types.Log) (*UvxContractBindingApproval, error)
- func (_UvxContractBinding *UvxContractBindingFilterer) ParseRoleAdminChanged(log types.Log) (*UvxContractBindingRoleAdminChanged, error)
- func (_UvxContractBinding *UvxContractBindingFilterer) ParseRoleGranted(log types.Log) (*UvxContractBindingRoleGranted, error)
- func (_UvxContractBinding *UvxContractBindingFilterer) ParseRoleRevoked(log types.Log) (*UvxContractBindingRoleRevoked, error)
- func (_UvxContractBinding *UvxContractBindingFilterer) ParseTransfer(log types.Log) (*UvxContractBindingTransfer, error)
- func (_UvxContractBinding *UvxContractBindingFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *UvxContractBindingApproval, ...) (event.Subscription, error)
- func (_UvxContractBinding *UvxContractBindingFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *UvxContractBindingRoleAdminChanged, ...) (event.Subscription, error)
- func (_UvxContractBinding *UvxContractBindingFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *UvxContractBindingRoleGranted, ...) (event.Subscription, error)
- func (_UvxContractBinding *UvxContractBindingFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *UvxContractBindingRoleRevoked, ...) (event.Subscription, error)
- func (_UvxContractBinding *UvxContractBindingFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *UvxContractBindingTransfer, ...) (event.Subscription, error)
- type UvxContractBindingRaw
- func (_UvxContractBinding *UvxContractBindingRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_UvxContractBinding *UvxContractBindingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type UvxContractBindingRoleAdminChanged
- type UvxContractBindingRoleAdminChangedIterator
- type UvxContractBindingRoleGranted
- type UvxContractBindingRoleGrantedIterator
- type UvxContractBindingRoleRevoked
- type UvxContractBindingRoleRevokedIterator
- type UvxContractBindingSession
- func (_UvxContractBinding *UvxContractBindingSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_UvxContractBinding *UvxContractBindingSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingSession) BOTROLE() ([32]byte, error)
- func (_UvxContractBinding *UvxContractBindingSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_UvxContractBinding *UvxContractBindingSession) Burn(tok common.Address, bal *big.Int) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingSession) CONTRACTROLE() ([32]byte, error)
- func (_UvxContractBinding *UvxContractBindingSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_UvxContractBinding *UvxContractBindingSession) Decimals() (uint8, error)
- func (_UvxContractBinding *UvxContractBindingSession) Freeze() (bool, error)
- func (_UvxContractBinding *UvxContractBindingSession) Fund(tok common.Address, bal *big.Int) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_UvxContractBinding *UvxContractBindingSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_UvxContractBinding *UvxContractBindingSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_UvxContractBinding *UvxContractBindingSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_UvxContractBinding *UvxContractBindingSession) LOANROLE() ([32]byte, error)
- func (_UvxContractBinding *UvxContractBindingSession) Lend(rec common.Address, tk1 common.Address, tk2 common.Address, bl1 *big.Int) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingSession) Mint(dst common.Address, bal *big.Int) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingSession) Name() (string, error)
- func (_UvxContractBinding *UvxContractBindingSession) Outstanding() (*big.Int, error)
- func (_UvxContractBinding *UvxContractBindingSession) Owner() (common.Address, error)
- func (_UvxContractBinding *UvxContractBindingSession) Receive() (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingSession) Restrict() (bool, error)
- func (_UvxContractBinding *UvxContractBindingSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingSession) Sell(tok common.Address, bal *big.Int) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_UvxContractBinding *UvxContractBindingSession) Symbol() (string, error)
- func (_UvxContractBinding *UvxContractBindingSession) TOKENROLE() ([32]byte, error)
- func (_UvxContractBinding *UvxContractBindingSession) TotalSupply() (*big.Int, error)
- func (_UvxContractBinding *UvxContractBindingSession) Transfer(to common.Address, bal *big.Int) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingSession) TransferFrom(src common.Address, dst common.Address, bal *big.Int) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingSession) UpdateFreeze() (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingSession) UpdateOwner(own common.Address) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingSession) UpdateRestrict() (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingSession) VERSION() (string, error)
- type UvxContractBindingTransactor
- func (_UvxContractBinding *UvxContractBindingTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactor) Burn(opts *bind.TransactOpts, tok common.Address, bal *big.Int) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactor) Fund(opts *bind.TransactOpts, tok common.Address, bal *big.Int) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactor) Lend(opts *bind.TransactOpts, rec common.Address, tk1 common.Address, ...) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactor) Mint(opts *bind.TransactOpts, dst common.Address, bal *big.Int) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactor) Sell(opts *bind.TransactOpts, tok common.Address, bal *big.Int) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactor) Transfer(opts *bind.TransactOpts, to common.Address, bal *big.Int) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, bal *big.Int) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactor) UpdateFreeze(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactor) UpdateOwner(opts *bind.TransactOpts, own common.Address) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactor) UpdateRestrict(opts *bind.TransactOpts) (*types.Transaction, error)
- type UvxContractBindingTransactorRaw
- type UvxContractBindingTransactorSession
- func (_UvxContractBinding *UvxContractBindingTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactorSession) Burn(tok common.Address, bal *big.Int) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactorSession) Fund(tok common.Address, bal *big.Int) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactorSession) Lend(rec common.Address, tk1 common.Address, tk2 common.Address, bl1 *big.Int) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactorSession) Mint(dst common.Address, bal *big.Int) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactorSession) Receive() (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactorSession) Sell(tok common.Address, bal *big.Int) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactorSession) Transfer(to common.Address, bal *big.Int) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactorSession) TransferFrom(src common.Address, dst common.Address, bal *big.Int) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactorSession) UpdateFreeze() (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactorSession) UpdateOwner(own common.Address) (*types.Transaction, error)
- func (_UvxContractBinding *UvxContractBindingTransactorSession) UpdateRestrict() (*types.Transaction, error)
- type UvxContractBindingTransfer
- type UvxContractBindingTransferIterator
Constants ¶
This section is empty.
Variables ¶
var BalanceConversionError = &tracer.Error{
Kind: "BalanceConversionError",
Desc: "The provided balance was found to be too high, which may indicate that some inputs were misconfigured.",
}
var UvxContractBindingABI = UvxContractBindingMetaData.ABI
UvxContractBindingABI is the input ABI used to generate the binding from. Deprecated: Use UvxContractBindingMetaData.ABI instead.
var UvxContractBindingMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"own\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tok\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AccessControlBadConfirmation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"neededRole\",\"type\":\"bytes32\"}],\"name\":\"AccessControlUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"why\",\"type\":\"string\"}],\"name\":\"Address\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"why\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"bal\",\"type\":\"uint256\"}],\"name\":\"Balance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSpender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"why\",\"type\":\"string\"}],\"name\":\"Process\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"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\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"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\"},{\"inputs\":[],\"name\":\"BOT_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CONTRACT_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LOAN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TOKEN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"VERSION\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"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\":\"value\",\"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\":\"address\",\"name\":\"tok\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"bal\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"freeze\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tok\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"bal\",\"type\":\"uint256\"}],\"name\":\"fund\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getRoleMember\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"rec\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tk1\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tk2\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"bl1\",\"type\":\"uint256\"}],\"name\":\"lend\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"dst\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"bal\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"outstanding\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"callerConfirmation\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"restrict\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tok\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"bal\",\"type\":\"uint256\"}],\"name\":\"sell\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"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\":\"bal\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"src\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"dst\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"bal\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updateFreeze\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"own\",\"type\":\"address\"}],\"name\":\"updateOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updateRestrict\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}
UvxContractBindingMetaData contains all meta data concerning the UvxContractBinding contract.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { // Balance returns the current token balance of the given address. Balance(add string) (*big.Int, error) // Client is the underlying go-ethereum client interacting with the configured // RPC. Client() *ethclient.Client // Mint generates a signed transaction for minting UVX tokens to the given // destination address, to the extend of the given balance amount. Note that // bal must be provided as a nominal value without additional decimal // conversion. The following example would mint 100 UVX tokens to 0x1234. // // Mint("0x1234", 100) // Mint(dst string, bal int64) (*types.Transaction, error) }
type UvxContractBinding ¶
type UvxContractBinding struct { UvxContractBindingCaller // Read-only binding to the contract UvxContractBindingTransactor // Write-only binding to the contract UvxContractBindingFilterer // Log filterer for contract events }
UvxContractBinding is an auto generated Go binding around an Ethereum contract.
func NewUvxContractBinding ¶
func NewUvxContractBinding(address common.Address, backend bind.ContractBackend) (*UvxContractBinding, error)
NewUvxContractBinding creates a new instance of UvxContractBinding, bound to a specific deployed contract.
type UvxContractBindingApproval ¶
type UvxContractBindingApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
UvxContractBindingApproval represents a Approval event raised by the UvxContractBinding contract.
type UvxContractBindingApprovalIterator ¶
type UvxContractBindingApprovalIterator struct { Event *UvxContractBindingApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UvxContractBindingApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the UvxContractBinding contract.
func (*UvxContractBindingApprovalIterator) Close ¶
func (it *UvxContractBindingApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UvxContractBindingApprovalIterator) Error ¶
func (it *UvxContractBindingApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UvxContractBindingApprovalIterator) Next ¶
func (it *UvxContractBindingApprovalIterator) 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 UvxContractBindingCaller ¶
type UvxContractBindingCaller struct {
// contains filtered or unexported fields
}
UvxContractBindingCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewUvxContractBindingCaller ¶
func NewUvxContractBindingCaller(address common.Address, caller bind.ContractCaller) (*UvxContractBindingCaller, error)
NewUvxContractBindingCaller creates a new read-only instance of UvxContractBinding, bound to a specific deployed contract.
func (*UvxContractBindingCaller) Allowance ¶
func (_UvxContractBinding *UvxContractBindingCaller) 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 (*UvxContractBindingCaller) BOTROLE ¶
func (_UvxContractBinding *UvxContractBindingCaller) BOTROLE(opts *bind.CallOpts) ([32]byte, error)
BOTROLE is a free data retrieval call binding the contract method 0xb1503774.
Solidity: function BOT_ROLE() view returns(bytes32)
func (*UvxContractBindingCaller) BalanceOf ¶
func (_UvxContractBinding *UvxContractBindingCaller) 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 (*UvxContractBindingCaller) CONTRACTROLE ¶
func (_UvxContractBinding *UvxContractBindingCaller) CONTRACTROLE(opts *bind.CallOpts) ([32]byte, error)
CONTRACTROLE is a free data retrieval call binding the contract method 0x03fe46ab.
Solidity: function CONTRACT_ROLE() view returns(bytes32)
func (*UvxContractBindingCaller) DEFAULTADMINROLE ¶
func (_UvxContractBinding *UvxContractBindingCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*UvxContractBindingCaller) Decimals ¶
func (_UvxContractBinding *UvxContractBindingCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*UvxContractBindingCaller) Freeze ¶
func (_UvxContractBinding *UvxContractBindingCaller) Freeze(opts *bind.CallOpts) (bool, error)
Freeze is a free data retrieval call binding the contract method 0x62a5af3b.
Solidity: function freeze() view returns(bool)
func (*UvxContractBindingCaller) GetRoleAdmin ¶
func (_UvxContractBinding *UvxContractBindingCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*UvxContractBindingCaller) GetRoleMember ¶
func (_UvxContractBinding *UvxContractBindingCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*UvxContractBindingCaller) GetRoleMemberCount ¶
func (_UvxContractBinding *UvxContractBindingCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*UvxContractBindingCaller) HasRole ¶
func (_UvxContractBinding *UvxContractBindingCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*UvxContractBindingCaller) LOANROLE ¶
func (_UvxContractBinding *UvxContractBindingCaller) LOANROLE(opts *bind.CallOpts) ([32]byte, error)
LOANROLE is a free data retrieval call binding the contract method 0xec4bbb4d.
Solidity: function LOAN_ROLE() view returns(bytes32)
func (*UvxContractBindingCaller) Name ¶
func (_UvxContractBinding *UvxContractBindingCaller) 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 (*UvxContractBindingCaller) Outstanding ¶
func (_UvxContractBinding *UvxContractBindingCaller) Outstanding(opts *bind.CallOpts) (*big.Int, error)
Outstanding is a free data retrieval call binding the contract method 0xe50d33e3.
Solidity: function outstanding() view returns(uint256)
func (*UvxContractBindingCaller) Owner ¶
func (_UvxContractBinding *UvxContractBindingCaller) 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)
func (*UvxContractBindingCaller) Restrict ¶
func (_UvxContractBinding *UvxContractBindingCaller) Restrict(opts *bind.CallOpts) (bool, error)
Restrict is a free data retrieval call binding the contract method 0x9649d98b.
Solidity: function restrict() view returns(bool)
func (*UvxContractBindingCaller) SupportsInterface ¶
func (_UvxContractBinding *UvxContractBindingCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*UvxContractBindingCaller) Symbol ¶
func (_UvxContractBinding *UvxContractBindingCaller) 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 (*UvxContractBindingCaller) TOKENROLE ¶
func (_UvxContractBinding *UvxContractBindingCaller) TOKENROLE(opts *bind.CallOpts) ([32]byte, error)
TOKENROLE is a free data retrieval call binding the contract method 0x8301057b.
Solidity: function TOKEN_ROLE() view returns(bytes32)
func (*UvxContractBindingCaller) TotalSupply ¶
func (_UvxContractBinding *UvxContractBindingCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type UvxContractBindingCallerRaw ¶
type UvxContractBindingCallerRaw struct {
Contract *UvxContractBindingCaller // Generic read-only contract binding to access the raw methods on
}
UvxContractBindingCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*UvxContractBindingCallerRaw) Call ¶
func (_UvxContractBinding *UvxContractBindingCallerRaw) 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 UvxContractBindingCallerSession ¶
type UvxContractBindingCallerSession struct { Contract *UvxContractBindingCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
UvxContractBindingCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*UvxContractBindingCallerSession) Allowance ¶
func (_UvxContractBinding *UvxContractBindingCallerSession) 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 (*UvxContractBindingCallerSession) BOTROLE ¶
func (_UvxContractBinding *UvxContractBindingCallerSession) BOTROLE() ([32]byte, error)
BOTROLE is a free data retrieval call binding the contract method 0xb1503774.
Solidity: function BOT_ROLE() view returns(bytes32)
func (*UvxContractBindingCallerSession) BalanceOf ¶
func (_UvxContractBinding *UvxContractBindingCallerSession) BalanceOf(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 (*UvxContractBindingCallerSession) CONTRACTROLE ¶
func (_UvxContractBinding *UvxContractBindingCallerSession) CONTRACTROLE() ([32]byte, error)
CONTRACTROLE is a free data retrieval call binding the contract method 0x03fe46ab.
Solidity: function CONTRACT_ROLE() view returns(bytes32)
func (*UvxContractBindingCallerSession) DEFAULTADMINROLE ¶
func (_UvxContractBinding *UvxContractBindingCallerSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*UvxContractBindingCallerSession) Decimals ¶
func (_UvxContractBinding *UvxContractBindingCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*UvxContractBindingCallerSession) Freeze ¶
func (_UvxContractBinding *UvxContractBindingCallerSession) Freeze() (bool, error)
Freeze is a free data retrieval call binding the contract method 0x62a5af3b.
Solidity: function freeze() view returns(bool)
func (*UvxContractBindingCallerSession) GetRoleAdmin ¶
func (_UvxContractBinding *UvxContractBindingCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*UvxContractBindingCallerSession) GetRoleMember ¶
func (_UvxContractBinding *UvxContractBindingCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*UvxContractBindingCallerSession) GetRoleMemberCount ¶
func (_UvxContractBinding *UvxContractBindingCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*UvxContractBindingCallerSession) HasRole ¶
func (_UvxContractBinding *UvxContractBindingCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*UvxContractBindingCallerSession) LOANROLE ¶
func (_UvxContractBinding *UvxContractBindingCallerSession) LOANROLE() ([32]byte, error)
LOANROLE is a free data retrieval call binding the contract method 0xec4bbb4d.
Solidity: function LOAN_ROLE() view returns(bytes32)
func (*UvxContractBindingCallerSession) Name ¶
func (_UvxContractBinding *UvxContractBindingCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*UvxContractBindingCallerSession) Outstanding ¶
func (_UvxContractBinding *UvxContractBindingCallerSession) Outstanding() (*big.Int, error)
Outstanding is a free data retrieval call binding the contract method 0xe50d33e3.
Solidity: function outstanding() view returns(uint256)
func (*UvxContractBindingCallerSession) Owner ¶
func (_UvxContractBinding *UvxContractBindingCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*UvxContractBindingCallerSession) Restrict ¶
func (_UvxContractBinding *UvxContractBindingCallerSession) Restrict() (bool, error)
Restrict is a free data retrieval call binding the contract method 0x9649d98b.
Solidity: function restrict() view returns(bool)
func (*UvxContractBindingCallerSession) SupportsInterface ¶
func (_UvxContractBinding *UvxContractBindingCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*UvxContractBindingCallerSession) Symbol ¶
func (_UvxContractBinding *UvxContractBindingCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*UvxContractBindingCallerSession) TOKENROLE ¶
func (_UvxContractBinding *UvxContractBindingCallerSession) TOKENROLE() ([32]byte, error)
TOKENROLE is a free data retrieval call binding the contract method 0x8301057b.
Solidity: function TOKEN_ROLE() view returns(bytes32)
func (*UvxContractBindingCallerSession) TotalSupply ¶
func (_UvxContractBinding *UvxContractBindingCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*UvxContractBindingCallerSession) VERSION ¶
func (_UvxContractBinding *UvxContractBindingCallerSession) VERSION() (string, error)
VERSION is a free data retrieval call binding the contract method 0xffa1ad74.
Solidity: function VERSION() view returns(string)
type UvxContractBindingFilterer ¶
type UvxContractBindingFilterer struct {
// contains filtered or unexported fields
}
UvxContractBindingFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewUvxContractBindingFilterer ¶
func NewUvxContractBindingFilterer(address common.Address, filterer bind.ContractFilterer) (*UvxContractBindingFilterer, error)
NewUvxContractBindingFilterer creates a new log filterer instance of UvxContractBinding, bound to a specific deployed contract.
func (*UvxContractBindingFilterer) FilterApproval ¶
func (_UvxContractBinding *UvxContractBindingFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*UvxContractBindingApprovalIterator, 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 (*UvxContractBindingFilterer) FilterRoleAdminChanged ¶
func (_UvxContractBinding *UvxContractBindingFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*UvxContractBindingRoleAdminChangedIterator, error)
FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*UvxContractBindingFilterer) FilterRoleGranted ¶
func (_UvxContractBinding *UvxContractBindingFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*UvxContractBindingRoleGrantedIterator, error)
FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*UvxContractBindingFilterer) FilterRoleRevoked ¶
func (_UvxContractBinding *UvxContractBindingFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*UvxContractBindingRoleRevokedIterator, error)
FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*UvxContractBindingFilterer) FilterTransfer ¶
func (_UvxContractBinding *UvxContractBindingFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*UvxContractBindingTransferIterator, 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 (*UvxContractBindingFilterer) ParseApproval ¶
func (_UvxContractBinding *UvxContractBindingFilterer) ParseApproval(log types.Log) (*UvxContractBindingApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*UvxContractBindingFilterer) ParseRoleAdminChanged ¶
func (_UvxContractBinding *UvxContractBindingFilterer) ParseRoleAdminChanged(log types.Log) (*UvxContractBindingRoleAdminChanged, error)
ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*UvxContractBindingFilterer) ParseRoleGranted ¶
func (_UvxContractBinding *UvxContractBindingFilterer) ParseRoleGranted(log types.Log) (*UvxContractBindingRoleGranted, error)
ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*UvxContractBindingFilterer) ParseRoleRevoked ¶
func (_UvxContractBinding *UvxContractBindingFilterer) ParseRoleRevoked(log types.Log) (*UvxContractBindingRoleRevoked, error)
ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*UvxContractBindingFilterer) ParseTransfer ¶
func (_UvxContractBinding *UvxContractBindingFilterer) ParseTransfer(log types.Log) (*UvxContractBindingTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*UvxContractBindingFilterer) WatchApproval ¶
func (_UvxContractBinding *UvxContractBindingFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *UvxContractBindingApproval, 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 (*UvxContractBindingFilterer) WatchRoleAdminChanged ¶
func (_UvxContractBinding *UvxContractBindingFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *UvxContractBindingRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)
WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*UvxContractBindingFilterer) WatchRoleGranted ¶
func (_UvxContractBinding *UvxContractBindingFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *UvxContractBindingRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*UvxContractBindingFilterer) WatchRoleRevoked ¶
func (_UvxContractBinding *UvxContractBindingFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *UvxContractBindingRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*UvxContractBindingFilterer) WatchTransfer ¶
func (_UvxContractBinding *UvxContractBindingFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *UvxContractBindingTransfer, 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)
type UvxContractBindingRaw ¶
type UvxContractBindingRaw struct {
Contract *UvxContractBinding // Generic contract binding to access the raw methods on
}
UvxContractBindingRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*UvxContractBindingRaw) Call ¶
func (_UvxContractBinding *UvxContractBindingRaw) 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 (*UvxContractBindingRaw) Transact ¶
func (_UvxContractBinding *UvxContractBindingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UvxContractBindingRaw) Transfer ¶
func (_UvxContractBinding *UvxContractBindingRaw) 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 UvxContractBindingRoleAdminChanged ¶
type UvxContractBindingRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
UvxContractBindingRoleAdminChanged represents a RoleAdminChanged event raised by the UvxContractBinding contract.
type UvxContractBindingRoleAdminChangedIterator ¶
type UvxContractBindingRoleAdminChangedIterator struct { Event *UvxContractBindingRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UvxContractBindingRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the UvxContractBinding contract.
func (*UvxContractBindingRoleAdminChangedIterator) Close ¶
func (it *UvxContractBindingRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UvxContractBindingRoleAdminChangedIterator) Error ¶
func (it *UvxContractBindingRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UvxContractBindingRoleAdminChangedIterator) Next ¶
func (it *UvxContractBindingRoleAdminChangedIterator) 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 UvxContractBindingRoleGranted ¶
type UvxContractBindingRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
UvxContractBindingRoleGranted represents a RoleGranted event raised by the UvxContractBinding contract.
type UvxContractBindingRoleGrantedIterator ¶
type UvxContractBindingRoleGrantedIterator struct { Event *UvxContractBindingRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UvxContractBindingRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the UvxContractBinding contract.
func (*UvxContractBindingRoleGrantedIterator) Close ¶
func (it *UvxContractBindingRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UvxContractBindingRoleGrantedIterator) Error ¶
func (it *UvxContractBindingRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UvxContractBindingRoleGrantedIterator) Next ¶
func (it *UvxContractBindingRoleGrantedIterator) 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 UvxContractBindingRoleRevoked ¶
type UvxContractBindingRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
UvxContractBindingRoleRevoked represents a RoleRevoked event raised by the UvxContractBinding contract.
type UvxContractBindingRoleRevokedIterator ¶
type UvxContractBindingRoleRevokedIterator struct { Event *UvxContractBindingRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UvxContractBindingRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the UvxContractBinding contract.
func (*UvxContractBindingRoleRevokedIterator) Close ¶
func (it *UvxContractBindingRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UvxContractBindingRoleRevokedIterator) Error ¶
func (it *UvxContractBindingRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UvxContractBindingRoleRevokedIterator) Next ¶
func (it *UvxContractBindingRoleRevokedIterator) 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 UvxContractBindingSession ¶
type UvxContractBindingSession struct { Contract *UvxContractBinding // 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 }
UvxContractBindingSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*UvxContractBindingSession) Allowance ¶
func (_UvxContractBinding *UvxContractBindingSession) 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 (*UvxContractBindingSession) Approve ¶
func (_UvxContractBinding *UvxContractBindingSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*UvxContractBindingSession) BOTROLE ¶
func (_UvxContractBinding *UvxContractBindingSession) BOTROLE() ([32]byte, error)
BOTROLE is a free data retrieval call binding the contract method 0xb1503774.
Solidity: function BOT_ROLE() view returns(bytes32)
func (*UvxContractBindingSession) BalanceOf ¶
func (_UvxContractBinding *UvxContractBindingSession) BalanceOf(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 (*UvxContractBindingSession) Burn ¶
func (_UvxContractBinding *UvxContractBindingSession) Burn(tok common.Address, bal *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address tok, uint256 bal) returns()
func (*UvxContractBindingSession) CONTRACTROLE ¶
func (_UvxContractBinding *UvxContractBindingSession) CONTRACTROLE() ([32]byte, error)
CONTRACTROLE is a free data retrieval call binding the contract method 0x03fe46ab.
Solidity: function CONTRACT_ROLE() view returns(bytes32)
func (*UvxContractBindingSession) DEFAULTADMINROLE ¶
func (_UvxContractBinding *UvxContractBindingSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*UvxContractBindingSession) Decimals ¶
func (_UvxContractBinding *UvxContractBindingSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*UvxContractBindingSession) Freeze ¶
func (_UvxContractBinding *UvxContractBindingSession) Freeze() (bool, error)
Freeze is a free data retrieval call binding the contract method 0x62a5af3b.
Solidity: function freeze() view returns(bool)
func (*UvxContractBindingSession) Fund ¶
func (_UvxContractBinding *UvxContractBindingSession) Fund(tok common.Address, bal *big.Int) (*types.Transaction, error)
Fund is a paid mutator transaction binding the contract method 0x7b1837de.
Solidity: function fund(address tok, uint256 bal) returns()
func (*UvxContractBindingSession) GetRoleAdmin ¶
func (_UvxContractBinding *UvxContractBindingSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*UvxContractBindingSession) GetRoleMember ¶
func (_UvxContractBinding *UvxContractBindingSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*UvxContractBindingSession) GetRoleMemberCount ¶
func (_UvxContractBinding *UvxContractBindingSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*UvxContractBindingSession) GrantRole ¶
func (_UvxContractBinding *UvxContractBindingSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*UvxContractBindingSession) HasRole ¶
func (_UvxContractBinding *UvxContractBindingSession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*UvxContractBindingSession) LOANROLE ¶
func (_UvxContractBinding *UvxContractBindingSession) LOANROLE() ([32]byte, error)
LOANROLE is a free data retrieval call binding the contract method 0xec4bbb4d.
Solidity: function LOAN_ROLE() view returns(bytes32)
func (*UvxContractBindingSession) Lend ¶
func (_UvxContractBinding *UvxContractBindingSession) Lend(rec common.Address, tk1 common.Address, tk2 common.Address, bl1 *big.Int) (*types.Transaction, error)
Lend is a paid mutator transaction binding the contract method 0xecee1bf7.
Solidity: function lend(address rec, address tk1, address tk2, uint256 bl1) returns()
func (*UvxContractBindingSession) Mint ¶
func (_UvxContractBinding *UvxContractBindingSession) Mint(dst common.Address, bal *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address dst, uint256 bal) returns()
func (*UvxContractBindingSession) Name ¶
func (_UvxContractBinding *UvxContractBindingSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*UvxContractBindingSession) Outstanding ¶
func (_UvxContractBinding *UvxContractBindingSession) Outstanding() (*big.Int, error)
Outstanding is a free data retrieval call binding the contract method 0xe50d33e3.
Solidity: function outstanding() view returns(uint256)
func (*UvxContractBindingSession) Owner ¶
func (_UvxContractBinding *UvxContractBindingSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*UvxContractBindingSession) Receive ¶
func (_UvxContractBinding *UvxContractBindingSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*UvxContractBindingSession) RenounceRole ¶
func (_UvxContractBinding *UvxContractBindingSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()
func (*UvxContractBindingSession) Restrict ¶
func (_UvxContractBinding *UvxContractBindingSession) Restrict() (bool, error)
Restrict is a free data retrieval call binding the contract method 0x9649d98b.
Solidity: function restrict() view returns(bool)
func (*UvxContractBindingSession) RevokeRole ¶
func (_UvxContractBinding *UvxContractBindingSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*UvxContractBindingSession) Sell ¶
func (_UvxContractBinding *UvxContractBindingSession) Sell(tok common.Address, bal *big.Int) (*types.Transaction, error)
Sell is a paid mutator transaction binding the contract method 0x6c197ff5.
Solidity: function sell(address tok, uint256 bal) returns()
func (*UvxContractBindingSession) SupportsInterface ¶
func (_UvxContractBinding *UvxContractBindingSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*UvxContractBindingSession) Symbol ¶
func (_UvxContractBinding *UvxContractBindingSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*UvxContractBindingSession) TOKENROLE ¶
func (_UvxContractBinding *UvxContractBindingSession) TOKENROLE() ([32]byte, error)
TOKENROLE is a free data retrieval call binding the contract method 0x8301057b.
Solidity: function TOKEN_ROLE() view returns(bytes32)
func (*UvxContractBindingSession) TotalSupply ¶
func (_UvxContractBinding *UvxContractBindingSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*UvxContractBindingSession) Transfer ¶
func (_UvxContractBinding *UvxContractBindingSession) Transfer(to common.Address, bal *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 bal) returns(bool)
func (*UvxContractBindingSession) TransferFrom ¶
func (_UvxContractBinding *UvxContractBindingSession) TransferFrom(src common.Address, dst common.Address, bal *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address src, address dst, uint256 bal) returns(bool)
func (*UvxContractBindingSession) UpdateFreeze ¶
func (_UvxContractBinding *UvxContractBindingSession) UpdateFreeze() (*types.Transaction, error)
UpdateFreeze is a paid mutator transaction binding the contract method 0xb49d1067.
Solidity: function updateFreeze() returns()
func (*UvxContractBindingSession) UpdateOwner ¶
func (_UvxContractBinding *UvxContractBindingSession) UpdateOwner(own common.Address) (*types.Transaction, error)
UpdateOwner is a paid mutator transaction binding the contract method 0x880cdc31.
Solidity: function updateOwner(address own) returns()
func (*UvxContractBindingSession) UpdateRestrict ¶
func (_UvxContractBinding *UvxContractBindingSession) UpdateRestrict() (*types.Transaction, error)
UpdateRestrict is a paid mutator transaction binding the contract method 0x3ccf50e3.
Solidity: function updateRestrict() returns()
func (*UvxContractBindingSession) VERSION ¶
func (_UvxContractBinding *UvxContractBindingSession) VERSION() (string, error)
VERSION is a free data retrieval call binding the contract method 0xffa1ad74.
Solidity: function VERSION() view returns(string)
type UvxContractBindingTransactor ¶
type UvxContractBindingTransactor struct {
// contains filtered or unexported fields
}
UvxContractBindingTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewUvxContractBindingTransactor ¶
func NewUvxContractBindingTransactor(address common.Address, transactor bind.ContractTransactor) (*UvxContractBindingTransactor, error)
NewUvxContractBindingTransactor creates a new write-only instance of UvxContractBinding, bound to a specific deployed contract.
func (*UvxContractBindingTransactor) Approve ¶
func (_UvxContractBinding *UvxContractBindingTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*UvxContractBindingTransactor) Burn ¶
func (_UvxContractBinding *UvxContractBindingTransactor) Burn(opts *bind.TransactOpts, tok common.Address, bal *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address tok, uint256 bal) returns()
func (*UvxContractBindingTransactor) Fund ¶
func (_UvxContractBinding *UvxContractBindingTransactor) Fund(opts *bind.TransactOpts, tok common.Address, bal *big.Int) (*types.Transaction, error)
Fund is a paid mutator transaction binding the contract method 0x7b1837de.
Solidity: function fund(address tok, uint256 bal) returns()
func (*UvxContractBindingTransactor) GrantRole ¶
func (_UvxContractBinding *UvxContractBindingTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*UvxContractBindingTransactor) Lend ¶
func (_UvxContractBinding *UvxContractBindingTransactor) Lend(opts *bind.TransactOpts, rec common.Address, tk1 common.Address, tk2 common.Address, bl1 *big.Int) (*types.Transaction, error)
Lend is a paid mutator transaction binding the contract method 0xecee1bf7.
Solidity: function lend(address rec, address tk1, address tk2, uint256 bl1) returns()
func (*UvxContractBindingTransactor) Mint ¶
func (_UvxContractBinding *UvxContractBindingTransactor) Mint(opts *bind.TransactOpts, dst common.Address, bal *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address dst, uint256 bal) returns()
func (*UvxContractBindingTransactor) Receive ¶
func (_UvxContractBinding *UvxContractBindingTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*UvxContractBindingTransactor) RenounceRole ¶
func (_UvxContractBinding *UvxContractBindingTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()
func (*UvxContractBindingTransactor) RevokeRole ¶
func (_UvxContractBinding *UvxContractBindingTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*UvxContractBindingTransactor) Sell ¶
func (_UvxContractBinding *UvxContractBindingTransactor) Sell(opts *bind.TransactOpts, tok common.Address, bal *big.Int) (*types.Transaction, error)
Sell is a paid mutator transaction binding the contract method 0x6c197ff5.
Solidity: function sell(address tok, uint256 bal) returns()
func (*UvxContractBindingTransactor) Transfer ¶
func (_UvxContractBinding *UvxContractBindingTransactor) Transfer(opts *bind.TransactOpts, to common.Address, bal *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 bal) returns(bool)
func (*UvxContractBindingTransactor) TransferFrom ¶
func (_UvxContractBinding *UvxContractBindingTransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, bal *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address src, address dst, uint256 bal) returns(bool)
func (*UvxContractBindingTransactor) UpdateFreeze ¶
func (_UvxContractBinding *UvxContractBindingTransactor) UpdateFreeze(opts *bind.TransactOpts) (*types.Transaction, error)
UpdateFreeze is a paid mutator transaction binding the contract method 0xb49d1067.
Solidity: function updateFreeze() returns()
func (*UvxContractBindingTransactor) UpdateOwner ¶
func (_UvxContractBinding *UvxContractBindingTransactor) UpdateOwner(opts *bind.TransactOpts, own common.Address) (*types.Transaction, error)
UpdateOwner is a paid mutator transaction binding the contract method 0x880cdc31.
Solidity: function updateOwner(address own) returns()
func (*UvxContractBindingTransactor) UpdateRestrict ¶
func (_UvxContractBinding *UvxContractBindingTransactor) UpdateRestrict(opts *bind.TransactOpts) (*types.Transaction, error)
UpdateRestrict is a paid mutator transaction binding the contract method 0x3ccf50e3.
Solidity: function updateRestrict() returns()
type UvxContractBindingTransactorRaw ¶
type UvxContractBindingTransactorRaw struct {
Contract *UvxContractBindingTransactor // Generic write-only contract binding to access the raw methods on
}
UvxContractBindingTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*UvxContractBindingTransactorRaw) Transact ¶
func (_UvxContractBinding *UvxContractBindingTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UvxContractBindingTransactorRaw) Transfer ¶
func (_UvxContractBinding *UvxContractBindingTransactorRaw) 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 UvxContractBindingTransactorSession ¶
type UvxContractBindingTransactorSession struct { Contract *UvxContractBindingTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
UvxContractBindingTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*UvxContractBindingTransactorSession) Approve ¶
func (_UvxContractBinding *UvxContractBindingTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*UvxContractBindingTransactorSession) Burn ¶
func (_UvxContractBinding *UvxContractBindingTransactorSession) Burn(tok common.Address, bal *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address tok, uint256 bal) returns()
func (*UvxContractBindingTransactorSession) Fund ¶
func (_UvxContractBinding *UvxContractBindingTransactorSession) Fund(tok common.Address, bal *big.Int) (*types.Transaction, error)
Fund is a paid mutator transaction binding the contract method 0x7b1837de.
Solidity: function fund(address tok, uint256 bal) returns()
func (*UvxContractBindingTransactorSession) GrantRole ¶
func (_UvxContractBinding *UvxContractBindingTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*UvxContractBindingTransactorSession) Lend ¶
func (_UvxContractBinding *UvxContractBindingTransactorSession) Lend(rec common.Address, tk1 common.Address, tk2 common.Address, bl1 *big.Int) (*types.Transaction, error)
Lend is a paid mutator transaction binding the contract method 0xecee1bf7.
Solidity: function lend(address rec, address tk1, address tk2, uint256 bl1) returns()
func (*UvxContractBindingTransactorSession) Mint ¶
func (_UvxContractBinding *UvxContractBindingTransactorSession) Mint(dst common.Address, bal *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address dst, uint256 bal) returns()
func (*UvxContractBindingTransactorSession) Receive ¶
func (_UvxContractBinding *UvxContractBindingTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*UvxContractBindingTransactorSession) RenounceRole ¶
func (_UvxContractBinding *UvxContractBindingTransactorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()
func (*UvxContractBindingTransactorSession) RevokeRole ¶
func (_UvxContractBinding *UvxContractBindingTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*UvxContractBindingTransactorSession) Sell ¶
func (_UvxContractBinding *UvxContractBindingTransactorSession) Sell(tok common.Address, bal *big.Int) (*types.Transaction, error)
Sell is a paid mutator transaction binding the contract method 0x6c197ff5.
Solidity: function sell(address tok, uint256 bal) returns()
func (*UvxContractBindingTransactorSession) Transfer ¶
func (_UvxContractBinding *UvxContractBindingTransactorSession) Transfer(to common.Address, bal *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 bal) returns(bool)
func (*UvxContractBindingTransactorSession) TransferFrom ¶
func (_UvxContractBinding *UvxContractBindingTransactorSession) TransferFrom(src common.Address, dst common.Address, bal *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address src, address dst, uint256 bal) returns(bool)
func (*UvxContractBindingTransactorSession) UpdateFreeze ¶
func (_UvxContractBinding *UvxContractBindingTransactorSession) UpdateFreeze() (*types.Transaction, error)
UpdateFreeze is a paid mutator transaction binding the contract method 0xb49d1067.
Solidity: function updateFreeze() returns()
func (*UvxContractBindingTransactorSession) UpdateOwner ¶
func (_UvxContractBinding *UvxContractBindingTransactorSession) UpdateOwner(own common.Address) (*types.Transaction, error)
UpdateOwner is a paid mutator transaction binding the contract method 0x880cdc31.
Solidity: function updateOwner(address own) returns()
func (*UvxContractBindingTransactorSession) UpdateRestrict ¶
func (_UvxContractBinding *UvxContractBindingTransactorSession) UpdateRestrict() (*types.Transaction, error)
UpdateRestrict is a paid mutator transaction binding the contract method 0x3ccf50e3.
Solidity: function updateRestrict() returns()
type UvxContractBindingTransfer ¶
type UvxContractBindingTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
UvxContractBindingTransfer represents a Transfer event raised by the UvxContractBinding contract.
type UvxContractBindingTransferIterator ¶
type UvxContractBindingTransferIterator struct { Event *UvxContractBindingTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UvxContractBindingTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the UvxContractBinding contract.
func (*UvxContractBindingTransferIterator) Close ¶
func (it *UvxContractBindingTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UvxContractBindingTransferIterator) Error ¶
func (it *UvxContractBindingTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UvxContractBindingTransferIterator) Next ¶
func (it *UvxContractBindingTransferIterator) 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.