abi

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AxieABI = AxieMetaData.ABI

AxieABI is the input ABI used to generate the binding from. Deprecated: Use AxieMetaData.ABI instead.

View Source
var AxieMetaData = &bind.MetaData{
	ABI: "[{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_sireId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_matronId\",\"type\":\"uint256\"}],\"name\":\"breedAxies\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

AxieMetaData contains all meta data concerning the Axie contract.

View Source
var MarketplaceABI = MarketplaceMetaData.ABI

MarketplaceABI is the input ABI used to generate the binding from. Deprecated: Use MarketplaceMetaData.ABI instead.

View Source
var MarketplaceMetaData = &bind.MetaData{
	ABI: "[{\"constant\":false,\"inputs\":[{\"name\":\"_listingIndex\",\"type\":\"uint256\"}],\"name\":\"cancelAuction\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_tokenTypes\",\"type\":\"uint8\"},{\"name\":\"_tokenAddresses\",\"type\":\"address\"},{\"name\":\"_tokenNumbers\",\"type\":\"uint256\"},{\"name\":\"_startingPrices\",\"type\":\"uint256\"},{\"name\":\"_endingPrices\",\"type\":\"uint256\"},{\"name\":\"_exchangeTokens\",\"type\":\"address\"},{\"name\":\"_durations\",\"type\":\"uint256\"}],\"name\":\"createAuction\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

MarketplaceMetaData contains all meta data concerning the Marketplace contract.

View Source
var PortalABI = PortalMetaData.ABI

PortalABI is the input ABI used to generate the binding from. Deprecated: Use PortalMetaData.ABI instead.

View Source
var PortalMetaData = &bind.MetaData{
	ABI: "[{\"constant\":false,\"inputs\":[],\"name\":\"\",\"outputs\":null,\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"nonce\",\"type\":\"uint256\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"owner\",\"type\":\"address\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"assets\",\"type\":\"tuple[]\",\"components\":[{\"internal_type\":\"\",\"name\":\"erc\",\"type\":\"uint8\"},{\"internal_type\":\"\",\"name\":\"addr\",\"type\":\"address\"},{\"internal_type\":\"\",\"name\":\"id\",\"type\":\"uint256\"},{\"internal_type\":\"\",\"name\":\"quantity\",\"type\":\"uint256\"}],\"indexed\":false}],\"name\":\"Deposited\",\"outputs\":null,\"payable\":false,\"stateMutability\":\"\",\"type\":\"event\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false}],\"name\":\"Initialized\",\"outputs\":null,\"payable\":false,\"stateMutability\":\"\",\"type\":\"event\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"timeWindow\",\"type\":\"uint256\",\"indexed\":false}],\"name\":\"MinWithdrawalPeriodUpdated\",\"outputs\":null,\"payable\":false,\"stateMutability\":\"\",\"type\":\"event\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"account\",\"type\":\"address\",\"indexed\":false}],\"name\":\"Paused\",\"outputs\":null,\"payable\":false,\"stateMutability\":\"\",\"type\":\"event\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"usdc\",\"type\":\"address\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"withdrawalFeeInUsdc\",\"type\":\"uint256\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"paymentToken\",\"type\":\"address\",\"indexed\":false}],\"name\":\"PaymentUpdated\",\"outputs\":null,\"payable\":false,\"stateMutability\":\"\",\"type\":\"event\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true},{\"internal_type\":\"\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\",\"indexed\":true},{\"internal_type\":\"\",\"name\":\"newAdminRole\",\"type\":\"bytes32\",\"indexed\":true}],\"name\":\"RoleAdminChanged\",\"outputs\":null,\"payable\":false,\"stateMutability\":\"\",\"type\":\"event\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true},{\"internal_type\":\"\",\"name\":\"account\",\"type\":\"address\",\"indexed\":true},{\"internal_type\":\"\",\"name\":\"sender\",\"type\":\"address\",\"indexed\":true}],\"name\":\"RoleGranted\",\"outputs\":null,\"payable\":false,\"stateMutability\":\"\",\"type\":\"event\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true},{\"internal_type\":\"\",\"name\":\"account\",\"type\":\"address\",\"indexed\":true},{\"internal_type\":\"\",\"name\":\"sender\",\"type\":\"address\",\"indexed\":true}],\"name\":\"RoleRevoked\",\"outputs\":null,\"payable\":false,\"stateMutability\":\"\",\"type\":\"event\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"routerContract\",\"type\":\"address\",\"indexed\":false}],\"name\":\"RouterContractUpdated\",\"outputs\":null,\"payable\":false,\"stateMutability\":\"\",\"type\":\"event\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"address\",\"indexed\":false}],\"name\":\"TreasuryUpdated\",\"outputs\":null,\"payable\":false,\"stateMutability\":\"\",\"type\":\"event\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"account\",\"type\":\"address\",\"indexed\":false}],\"name\":\"Unpaused\",\"outputs\":null,\"payable\":false,\"stateMutability\":\"\",\"type\":\"event\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"nonce\",\"type\":\"uint256\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"owner\",\"type\":\"address\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"assets\",\"type\":\"tuple[]\",\"components\":[{\"internal_type\":\"\",\"name\":\"erc\",\"type\":\"uint8\"},{\"internal_type\":\"\",\"name\":\"addr\",\"type\":\"address\"},{\"internal_type\":\"\",\"name\":\"id\",\"type\":\"uint256\"},{\"internal_type\":\"\",\"name\":\"quantity\",\"type\":\"uint256\"}],\"indexed\":false},{\"internal_type\":\"\",\"name\":\"extraData\",\"type\":\"bytes\",\"indexed\":false}],\"name\":\"Withdrew\",\"outputs\":null,\"payable\":false,\"stateMutability\":\"\",\"type\":\"event\",\"anonymous\":false},{\"constant\":false,\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"bytes32\",\"indexed\":false}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"bytes32\",\"indexed\":false}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[],\"name\":\"PORTAL_OPERATOR\",\"outputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"bytes32\",\"indexed\":false}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"_assets\",\"type\":\"tuple[]\",\"components\":[{\"internal_type\":\"\",\"name\":\"erc\",\"type\":\"uint8\"},{\"internal_type\":\"\",\"name\":\"addr\",\"type\":\"address\"},{\"internal_type\":\"\",\"name\":\"id\",\"type\":\"uint256\"},{\"internal_type\":\"\",\"name\":\"quantity\",\"type\":\"uint256\"}],\"indexed\":false},{\"internal_type\":\"\",\"name\":\"_paymentToken\",\"type\":\"address\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"_path\",\"type\":\"address[]\",\"indexed\":false}],\"name\":\"calculateWithdrawalFee\",\"outputs\":[{\"internal_type\":\"\",\"name\":\"_paymentAmount\",\"type\":\"uint256\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"_paymentAmountInUsdc\",\"type\":\"uint256\",\"indexed\":false}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"_assets\",\"type\":\"tuple[]\",\"components\":[{\"internal_type\":\"\",\"name\":\"erc\",\"type\":\"uint8\"},{\"internal_type\":\"\",\"name\":\"addr\",\"type\":\"address\"},{\"internal_type\":\"\",\"name\":\"id\",\"type\":\"uint256\"},{\"internal_type\":\"\",\"name\":\"quantity\",\"type\":\"uint256\"}],\"indexed\":false}],\"name\":\"deposit\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"_owner\",\"type\":\"address\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"_nonce\",\"type\":\"uint256\",\"indexed\":false}],\"name\":\"getPortalInfo\",\"outputs\":[{\"internal_type\":\"\",\"name\":\"_info\",\"type\":\"tuple\",\"components\":[{\"internal_type\":\"\",\"name\":\"kind\",\"type\":\"uint8\"},{\"internal_type\":\"\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internal_type\":\"\",\"name\":\"owner\",\"type\":\"address\"},{\"internal_type\":\"\",\"name\":\"assets\",\"type\":\"tuple[]\",\"components\":[{\"internal_type\":\"\",\"name\":\"erc\",\"type\":\"uint8\"},{\"internal_type\":\"\",\"name\":\"addr\",\"type\":\"address\"},{\"internal_type\":\"\",\"name\":\"id\",\"type\":\"uint256\"},{\"internal_type\":\"\",\"name\":\"quantity\",\"type\":\"uint256\"}]},{\"internal_type\":\"\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"indexed\":false}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":false}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"bytes32\",\"indexed\":false}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"index\",\"type\":\"uint256\",\"indexed\":false}],\"name\":\"getRoleMember\",\"outputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"address\",\"indexed\":false}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":false}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"uint256\",\"indexed\":false}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"account\",\"type\":\"address\",\"indexed\":false}],\"name\":\"grantRole\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"account\",\"type\":\"address\",\"indexed\":false}],\"name\":\"hasRole\",\"outputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"bool\",\"indexed\":false}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"_minWithdrawalPeriod\",\"type\":\"uint256\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"_routerContract\",\"type\":\"address\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"_usdc\",\"type\":\"address\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"_withdrawalFeeInUsdc\",\"type\":\"uint256\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"_paymentToken\",\"type\":\"address\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"_treasury\",\"type\":\"address\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"_owner\",\"type\":\"address\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"_operators\",\"type\":\"address[]\",\"indexed\":false}],\"name\":\"initialize\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"address\",\"indexed\":false}],\"name\":\"lastWithdrawalTimestamp\",\"outputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"uint256\",\"indexed\":false}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[],\"name\":\"minWithdrawalPeriod\",\"outputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"uint256\",\"indexed\":false}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"address\",\"indexed\":false}],\"name\":\"nonce\",\"outputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"uint256\",\"indexed\":false}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"address\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"\",\"type\":\"address\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"\",\"type\":\"uint256[]\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"\",\"type\":\"uint256[]\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"\",\"type\":\"bytes\",\"indexed\":false}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"bytes4\",\"indexed\":false}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"address\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"\",\"type\":\"address\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"\",\"type\":\"uint256\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"\",\"type\":\"uint256\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"\",\"type\":\"bytes\",\"indexed\":false}],\"name\":\"onERC1155Received\",\"outputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"bytes4\",\"indexed\":false}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"address\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"\",\"type\":\"address\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"\",\"type\":\"uint256\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"\",\"type\":\"bytes\",\"indexed\":false}],\"name\":\"onERC721Received\",\"outputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"bytes4\",\"indexed\":false}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"bool\",\"indexed\":false}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[],\"name\":\"paymentToken\",\"outputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"address\",\"indexed\":false}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"account\",\"type\":\"address\",\"indexed\":false}],\"name\":\"renounceRole\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"account\",\"type\":\"address\",\"indexed\":false}],\"name\":\"revokeRole\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[],\"name\":\"routerContract\",\"outputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"address\",\"indexed\":false}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"_timeWindow\",\"type\":\"uint256\",\"indexed\":false}],\"name\":\"setMinWithdrawalPeriod\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"_usdc\",\"type\":\"address\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"_withdrawalFeeInUsdc\",\"type\":\"uint256\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"_paymentToken\",\"type\":\"address\",\"indexed\":false}],\"name\":\"setPayment\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"_routerContract\",\"type\":\"address\",\"indexed\":false}],\"name\":\"setRouterContract\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"_treasury\",\"type\":\"address\",\"indexed\":false}],\"name\":\"setTreasury\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"interfaceId\",\"type\":\"bytes4\",\"indexed\":false}],\"name\":\"supportsInterface\",\"outputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"bool\",\"indexed\":false}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[],\"name\":\"treasury\",\"outputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"address\",\"indexed\":false}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[],\"name\":\"usdc\",\"outputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"address\",\"indexed\":false}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"_withdrawal\",\"type\":\"tuple\",\"components\":[{\"internal_type\":\"\",\"name\":\"owner\",\"type\":\"address\"},{\"internal_type\":\"\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internal_type\":\"\",\"name\":\"expiredAt\",\"type\":\"uint256\"},{\"internal_type\":\"\",\"name\":\"assets\",\"type\":\"tuple[]\",\"components\":[{\"internal_type\":\"\",\"name\":\"erc\",\"type\":\"uint8\"},{\"internal_type\":\"\",\"name\":\"addr\",\"type\":\"address\"},{\"internal_type\":\"\",\"name\":\"id\",\"type\":\"uint256\"},{\"internal_type\":\"\",\"name\":\"quantity\",\"type\":\"uint256\"}]},{\"internal_type\":\"\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"indexed\":false},{\"internal_type\":\"\",\"name\":\"_signature\",\"type\":\"bytes\",\"indexed\":false},{\"internal_type\":\"\",\"name\":\"_path\",\"type\":\"address[]\",\"indexed\":false}],\"name\":\"withdraw\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[],\"name\":\"withdrawNativeToken\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[{\"internal_type\":\"\",\"name\":\"_token\",\"type\":\"address\",\"indexed\":false}],\"name\":\"withdrawToken\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"anonymous\":false},{\"constant\":false,\"inputs\":[],\"name\":\"withdrawalFeeInUsdc\",\"outputs\":[{\"internal_type\":\"\",\"name\":\"\",\"type\":\"uint256\",\"indexed\":false}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\",\"anonymous\":false}]",
}

PortalMetaData contains all meta data concerning the Portal contract.

View Source
var RoninBalanceABI = RoninBalanceMetaData.ABI

RoninBalanceABI is the input ABI used to generate the binding from. Deprecated: Use RoninBalanceMetaData.ABI instead.

View Source
var RoninBalanceMetaData = &bind.MetaData{
	ABI: "[{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

RoninBalanceMetaData contains all meta data concerning the RoninBalance contract.

View Source
var SlpABI = SlpMetaData.ABI

SlpABI is the input ABI used to generate the binding from. Deprecated: Use SlpMetaData.ABI instead.

View Source
var SlpMetaData = &bind.MetaData{
	ABI: "[{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_createdAt\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_signature\",\"type\":\"bytes\"}],\"name\":\"checkpoint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_balance\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

SlpMetaData contains all meta data concerning the Slp contract.

Functions

This section is empty.

Types

type Axie

type Axie struct {
	AxieCaller     // Read-only binding to the contract
	AxieTransactor // Write-only binding to the contract
	AxieFilterer   // Log filterer for contract events
}

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

func NewAxie

func NewAxie(address common.Address, backend bind.ContractBackend) (*Axie, error)

NewAxie creates a new instance of Axie, bound to a specific deployed contract.

type AxieCaller

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

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

func NewAxieCaller

func NewAxieCaller(address common.Address, caller bind.ContractCaller) (*AxieCaller, error)

NewAxieCaller creates a new read-only instance of Axie, bound to a specific deployed contract.

func (*AxieCaller) BalanceOf

func (_Axie *AxieCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*AxieCaller) TokenOfOwnerByIndex

func (_Axie *AxieCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, _owner common.Address, _index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address _owner, uint256 _index) view returns(uint256)

type AxieCallerRaw

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

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

func (*AxieCallerRaw) Call

func (_Axie *AxieCallerRaw) 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 AxieCallerSession

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

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

func (*AxieCallerSession) BalanceOf

func (_Axie *AxieCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*AxieCallerSession) TokenOfOwnerByIndex

func (_Axie *AxieCallerSession) TokenOfOwnerByIndex(_owner common.Address, _index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address _owner, uint256 _index) view returns(uint256)

type AxieFilterer

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

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

func NewAxieFilterer

func NewAxieFilterer(address common.Address, filterer bind.ContractFilterer) (*AxieFilterer, error)

NewAxieFilterer creates a new log filterer instance of Axie, bound to a specific deployed contract.

type AxieRaw

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

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

func (*AxieRaw) Call

func (_Axie *AxieRaw) 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 (*AxieRaw) Transact

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

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

func (*AxieRaw) Transfer

func (_Axie *AxieRaw) 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 AxieSession

type AxieSession struct {
	Contract     *Axie             // 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
}

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

func (*AxieSession) BalanceOf

func (_Axie *AxieSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*AxieSession) BreedAxies

func (_Axie *AxieSession) BreedAxies(_sireId *big.Int, _matronId *big.Int) (*types.Transaction, error)

BreedAxies is a paid mutator transaction binding the contract method 0x8264f2c2.

Solidity: function breedAxies(uint256 _sireId, uint256 _matronId) returns(bool _success)

func (*AxieSession) SafeTransferFrom

func (_Axie *AxieSession) SafeTransferFrom(_from common.Address, _to common.Address, _tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address _from, address _to, uint256 _tokenId) returns(bool _success)

func (*AxieSession) TokenOfOwnerByIndex

func (_Axie *AxieSession) TokenOfOwnerByIndex(_owner common.Address, _index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address _owner, uint256 _index) view returns(uint256)

type AxieTransactor

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

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

func NewAxieTransactor

func NewAxieTransactor(address common.Address, transactor bind.ContractTransactor) (*AxieTransactor, error)

NewAxieTransactor creates a new write-only instance of Axie, bound to a specific deployed contract.

func (*AxieTransactor) BreedAxies

func (_Axie *AxieTransactor) BreedAxies(opts *bind.TransactOpts, _sireId *big.Int, _matronId *big.Int) (*types.Transaction, error)

BreedAxies is a paid mutator transaction binding the contract method 0x8264f2c2.

Solidity: function breedAxies(uint256 _sireId, uint256 _matronId) returns(bool _success)

func (*AxieTransactor) SafeTransferFrom

func (_Axie *AxieTransactor) SafeTransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address _from, address _to, uint256 _tokenId) returns(bool _success)

type AxieTransactorRaw

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

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

func (*AxieTransactorRaw) Transact

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

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

func (*AxieTransactorRaw) Transfer

func (_Axie *AxieTransactorRaw) 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 AxieTransactorSession

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

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

func (*AxieTransactorSession) BreedAxies

func (_Axie *AxieTransactorSession) BreedAxies(_sireId *big.Int, _matronId *big.Int) (*types.Transaction, error)

BreedAxies is a paid mutator transaction binding the contract method 0x8264f2c2.

Solidity: function breedAxies(uint256 _sireId, uint256 _matronId) returns(bool _success)

func (*AxieTransactorSession) SafeTransferFrom

func (_Axie *AxieTransactorSession) SafeTransferFrom(_from common.Address, _to common.Address, _tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address _from, address _to, uint256 _tokenId) returns(bool _success)

type Marketplace

type Marketplace struct {
	MarketplaceCaller     // Read-only binding to the contract
	MarketplaceTransactor // Write-only binding to the contract
	MarketplaceFilterer   // Log filterer for contract events
}

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

func NewMarketplace

func NewMarketplace(address common.Address, backend bind.ContractBackend) (*Marketplace, error)

NewMarketplace creates a new instance of Marketplace, bound to a specific deployed contract.

type MarketplaceCaller

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

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

func NewMarketplaceCaller

func NewMarketplaceCaller(address common.Address, caller bind.ContractCaller) (*MarketplaceCaller, error)

NewMarketplaceCaller creates a new read-only instance of Marketplace, bound to a specific deployed contract.

type MarketplaceCallerRaw

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

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

func (*MarketplaceCallerRaw) Call

func (_Marketplace *MarketplaceCallerRaw) 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 MarketplaceCallerSession

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

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

type MarketplaceFilterer

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

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

func NewMarketplaceFilterer

func NewMarketplaceFilterer(address common.Address, filterer bind.ContractFilterer) (*MarketplaceFilterer, error)

NewMarketplaceFilterer creates a new log filterer instance of Marketplace, bound to a specific deployed contract.

type MarketplaceRaw

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

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

func (*MarketplaceRaw) Call

func (_Marketplace *MarketplaceRaw) 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 (*MarketplaceRaw) Transact

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

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

func (*MarketplaceRaw) Transfer

func (_Marketplace *MarketplaceRaw) 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 MarketplaceSession

type MarketplaceSession struct {
	Contract     *Marketplace      // 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
}

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

func (*MarketplaceSession) CancelAuction

func (_Marketplace *MarketplaceSession) CancelAuction(_listingIndex *big.Int) (*types.Transaction, error)

CancelAuction is a paid mutator transaction binding the contract method 0x96b5a755.

Solidity: function cancelAuction(uint256 _listingIndex) returns()

func (*MarketplaceSession) CreateAuction

func (_Marketplace *MarketplaceSession) CreateAuction(_tokenTypes uint8, _tokenAddresses common.Address, _tokenNumbers *big.Int, _startingPrices *big.Int, _endingPrices *big.Int, _exchangeTokens common.Address, _durations *big.Int) (*types.Transaction, error)

CreateAuction is a paid mutator transaction binding the contract method 0x5c1f8e16.

Solidity: function createAuction(uint8 _tokenTypes, address _tokenAddresses, uint256 _tokenNumbers, uint256 _startingPrices, uint256 _endingPrices, address _exchangeTokens, uint256 _durations) returns()

type MarketplaceTransactor

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

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

func NewMarketplaceTransactor

func NewMarketplaceTransactor(address common.Address, transactor bind.ContractTransactor) (*MarketplaceTransactor, error)

NewMarketplaceTransactor creates a new write-only instance of Marketplace, bound to a specific deployed contract.

func (*MarketplaceTransactor) CancelAuction

func (_Marketplace *MarketplaceTransactor) CancelAuction(opts *bind.TransactOpts, _listingIndex *big.Int) (*types.Transaction, error)

CancelAuction is a paid mutator transaction binding the contract method 0x96b5a755.

Solidity: function cancelAuction(uint256 _listingIndex) returns()

func (*MarketplaceTransactor) CreateAuction

func (_Marketplace *MarketplaceTransactor) CreateAuction(opts *bind.TransactOpts, _tokenTypes uint8, _tokenAddresses common.Address, _tokenNumbers *big.Int, _startingPrices *big.Int, _endingPrices *big.Int, _exchangeTokens common.Address, _durations *big.Int) (*types.Transaction, error)

CreateAuction is a paid mutator transaction binding the contract method 0x5c1f8e16.

Solidity: function createAuction(uint8 _tokenTypes, address _tokenAddresses, uint256 _tokenNumbers, uint256 _startingPrices, uint256 _endingPrices, address _exchangeTokens, uint256 _durations) returns()

type MarketplaceTransactorRaw

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

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

func (*MarketplaceTransactorRaw) Transact

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

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

func (*MarketplaceTransactorRaw) Transfer

func (_Marketplace *MarketplaceTransactorRaw) 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 MarketplaceTransactorSession

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

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

func (*MarketplaceTransactorSession) CancelAuction

func (_Marketplace *MarketplaceTransactorSession) CancelAuction(_listingIndex *big.Int) (*types.Transaction, error)

CancelAuction is a paid mutator transaction binding the contract method 0x96b5a755.

Solidity: function cancelAuction(uint256 _listingIndex) returns()

func (*MarketplaceTransactorSession) CreateAuction

func (_Marketplace *MarketplaceTransactorSession) CreateAuction(_tokenTypes uint8, _tokenAddresses common.Address, _tokenNumbers *big.Int, _startingPrices *big.Int, _endingPrices *big.Int, _exchangeTokens common.Address, _durations *big.Int) (*types.Transaction, error)

CreateAuction is a paid mutator transaction binding the contract method 0x5c1f8e16.

Solidity: function createAuction(uint8 _tokenTypes, address _tokenAddresses, uint256 _tokenNumbers, uint256 _startingPrices, uint256 _endingPrices, address _exchangeTokens, uint256 _durations) returns()

type Portal added in v0.1.11

type Portal struct {
	PortalCaller     // Read-only binding to the contract
	PortalTransactor // Write-only binding to the contract
	PortalFilterer   // Log filterer for contract events
}

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

func NewPortal added in v0.1.11

func NewPortal(address common.Address, backend bind.ContractBackend) (*Portal, error)

NewPortal creates a new instance of Portal, bound to a specific deployed contract.

type PortalCaller added in v0.1.11

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

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

func NewPortalCaller added in v0.1.11

func NewPortalCaller(address common.Address, caller bind.ContractCaller) (*PortalCaller, error)

NewPortalCaller creates a new read-only instance of Portal, bound to a specific deployed contract.

func (*PortalCaller) CalculateWithdrawalFee added in v0.1.11

func (_Portal *PortalCaller) CalculateWithdrawalFee(opts *bind.CallOpts, _assets []Struct0, _paymentToken common.Address, _path []common.Address) (struct {
	PaymentAmount       *big.Int
	PaymentAmountInUsdc *big.Int
}, error)

CalculateWithdrawalFee is a free data retrieval call binding the contract method 0x017556f4.

Solidity: function calculateWithdrawalFee((uint8,address,uint256,uint256)[] _assets, address _paymentToken, address[] _path) view returns(uint256 _paymentAmount, uint256 _paymentAmountInUsdc)

func (*PortalCaller) DEFAULTADMINROLE added in v0.1.11

func (_Portal *PortalCaller) 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 (*PortalCaller) DOMAINSEPARATOR added in v0.1.11

func (_Portal *PortalCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*PortalCaller) GetPortalInfo added in v0.1.11

func (_Portal *PortalCaller) GetPortalInfo(opts *bind.CallOpts, _owner common.Address, _nonce *big.Int) (Struct1, error)

GetPortalInfo is a free data retrieval call binding the contract method 0x09960a55.

Solidity: function getPortalInfo(address _owner, uint256 _nonce) view returns((uint8,uint256,address,(uint8,address,uint256,uint256)[],bytes) _info)

func (*PortalCaller) GetRoleAdmin added in v0.1.11

func (_Portal *PortalCaller) 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 (*PortalCaller) GetRoleMember added in v0.1.11

func (_Portal *PortalCaller) 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 (*PortalCaller) GetRoleMemberCount added in v0.1.11

func (_Portal *PortalCaller) 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 (*PortalCaller) HasRole added in v0.1.11

func (_Portal *PortalCaller) 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 (*PortalCaller) LastWithdrawalTimestamp added in v0.1.11

func (_Portal *PortalCaller) LastWithdrawalTimestamp(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

LastWithdrawalTimestamp is a free data retrieval call binding the contract method 0x2be50b89.

Solidity: function lastWithdrawalTimestamp(address ) view returns(uint256)

func (*PortalCaller) MinWithdrawalPeriod added in v0.1.11

func (_Portal *PortalCaller) MinWithdrawalPeriod(opts *bind.CallOpts) (*big.Int, error)

MinWithdrawalPeriod is a free data retrieval call binding the contract method 0x12b4af3e.

Solidity: function minWithdrawalPeriod() view returns(uint256)

func (*PortalCaller) Nonce added in v0.1.11

func (_Portal *PortalCaller) Nonce(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0x70ae92d2.

Solidity: function nonce(address ) view returns(uint256)

func (*PortalCaller) OnERC1155BatchReceived added in v0.1.11

func (_Portal *PortalCaller) OnERC1155BatchReceived(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) ([4]byte, error)

OnERC1155BatchReceived is a free data retrieval call binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) view returns(bytes4)

func (*PortalCaller) OnERC1155Received added in v0.1.11

func (_Portal *PortalCaller) OnERC1155Received(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) ([4]byte, error)

OnERC1155Received is a free data retrieval call binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) view returns(bytes4)

func (*PortalCaller) OnERC721Received added in v0.1.11

func (_Portal *PortalCaller) OnERC721Received(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) ([4]byte, error)

OnERC721Received is a free data retrieval call binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address , uint256 , bytes ) view returns(bytes4)

func (*PortalCaller) PORTALOPERATOR added in v0.1.11

func (_Portal *PortalCaller) PORTALOPERATOR(opts *bind.CallOpts) ([32]byte, error)

PORTALOPERATOR is a free data retrieval call binding the contract method 0xfb4b9637.

Solidity: function PORTAL_OPERATOR() view returns(bytes32)

func (*PortalCaller) Paused added in v0.1.11

func (_Portal *PortalCaller) 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 (*PortalCaller) PaymentToken added in v0.1.11

func (_Portal *PortalCaller) PaymentToken(opts *bind.CallOpts) (common.Address, error)

PaymentToken is a free data retrieval call binding the contract method 0x3013ce29.

Solidity: function paymentToken() view returns(address)

func (*PortalCaller) RouterContract added in v0.1.11

func (_Portal *PortalCaller) RouterContract(opts *bind.CallOpts) (common.Address, error)

RouterContract is a free data retrieval call binding the contract method 0x4f72d846.

Solidity: function routerContract() view returns(address)

func (*PortalCaller) SupportsInterface added in v0.1.11

func (_Portal *PortalCaller) 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 (*PortalCaller) Treasury added in v0.1.11

func (_Portal *PortalCaller) Treasury(opts *bind.CallOpts) (common.Address, error)

Treasury is a free data retrieval call binding the contract method 0x61d027b3.

Solidity: function treasury() view returns(address)

func (*PortalCaller) Usdc added in v0.1.11

func (_Portal *PortalCaller) Usdc(opts *bind.CallOpts) (common.Address, error)

Usdc is a free data retrieval call binding the contract method 0x3e413bee.

Solidity: function usdc() view returns(address)

func (*PortalCaller) WithdrawalFeeInUsdc added in v0.1.11

func (_Portal *PortalCaller) WithdrawalFeeInUsdc(opts *bind.CallOpts) (*big.Int, error)

WithdrawalFeeInUsdc is a free data retrieval call binding the contract method 0x70306e37.

Solidity: function withdrawalFeeInUsdc() view returns(uint256)

type PortalCallerRaw added in v0.1.11

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

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

func (*PortalCallerRaw) Call added in v0.1.11

func (_Portal *PortalCallerRaw) 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 PortalCallerSession added in v0.1.11

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

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

func (*PortalCallerSession) CalculateWithdrawalFee added in v0.1.11

func (_Portal *PortalCallerSession) CalculateWithdrawalFee(_assets []Struct0, _paymentToken common.Address, _path []common.Address) (struct {
	PaymentAmount       *big.Int
	PaymentAmountInUsdc *big.Int
}, error)

CalculateWithdrawalFee is a free data retrieval call binding the contract method 0x017556f4.

Solidity: function calculateWithdrawalFee((uint8,address,uint256,uint256)[] _assets, address _paymentToken, address[] _path) view returns(uint256 _paymentAmount, uint256 _paymentAmountInUsdc)

func (*PortalCallerSession) DEFAULTADMINROLE added in v0.1.11

func (_Portal *PortalCallerSession) 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 (*PortalCallerSession) DOMAINSEPARATOR added in v0.1.11

func (_Portal *PortalCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*PortalCallerSession) GetPortalInfo added in v0.1.11

func (_Portal *PortalCallerSession) GetPortalInfo(_owner common.Address, _nonce *big.Int) (Struct1, error)

GetPortalInfo is a free data retrieval call binding the contract method 0x09960a55.

Solidity: function getPortalInfo(address _owner, uint256 _nonce) view returns((uint8,uint256,address,(uint8,address,uint256,uint256)[],bytes) _info)

func (*PortalCallerSession) GetRoleAdmin added in v0.1.11

func (_Portal *PortalCallerSession) 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 (*PortalCallerSession) GetRoleMember added in v0.1.11

func (_Portal *PortalCallerSession) 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 (*PortalCallerSession) GetRoleMemberCount added in v0.1.11

func (_Portal *PortalCallerSession) 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 (*PortalCallerSession) HasRole added in v0.1.11

func (_Portal *PortalCallerSession) 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 (*PortalCallerSession) LastWithdrawalTimestamp added in v0.1.11

func (_Portal *PortalCallerSession) LastWithdrawalTimestamp(arg0 common.Address) (*big.Int, error)

LastWithdrawalTimestamp is a free data retrieval call binding the contract method 0x2be50b89.

Solidity: function lastWithdrawalTimestamp(address ) view returns(uint256)

func (*PortalCallerSession) MinWithdrawalPeriod added in v0.1.11

func (_Portal *PortalCallerSession) MinWithdrawalPeriod() (*big.Int, error)

MinWithdrawalPeriod is a free data retrieval call binding the contract method 0x12b4af3e.

Solidity: function minWithdrawalPeriod() view returns(uint256)

func (*PortalCallerSession) Nonce added in v0.1.11

func (_Portal *PortalCallerSession) Nonce(arg0 common.Address) (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0x70ae92d2.

Solidity: function nonce(address ) view returns(uint256)

func (*PortalCallerSession) OnERC1155BatchReceived added in v0.1.11

func (_Portal *PortalCallerSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) ([4]byte, error)

OnERC1155BatchReceived is a free data retrieval call binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) view returns(bytes4)

func (*PortalCallerSession) OnERC1155Received added in v0.1.11

func (_Portal *PortalCallerSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) ([4]byte, error)

OnERC1155Received is a free data retrieval call binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) view returns(bytes4)

func (*PortalCallerSession) OnERC721Received added in v0.1.11

func (_Portal *PortalCallerSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) ([4]byte, error)

OnERC721Received is a free data retrieval call binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address , uint256 , bytes ) view returns(bytes4)

func (*PortalCallerSession) PORTALOPERATOR added in v0.1.11

func (_Portal *PortalCallerSession) PORTALOPERATOR() ([32]byte, error)

PORTALOPERATOR is a free data retrieval call binding the contract method 0xfb4b9637.

Solidity: function PORTAL_OPERATOR() view returns(bytes32)

func (*PortalCallerSession) Paused added in v0.1.11

func (_Portal *PortalCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*PortalCallerSession) PaymentToken added in v0.1.11

func (_Portal *PortalCallerSession) PaymentToken() (common.Address, error)

PaymentToken is a free data retrieval call binding the contract method 0x3013ce29.

Solidity: function paymentToken() view returns(address)

func (*PortalCallerSession) RouterContract added in v0.1.11

func (_Portal *PortalCallerSession) RouterContract() (common.Address, error)

RouterContract is a free data retrieval call binding the contract method 0x4f72d846.

Solidity: function routerContract() view returns(address)

func (*PortalCallerSession) SupportsInterface added in v0.1.11

func (_Portal *PortalCallerSession) 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 (*PortalCallerSession) Treasury added in v0.1.11

func (_Portal *PortalCallerSession) Treasury() (common.Address, error)

Treasury is a free data retrieval call binding the contract method 0x61d027b3.

Solidity: function treasury() view returns(address)

func (*PortalCallerSession) Usdc added in v0.1.11

func (_Portal *PortalCallerSession) Usdc() (common.Address, error)

Usdc is a free data retrieval call binding the contract method 0x3e413bee.

Solidity: function usdc() view returns(address)

func (*PortalCallerSession) WithdrawalFeeInUsdc added in v0.1.11

func (_Portal *PortalCallerSession) WithdrawalFeeInUsdc() (*big.Int, error)

WithdrawalFeeInUsdc is a free data retrieval call binding the contract method 0x70306e37.

Solidity: function withdrawalFeeInUsdc() view returns(uint256)

type PortalDeposited added in v0.1.11

type PortalDeposited struct {
	Nonce  *big.Int
	Owner  common.Address
	Assets []Struct0
	Raw    types.Log // Blockchain specific contextual infos
}

PortalDeposited represents a Deposited event raised by the Portal contract.

type PortalDepositedIterator added in v0.1.11

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

PortalDepositedIterator is returned from FilterDeposited and is used to iterate over the raw logs and unpacked data for Deposited events raised by the Portal contract.

func (*PortalDepositedIterator) Close added in v0.1.11

func (it *PortalDepositedIterator) Close() error

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

func (*PortalDepositedIterator) Error added in v0.1.11

func (it *PortalDepositedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PortalDepositedIterator) Next added in v0.1.11

func (it *PortalDepositedIterator) 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 PortalFilterer added in v0.1.11

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

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

func NewPortalFilterer added in v0.1.11

func NewPortalFilterer(address common.Address, filterer bind.ContractFilterer) (*PortalFilterer, error)

NewPortalFilterer creates a new log filterer instance of Portal, bound to a specific deployed contract.

func (*PortalFilterer) FilterDeposited added in v0.1.11

func (_Portal *PortalFilterer) FilterDeposited(opts *bind.FilterOpts) (*PortalDepositedIterator, error)

FilterDeposited is a free log retrieval operation binding the contract event 0x08cb48d6c543fb34918502f44a07a8e07d7c4d097161fb4fad82e7ee57a9a915.

Solidity: event Deposited(uint256 nonce, address owner, (uint8,address,uint256,uint256)[] assets)

func (*PortalFilterer) FilterInitialized added in v0.1.11

func (_Portal *PortalFilterer) FilterInitialized(opts *bind.FilterOpts) (*PortalInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*PortalFilterer) FilterMinWithdrawalPeriodUpdated added in v0.1.11

func (_Portal *PortalFilterer) FilterMinWithdrawalPeriodUpdated(opts *bind.FilterOpts) (*PortalMinWithdrawalPeriodUpdatedIterator, error)

FilterMinWithdrawalPeriodUpdated is a free log retrieval operation binding the contract event 0x47ad7ac5d981acb4912a06e9574c034bb39f552a40d0bcb8a661a0d9cf75b0b9.

Solidity: event MinWithdrawalPeriodUpdated(uint256 timeWindow)

func (*PortalFilterer) FilterPaused added in v0.1.11

func (_Portal *PortalFilterer) FilterPaused(opts *bind.FilterOpts) (*PortalPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*PortalFilterer) FilterPaymentUpdated added in v0.1.11

func (_Portal *PortalFilterer) FilterPaymentUpdated(opts *bind.FilterOpts) (*PortalPaymentUpdatedIterator, error)

FilterPaymentUpdated is a free log retrieval operation binding the contract event 0x001aacbf4a93dd712e4629bf70833600ba3c672613e69604b95b4cc97fed4d78.

Solidity: event PaymentUpdated(address usdc, uint256 withdrawalFeeInUsdc, address paymentToken)

func (*PortalFilterer) FilterRoleAdminChanged added in v0.1.11

func (_Portal *PortalFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*PortalRoleAdminChangedIterator, 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 (*PortalFilterer) FilterRoleGranted added in v0.1.11

func (_Portal *PortalFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*PortalRoleGrantedIterator, 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 (*PortalFilterer) FilterRoleRevoked added in v0.1.11

func (_Portal *PortalFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*PortalRoleRevokedIterator, 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 (*PortalFilterer) FilterRouterContractUpdated added in v0.1.11

func (_Portal *PortalFilterer) FilterRouterContractUpdated(opts *bind.FilterOpts) (*PortalRouterContractUpdatedIterator, error)

FilterRouterContractUpdated is a free log retrieval operation binding the contract event 0xe101485f5fbb64a12336091ab3a4684b5409d8006eb3b943154baa120d0c920e.

Solidity: event RouterContractUpdated(address routerContract)

func (*PortalFilterer) FilterTreasuryUpdated added in v0.1.11

func (_Portal *PortalFilterer) FilterTreasuryUpdated(opts *bind.FilterOpts) (*PortalTreasuryUpdatedIterator, error)

FilterTreasuryUpdated is a free log retrieval operation binding the contract event 0x7dae230f18360d76a040c81f050aa14eb9d6dc7901b20fc5d855e2a20fe814d1.

Solidity: event TreasuryUpdated(address arg0)

func (*PortalFilterer) FilterUnpaused added in v0.1.11

func (_Portal *PortalFilterer) FilterUnpaused(opts *bind.FilterOpts) (*PortalUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*PortalFilterer) FilterWithdrew added in v0.1.11

func (_Portal *PortalFilterer) FilterWithdrew(opts *bind.FilterOpts) (*PortalWithdrewIterator, error)

FilterWithdrew is a free log retrieval operation binding the contract event 0xb7818c8c091e9a80958582d256533a39c5025517f6269b5d6dd4e12163a2ac90.

Solidity: event Withdrew(uint256 nonce, address owner, (uint8,address,uint256,uint256)[] assets, bytes extraData)

func (*PortalFilterer) ParseDeposited added in v0.1.11

func (_Portal *PortalFilterer) ParseDeposited(log types.Log) (*PortalDeposited, error)

ParseDeposited is a log parse operation binding the contract event 0x08cb48d6c543fb34918502f44a07a8e07d7c4d097161fb4fad82e7ee57a9a915.

Solidity: event Deposited(uint256 nonce, address owner, (uint8,address,uint256,uint256)[] assets)

func (*PortalFilterer) ParseInitialized added in v0.1.11

func (_Portal *PortalFilterer) ParseInitialized(log types.Log) (*PortalInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*PortalFilterer) ParseMinWithdrawalPeriodUpdated added in v0.1.11

func (_Portal *PortalFilterer) ParseMinWithdrawalPeriodUpdated(log types.Log) (*PortalMinWithdrawalPeriodUpdated, error)

ParseMinWithdrawalPeriodUpdated is a log parse operation binding the contract event 0x47ad7ac5d981acb4912a06e9574c034bb39f552a40d0bcb8a661a0d9cf75b0b9.

Solidity: event MinWithdrawalPeriodUpdated(uint256 timeWindow)

func (*PortalFilterer) ParsePaused added in v0.1.11

func (_Portal *PortalFilterer) ParsePaused(log types.Log) (*PortalPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*PortalFilterer) ParsePaymentUpdated added in v0.1.11

func (_Portal *PortalFilterer) ParsePaymentUpdated(log types.Log) (*PortalPaymentUpdated, error)

ParsePaymentUpdated is a log parse operation binding the contract event 0x001aacbf4a93dd712e4629bf70833600ba3c672613e69604b95b4cc97fed4d78.

Solidity: event PaymentUpdated(address usdc, uint256 withdrawalFeeInUsdc, address paymentToken)

func (*PortalFilterer) ParseRoleAdminChanged added in v0.1.11

func (_Portal *PortalFilterer) ParseRoleAdminChanged(log types.Log) (*PortalRoleAdminChanged, 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 (*PortalFilterer) ParseRoleGranted added in v0.1.11

func (_Portal *PortalFilterer) ParseRoleGranted(log types.Log) (*PortalRoleGranted, 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 (*PortalFilterer) ParseRoleRevoked added in v0.1.11

func (_Portal *PortalFilterer) ParseRoleRevoked(log types.Log) (*PortalRoleRevoked, 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 (*PortalFilterer) ParseRouterContractUpdated added in v0.1.11

func (_Portal *PortalFilterer) ParseRouterContractUpdated(log types.Log) (*PortalRouterContractUpdated, error)

ParseRouterContractUpdated is a log parse operation binding the contract event 0xe101485f5fbb64a12336091ab3a4684b5409d8006eb3b943154baa120d0c920e.

Solidity: event RouterContractUpdated(address routerContract)

func (*PortalFilterer) ParseTreasuryUpdated added in v0.1.11

func (_Portal *PortalFilterer) ParseTreasuryUpdated(log types.Log) (*PortalTreasuryUpdated, error)

ParseTreasuryUpdated is a log parse operation binding the contract event 0x7dae230f18360d76a040c81f050aa14eb9d6dc7901b20fc5d855e2a20fe814d1.

Solidity: event TreasuryUpdated(address arg0)

func (*PortalFilterer) ParseUnpaused added in v0.1.11

func (_Portal *PortalFilterer) ParseUnpaused(log types.Log) (*PortalUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*PortalFilterer) ParseWithdrew added in v0.1.11

func (_Portal *PortalFilterer) ParseWithdrew(log types.Log) (*PortalWithdrew, error)

ParseWithdrew is a log parse operation binding the contract event 0xb7818c8c091e9a80958582d256533a39c5025517f6269b5d6dd4e12163a2ac90.

Solidity: event Withdrew(uint256 nonce, address owner, (uint8,address,uint256,uint256)[] assets, bytes extraData)

func (*PortalFilterer) WatchDeposited added in v0.1.11

func (_Portal *PortalFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *PortalDeposited) (event.Subscription, error)

WatchDeposited is a free log subscription operation binding the contract event 0x08cb48d6c543fb34918502f44a07a8e07d7c4d097161fb4fad82e7ee57a9a915.

Solidity: event Deposited(uint256 nonce, address owner, (uint8,address,uint256,uint256)[] assets)

func (*PortalFilterer) WatchInitialized added in v0.1.11

func (_Portal *PortalFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *PortalInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*PortalFilterer) WatchMinWithdrawalPeriodUpdated added in v0.1.11

func (_Portal *PortalFilterer) WatchMinWithdrawalPeriodUpdated(opts *bind.WatchOpts, sink chan<- *PortalMinWithdrawalPeriodUpdated) (event.Subscription, error)

WatchMinWithdrawalPeriodUpdated is a free log subscription operation binding the contract event 0x47ad7ac5d981acb4912a06e9574c034bb39f552a40d0bcb8a661a0d9cf75b0b9.

Solidity: event MinWithdrawalPeriodUpdated(uint256 timeWindow)

func (*PortalFilterer) WatchPaused added in v0.1.11

func (_Portal *PortalFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *PortalPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*PortalFilterer) WatchPaymentUpdated added in v0.1.11

func (_Portal *PortalFilterer) WatchPaymentUpdated(opts *bind.WatchOpts, sink chan<- *PortalPaymentUpdated) (event.Subscription, error)

WatchPaymentUpdated is a free log subscription operation binding the contract event 0x001aacbf4a93dd712e4629bf70833600ba3c672613e69604b95b4cc97fed4d78.

Solidity: event PaymentUpdated(address usdc, uint256 withdrawalFeeInUsdc, address paymentToken)

func (*PortalFilterer) WatchRoleAdminChanged added in v0.1.11

func (_Portal *PortalFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *PortalRoleAdminChanged, 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 (*PortalFilterer) WatchRoleGranted added in v0.1.11

func (_Portal *PortalFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *PortalRoleGranted, 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 (*PortalFilterer) WatchRoleRevoked added in v0.1.11

func (_Portal *PortalFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *PortalRoleRevoked, 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 (*PortalFilterer) WatchRouterContractUpdated added in v0.1.11

func (_Portal *PortalFilterer) WatchRouterContractUpdated(opts *bind.WatchOpts, sink chan<- *PortalRouterContractUpdated) (event.Subscription, error)

WatchRouterContractUpdated is a free log subscription operation binding the contract event 0xe101485f5fbb64a12336091ab3a4684b5409d8006eb3b943154baa120d0c920e.

Solidity: event RouterContractUpdated(address routerContract)

func (*PortalFilterer) WatchTreasuryUpdated added in v0.1.11

func (_Portal *PortalFilterer) WatchTreasuryUpdated(opts *bind.WatchOpts, sink chan<- *PortalTreasuryUpdated) (event.Subscription, error)

WatchTreasuryUpdated is a free log subscription operation binding the contract event 0x7dae230f18360d76a040c81f050aa14eb9d6dc7901b20fc5d855e2a20fe814d1.

Solidity: event TreasuryUpdated(address arg0)

func (*PortalFilterer) WatchUnpaused added in v0.1.11

func (_Portal *PortalFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *PortalUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*PortalFilterer) WatchWithdrew added in v0.1.11

func (_Portal *PortalFilterer) WatchWithdrew(opts *bind.WatchOpts, sink chan<- *PortalWithdrew) (event.Subscription, error)

WatchWithdrew is a free log subscription operation binding the contract event 0xb7818c8c091e9a80958582d256533a39c5025517f6269b5d6dd4e12163a2ac90.

Solidity: event Withdrew(uint256 nonce, address owner, (uint8,address,uint256,uint256)[] assets, bytes extraData)

type PortalInitialized added in v0.1.11

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

PortalInitialized represents a Initialized event raised by the Portal contract.

type PortalInitializedIterator added in v0.1.11

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

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

func (*PortalInitializedIterator) Close added in v0.1.11

func (it *PortalInitializedIterator) Close() error

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

func (*PortalInitializedIterator) Error added in v0.1.11

func (it *PortalInitializedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PortalInitializedIterator) Next added in v0.1.11

func (it *PortalInitializedIterator) 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 PortalMinWithdrawalPeriodUpdated added in v0.1.11

type PortalMinWithdrawalPeriodUpdated struct {
	TimeWindow *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

PortalMinWithdrawalPeriodUpdated represents a MinWithdrawalPeriodUpdated event raised by the Portal contract.

type PortalMinWithdrawalPeriodUpdatedIterator added in v0.1.11

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

PortalMinWithdrawalPeriodUpdatedIterator is returned from FilterMinWithdrawalPeriodUpdated and is used to iterate over the raw logs and unpacked data for MinWithdrawalPeriodUpdated events raised by the Portal contract.

func (*PortalMinWithdrawalPeriodUpdatedIterator) Close added in v0.1.11

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

func (*PortalMinWithdrawalPeriodUpdatedIterator) Error added in v0.1.11

Error returns any retrieval or parsing error occurred during filtering.

func (*PortalMinWithdrawalPeriodUpdatedIterator) Next added in v0.1.11

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 PortalPaused added in v0.1.11

type PortalPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PortalPaused represents a Paused event raised by the Portal contract.

type PortalPausedIterator added in v0.1.11

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

PortalPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Portal contract.

func (*PortalPausedIterator) Close added in v0.1.11

func (it *PortalPausedIterator) Close() error

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

func (*PortalPausedIterator) Error added in v0.1.11

func (it *PortalPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PortalPausedIterator) Next added in v0.1.11

func (it *PortalPausedIterator) 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 PortalPaymentUpdated added in v0.1.11

type PortalPaymentUpdated struct {
	Usdc                common.Address
	WithdrawalFeeInUsdc *big.Int
	PaymentToken        common.Address
	Raw                 types.Log // Blockchain specific contextual infos
}

PortalPaymentUpdated represents a PaymentUpdated event raised by the Portal contract.

type PortalPaymentUpdatedIterator added in v0.1.11

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

PortalPaymentUpdatedIterator is returned from FilterPaymentUpdated and is used to iterate over the raw logs and unpacked data for PaymentUpdated events raised by the Portal contract.

func (*PortalPaymentUpdatedIterator) Close added in v0.1.11

func (it *PortalPaymentUpdatedIterator) Close() error

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

func (*PortalPaymentUpdatedIterator) Error added in v0.1.11

func (it *PortalPaymentUpdatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PortalPaymentUpdatedIterator) Next added in v0.1.11

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 PortalRaw added in v0.1.11

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

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

func (*PortalRaw) Call added in v0.1.11

func (_Portal *PortalRaw) 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 (*PortalRaw) Transact added in v0.1.11

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

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

func (*PortalRaw) Transfer added in v0.1.11

func (_Portal *PortalRaw) 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 PortalRoleAdminChanged added in v0.1.11

type PortalRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

PortalRoleAdminChanged represents a RoleAdminChanged event raised by the Portal contract.

type PortalRoleAdminChangedIterator added in v0.1.11

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

PortalRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Portal contract.

func (*PortalRoleAdminChangedIterator) Close added in v0.1.11

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

func (*PortalRoleAdminChangedIterator) Error added in v0.1.11

Error returns any retrieval or parsing error occurred during filtering.

func (*PortalRoleAdminChangedIterator) Next added in v0.1.11

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 PortalRoleGranted added in v0.1.11

type PortalRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PortalRoleGranted represents a RoleGranted event raised by the Portal contract.

type PortalRoleGrantedIterator added in v0.1.11

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

PortalRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Portal contract.

func (*PortalRoleGrantedIterator) Close added in v0.1.11

func (it *PortalRoleGrantedIterator) Close() error

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

func (*PortalRoleGrantedIterator) Error added in v0.1.11

func (it *PortalRoleGrantedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PortalRoleGrantedIterator) Next added in v0.1.11

func (it *PortalRoleGrantedIterator) 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 PortalRoleRevoked added in v0.1.11

type PortalRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PortalRoleRevoked represents a RoleRevoked event raised by the Portal contract.

type PortalRoleRevokedIterator added in v0.1.11

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

PortalRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Portal contract.

func (*PortalRoleRevokedIterator) Close added in v0.1.11

func (it *PortalRoleRevokedIterator) Close() error

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

func (*PortalRoleRevokedIterator) Error added in v0.1.11

func (it *PortalRoleRevokedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PortalRoleRevokedIterator) Next added in v0.1.11

func (it *PortalRoleRevokedIterator) 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 PortalRouterContractUpdated added in v0.1.11

type PortalRouterContractUpdated struct {
	RouterContract common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

PortalRouterContractUpdated represents a RouterContractUpdated event raised by the Portal contract.

type PortalRouterContractUpdatedIterator added in v0.1.11

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

PortalRouterContractUpdatedIterator is returned from FilterRouterContractUpdated and is used to iterate over the raw logs and unpacked data for RouterContractUpdated events raised by the Portal contract.

func (*PortalRouterContractUpdatedIterator) Close added in v0.1.11

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

func (*PortalRouterContractUpdatedIterator) Error added in v0.1.11

Error returns any retrieval or parsing error occurred during filtering.

func (*PortalRouterContractUpdatedIterator) Next added in v0.1.11

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 PortalSession added in v0.1.11

type PortalSession struct {
	Contract     *Portal           // 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
}

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

func (*PortalSession) CalculateWithdrawalFee added in v0.1.11

func (_Portal *PortalSession) CalculateWithdrawalFee(_assets []Struct0, _paymentToken common.Address, _path []common.Address) (struct {
	PaymentAmount       *big.Int
	PaymentAmountInUsdc *big.Int
}, error)

CalculateWithdrawalFee is a free data retrieval call binding the contract method 0x017556f4.

Solidity: function calculateWithdrawalFee((uint8,address,uint256,uint256)[] _assets, address _paymentToken, address[] _path) view returns(uint256 _paymentAmount, uint256 _paymentAmountInUsdc)

func (*PortalSession) DEFAULTADMINROLE added in v0.1.11

func (_Portal *PortalSession) 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 (*PortalSession) DOMAINSEPARATOR added in v0.1.11

func (_Portal *PortalSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*PortalSession) Deposit added in v0.1.11

func (_Portal *PortalSession) Deposit(_assets []Struct0) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x1253c921.

Solidity: function deposit((uint8,address,uint256,uint256)[] _assets) returns()

func (*PortalSession) GetPortalInfo added in v0.1.11

func (_Portal *PortalSession) GetPortalInfo(_owner common.Address, _nonce *big.Int) (Struct1, error)

GetPortalInfo is a free data retrieval call binding the contract method 0x09960a55.

Solidity: function getPortalInfo(address _owner, uint256 _nonce) view returns((uint8,uint256,address,(uint8,address,uint256,uint256)[],bytes) _info)

func (*PortalSession) GetRoleAdmin added in v0.1.11

func (_Portal *PortalSession) 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 (*PortalSession) GetRoleMember added in v0.1.11

func (_Portal *PortalSession) 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 (*PortalSession) GetRoleMemberCount added in v0.1.11

func (_Portal *PortalSession) 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 (*PortalSession) GrantRole added in v0.1.11

func (_Portal *PortalSession) 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 (*PortalSession) HasRole added in v0.1.11

func (_Portal *PortalSession) 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 (*PortalSession) Initialize added in v0.1.11

func (_Portal *PortalSession) Initialize(_minWithdrawalPeriod *big.Int, _routerContract common.Address, _usdc common.Address, _withdrawalFeeInUsdc *big.Int, _paymentToken common.Address, _treasury common.Address, _owner common.Address, _operators []common.Address) (*types.Transaction, error)

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

Solidity: function initialize(uint256 _minWithdrawalPeriod, address _routerContract, address _usdc, uint256 _withdrawalFeeInUsdc, address _paymentToken, address _treasury, address _owner, address[] _operators) returns()

func (*PortalSession) LastWithdrawalTimestamp added in v0.1.11

func (_Portal *PortalSession) LastWithdrawalTimestamp(arg0 common.Address) (*big.Int, error)

LastWithdrawalTimestamp is a free data retrieval call binding the contract method 0x2be50b89.

Solidity: function lastWithdrawalTimestamp(address ) view returns(uint256)

func (*PortalSession) MinWithdrawalPeriod added in v0.1.11

func (_Portal *PortalSession) MinWithdrawalPeriod() (*big.Int, error)

MinWithdrawalPeriod is a free data retrieval call binding the contract method 0x12b4af3e.

Solidity: function minWithdrawalPeriod() view returns(uint256)

func (*PortalSession) Nonce added in v0.1.11

func (_Portal *PortalSession) Nonce(arg0 common.Address) (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0x70ae92d2.

Solidity: function nonce(address ) view returns(uint256)

func (*PortalSession) OnERC1155BatchReceived added in v0.1.11

func (_Portal *PortalSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) ([4]byte, error)

OnERC1155BatchReceived is a free data retrieval call binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) view returns(bytes4)

func (*PortalSession) OnERC1155Received added in v0.1.11

func (_Portal *PortalSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) ([4]byte, error)

OnERC1155Received is a free data retrieval call binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) view returns(bytes4)

func (*PortalSession) OnERC721Received added in v0.1.11

func (_Portal *PortalSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) ([4]byte, error)

OnERC721Received is a free data retrieval call binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address , uint256 , bytes ) view returns(bytes4)

func (*PortalSession) PORTALOPERATOR added in v0.1.11

func (_Portal *PortalSession) PORTALOPERATOR() ([32]byte, error)

PORTALOPERATOR is a free data retrieval call binding the contract method 0xfb4b9637.

Solidity: function PORTAL_OPERATOR() view returns(bytes32)

func (*PortalSession) Pause added in v0.1.11

func (_Portal *PortalSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*PortalSession) Paused added in v0.1.11

func (_Portal *PortalSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*PortalSession) PaymentToken added in v0.1.11

func (_Portal *PortalSession) PaymentToken() (common.Address, error)

PaymentToken is a free data retrieval call binding the contract method 0x3013ce29.

Solidity: function paymentToken() view returns(address)

func (*PortalSession) RenounceRole added in v0.1.11

func (_Portal *PortalSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*PortalSession) RevokeRole added in v0.1.11

func (_Portal *PortalSession) 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 (*PortalSession) RouterContract added in v0.1.11

func (_Portal *PortalSession) RouterContract() (common.Address, error)

RouterContract is a free data retrieval call binding the contract method 0x4f72d846.

Solidity: function routerContract() view returns(address)

func (*PortalSession) SetMinWithdrawalPeriod added in v0.1.11

func (_Portal *PortalSession) SetMinWithdrawalPeriod(_timeWindow *big.Int) (*types.Transaction, error)

SetMinWithdrawalPeriod is a paid mutator transaction binding the contract method 0x30608f6f.

Solidity: function setMinWithdrawalPeriod(uint256 _timeWindow) returns()

func (*PortalSession) SetPayment added in v0.1.11

func (_Portal *PortalSession) SetPayment(_usdc common.Address, _withdrawalFeeInUsdc *big.Int, _paymentToken common.Address) (*types.Transaction, error)

SetPayment is a paid mutator transaction binding the contract method 0x8de63a56.

Solidity: function setPayment(address _usdc, uint256 _withdrawalFeeInUsdc, address _paymentToken) returns()

func (*PortalSession) SetRouterContract added in v0.1.11

func (_Portal *PortalSession) SetRouterContract(_routerContract common.Address) (*types.Transaction, error)

SetRouterContract is a paid mutator transaction binding the contract method 0x6cc91bca.

Solidity: function setRouterContract(address _routerContract) returns()

func (*PortalSession) SetTreasury added in v0.1.11

func (_Portal *PortalSession) SetTreasury(_treasury common.Address) (*types.Transaction, error)

SetTreasury is a paid mutator transaction binding the contract method 0xf0f44260.

Solidity: function setTreasury(address _treasury) returns()

func (*PortalSession) SupportsInterface added in v0.1.11

func (_Portal *PortalSession) 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 (*PortalSession) Treasury added in v0.1.11

func (_Portal *PortalSession) Treasury() (common.Address, error)

Treasury is a free data retrieval call binding the contract method 0x61d027b3.

Solidity: function treasury() view returns(address)

func (*PortalSession) Unpause added in v0.1.11

func (_Portal *PortalSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*PortalSession) Usdc added in v0.1.11

func (_Portal *PortalSession) Usdc() (common.Address, error)

Usdc is a free data retrieval call binding the contract method 0x3e413bee.

Solidity: function usdc() view returns(address)

func (*PortalSession) Withdraw added in v0.1.11

func (_Portal *PortalSession) Withdraw(_withdrawal Struct2, _signature []byte, _path []common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x95fb7103.

Solidity: function withdraw((address,uint256,uint256,(uint8,address,uint256,uint256)[],bytes) _withdrawal, bytes _signature, address[] _path) returns()

func (*PortalSession) WithdrawNativeToken added in v0.1.11

func (_Portal *PortalSession) WithdrawNativeToken() (*types.Transaction, error)

WithdrawNativeToken is a paid mutator transaction binding the contract method 0x5a18664c.

Solidity: function withdrawNativeToken() returns()

func (*PortalSession) WithdrawToken added in v0.1.11

func (_Portal *PortalSession) WithdrawToken(_token common.Address) (*types.Transaction, error)

WithdrawToken is a paid mutator transaction binding the contract method 0x89476069.

Solidity: function withdrawToken(address _token) returns()

func (*PortalSession) WithdrawalFeeInUsdc added in v0.1.11

func (_Portal *PortalSession) WithdrawalFeeInUsdc() (*big.Int, error)

WithdrawalFeeInUsdc is a free data retrieval call binding the contract method 0x70306e37.

Solidity: function withdrawalFeeInUsdc() view returns(uint256)

type PortalTransactor added in v0.1.11

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

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

func NewPortalTransactor added in v0.1.11

func NewPortalTransactor(address common.Address, transactor bind.ContractTransactor) (*PortalTransactor, error)

NewPortalTransactor creates a new write-only instance of Portal, bound to a specific deployed contract.

func (*PortalTransactor) Deposit added in v0.1.11

func (_Portal *PortalTransactor) Deposit(opts *bind.TransactOpts, _assets []Struct0) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x1253c921.

Solidity: function deposit((uint8,address,uint256,uint256)[] _assets) returns()

func (*PortalTransactor) GrantRole added in v0.1.11

func (_Portal *PortalTransactor) 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 (*PortalTransactor) Initialize added in v0.1.11

func (_Portal *PortalTransactor) Initialize(opts *bind.TransactOpts, _minWithdrawalPeriod *big.Int, _routerContract common.Address, _usdc common.Address, _withdrawalFeeInUsdc *big.Int, _paymentToken common.Address, _treasury common.Address, _owner common.Address, _operators []common.Address) (*types.Transaction, error)

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

Solidity: function initialize(uint256 _minWithdrawalPeriod, address _routerContract, address _usdc, uint256 _withdrawalFeeInUsdc, address _paymentToken, address _treasury, address _owner, address[] _operators) returns()

func (*PortalTransactor) Pause added in v0.1.11

func (_Portal *PortalTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*PortalTransactor) RenounceRole added in v0.1.11

func (_Portal *PortalTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*PortalTransactor) RevokeRole added in v0.1.11

func (_Portal *PortalTransactor) 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 (*PortalTransactor) SetMinWithdrawalPeriod added in v0.1.11

func (_Portal *PortalTransactor) SetMinWithdrawalPeriod(opts *bind.TransactOpts, _timeWindow *big.Int) (*types.Transaction, error)

SetMinWithdrawalPeriod is a paid mutator transaction binding the contract method 0x30608f6f.

Solidity: function setMinWithdrawalPeriod(uint256 _timeWindow) returns()

func (*PortalTransactor) SetPayment added in v0.1.11

func (_Portal *PortalTransactor) SetPayment(opts *bind.TransactOpts, _usdc common.Address, _withdrawalFeeInUsdc *big.Int, _paymentToken common.Address) (*types.Transaction, error)

SetPayment is a paid mutator transaction binding the contract method 0x8de63a56.

Solidity: function setPayment(address _usdc, uint256 _withdrawalFeeInUsdc, address _paymentToken) returns()

func (*PortalTransactor) SetRouterContract added in v0.1.11

func (_Portal *PortalTransactor) SetRouterContract(opts *bind.TransactOpts, _routerContract common.Address) (*types.Transaction, error)

SetRouterContract is a paid mutator transaction binding the contract method 0x6cc91bca.

Solidity: function setRouterContract(address _routerContract) returns()

func (*PortalTransactor) SetTreasury added in v0.1.11

func (_Portal *PortalTransactor) SetTreasury(opts *bind.TransactOpts, _treasury common.Address) (*types.Transaction, error)

SetTreasury is a paid mutator transaction binding the contract method 0xf0f44260.

Solidity: function setTreasury(address _treasury) returns()

func (*PortalTransactor) Unpause added in v0.1.11

func (_Portal *PortalTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*PortalTransactor) Withdraw added in v0.1.11

func (_Portal *PortalTransactor) Withdraw(opts *bind.TransactOpts, _withdrawal Struct2, _signature []byte, _path []common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x95fb7103.

Solidity: function withdraw((address,uint256,uint256,(uint8,address,uint256,uint256)[],bytes) _withdrawal, bytes _signature, address[] _path) returns()

func (*PortalTransactor) WithdrawNativeToken added in v0.1.11

func (_Portal *PortalTransactor) WithdrawNativeToken(opts *bind.TransactOpts) (*types.Transaction, error)

WithdrawNativeToken is a paid mutator transaction binding the contract method 0x5a18664c.

Solidity: function withdrawNativeToken() returns()

func (*PortalTransactor) WithdrawToken added in v0.1.11

func (_Portal *PortalTransactor) WithdrawToken(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

WithdrawToken is a paid mutator transaction binding the contract method 0x89476069.

Solidity: function withdrawToken(address _token) returns()

type PortalTransactorRaw added in v0.1.11

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

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

func (*PortalTransactorRaw) Transact added in v0.1.11

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

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

func (*PortalTransactorRaw) Transfer added in v0.1.11

func (_Portal *PortalTransactorRaw) 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 PortalTransactorSession added in v0.1.11

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

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

func (*PortalTransactorSession) Deposit added in v0.1.11

func (_Portal *PortalTransactorSession) Deposit(_assets []Struct0) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x1253c921.

Solidity: function deposit((uint8,address,uint256,uint256)[] _assets) returns()

func (*PortalTransactorSession) GrantRole added in v0.1.11

func (_Portal *PortalTransactorSession) 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 (*PortalTransactorSession) Initialize added in v0.1.11

func (_Portal *PortalTransactorSession) Initialize(_minWithdrawalPeriod *big.Int, _routerContract common.Address, _usdc common.Address, _withdrawalFeeInUsdc *big.Int, _paymentToken common.Address, _treasury common.Address, _owner common.Address, _operators []common.Address) (*types.Transaction, error)

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

Solidity: function initialize(uint256 _minWithdrawalPeriod, address _routerContract, address _usdc, uint256 _withdrawalFeeInUsdc, address _paymentToken, address _treasury, address _owner, address[] _operators) returns()

func (*PortalTransactorSession) Pause added in v0.1.11

func (_Portal *PortalTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*PortalTransactorSession) RenounceRole added in v0.1.11

func (_Portal *PortalTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*PortalTransactorSession) RevokeRole added in v0.1.11

func (_Portal *PortalTransactorSession) 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 (*PortalTransactorSession) SetMinWithdrawalPeriod added in v0.1.11

func (_Portal *PortalTransactorSession) SetMinWithdrawalPeriod(_timeWindow *big.Int) (*types.Transaction, error)

SetMinWithdrawalPeriod is a paid mutator transaction binding the contract method 0x30608f6f.

Solidity: function setMinWithdrawalPeriod(uint256 _timeWindow) returns()

func (*PortalTransactorSession) SetPayment added in v0.1.11

func (_Portal *PortalTransactorSession) SetPayment(_usdc common.Address, _withdrawalFeeInUsdc *big.Int, _paymentToken common.Address) (*types.Transaction, error)

SetPayment is a paid mutator transaction binding the contract method 0x8de63a56.

Solidity: function setPayment(address _usdc, uint256 _withdrawalFeeInUsdc, address _paymentToken) returns()

func (*PortalTransactorSession) SetRouterContract added in v0.1.11

func (_Portal *PortalTransactorSession) SetRouterContract(_routerContract common.Address) (*types.Transaction, error)

SetRouterContract is a paid mutator transaction binding the contract method 0x6cc91bca.

Solidity: function setRouterContract(address _routerContract) returns()

func (*PortalTransactorSession) SetTreasury added in v0.1.11

func (_Portal *PortalTransactorSession) SetTreasury(_treasury common.Address) (*types.Transaction, error)

SetTreasury is a paid mutator transaction binding the contract method 0xf0f44260.

Solidity: function setTreasury(address _treasury) returns()

func (*PortalTransactorSession) Unpause added in v0.1.11

func (_Portal *PortalTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*PortalTransactorSession) Withdraw added in v0.1.11

func (_Portal *PortalTransactorSession) Withdraw(_withdrawal Struct2, _signature []byte, _path []common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x95fb7103.

Solidity: function withdraw((address,uint256,uint256,(uint8,address,uint256,uint256)[],bytes) _withdrawal, bytes _signature, address[] _path) returns()

func (*PortalTransactorSession) WithdrawNativeToken added in v0.1.11

func (_Portal *PortalTransactorSession) WithdrawNativeToken() (*types.Transaction, error)

WithdrawNativeToken is a paid mutator transaction binding the contract method 0x5a18664c.

Solidity: function withdrawNativeToken() returns()

func (*PortalTransactorSession) WithdrawToken added in v0.1.11

func (_Portal *PortalTransactorSession) WithdrawToken(_token common.Address) (*types.Transaction, error)

WithdrawToken is a paid mutator transaction binding the contract method 0x89476069.

Solidity: function withdrawToken(address _token) returns()

type PortalTreasuryUpdated added in v0.1.11

type PortalTreasuryUpdated struct {
	Arg0 common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

PortalTreasuryUpdated represents a TreasuryUpdated event raised by the Portal contract.

type PortalTreasuryUpdatedIterator added in v0.1.11

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

PortalTreasuryUpdatedIterator is returned from FilterTreasuryUpdated and is used to iterate over the raw logs and unpacked data for TreasuryUpdated events raised by the Portal contract.

func (*PortalTreasuryUpdatedIterator) Close added in v0.1.11

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

func (*PortalTreasuryUpdatedIterator) Error added in v0.1.11

Error returns any retrieval or parsing error occurred during filtering.

func (*PortalTreasuryUpdatedIterator) Next added in v0.1.11

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 PortalUnpaused added in v0.1.11

type PortalUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PortalUnpaused represents a Unpaused event raised by the Portal contract.

type PortalUnpausedIterator added in v0.1.11

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

PortalUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Portal contract.

func (*PortalUnpausedIterator) Close added in v0.1.11

func (it *PortalUnpausedIterator) Close() error

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

func (*PortalUnpausedIterator) Error added in v0.1.11

func (it *PortalUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PortalUnpausedIterator) Next added in v0.1.11

func (it *PortalUnpausedIterator) 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 PortalWithdrew added in v0.1.11

type PortalWithdrew struct {
	Nonce     *big.Int
	Owner     common.Address
	Assets    []Struct0
	ExtraData []byte
	Raw       types.Log // Blockchain specific contextual infos
}

PortalWithdrew represents a Withdrew event raised by the Portal contract.

type PortalWithdrewIterator added in v0.1.11

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

PortalWithdrewIterator is returned from FilterWithdrew and is used to iterate over the raw logs and unpacked data for Withdrew events raised by the Portal contract.

func (*PortalWithdrewIterator) Close added in v0.1.11

func (it *PortalWithdrewIterator) Close() error

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

func (*PortalWithdrewIterator) Error added in v0.1.11

func (it *PortalWithdrewIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PortalWithdrewIterator) Next added in v0.1.11

func (it *PortalWithdrewIterator) 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 RoninBalance

type RoninBalance struct {
	RoninBalanceCaller     // Read-only binding to the contract
	RoninBalanceTransactor // Write-only binding to the contract
	RoninBalanceFilterer   // Log filterer for contract events
}

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

func NewRoninBalance

func NewRoninBalance(address common.Address, backend bind.ContractBackend) (*RoninBalance, error)

NewRoninBalance creates a new instance of RoninBalance, bound to a specific deployed contract.

type RoninBalanceCaller

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

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

func NewRoninBalanceCaller

func NewRoninBalanceCaller(address common.Address, caller bind.ContractCaller) (*RoninBalanceCaller, error)

NewRoninBalanceCaller creates a new read-only instance of RoninBalance, bound to a specific deployed contract.

func (*RoninBalanceCaller) BalanceOf

func (_RoninBalance *RoninBalanceCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

type RoninBalanceCallerRaw

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

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

func (*RoninBalanceCallerRaw) Call

func (_RoninBalance *RoninBalanceCallerRaw) 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 RoninBalanceCallerSession

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

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

func (*RoninBalanceCallerSession) BalanceOf

func (_RoninBalance *RoninBalanceCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

type RoninBalanceFilterer

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

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

func NewRoninBalanceFilterer

func NewRoninBalanceFilterer(address common.Address, filterer bind.ContractFilterer) (*RoninBalanceFilterer, error)

NewRoninBalanceFilterer creates a new log filterer instance of RoninBalance, bound to a specific deployed contract.

type RoninBalanceRaw

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

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

func (*RoninBalanceRaw) Call

func (_RoninBalance *RoninBalanceRaw) 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 (*RoninBalanceRaw) Transact

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

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

func (*RoninBalanceRaw) Transfer

func (_RoninBalance *RoninBalanceRaw) 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 RoninBalanceSession

type RoninBalanceSession struct {
	Contract     *RoninBalance     // 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
}

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

func (*RoninBalanceSession) BalanceOf

func (_RoninBalance *RoninBalanceSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

type RoninBalanceTransactor

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

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

func NewRoninBalanceTransactor

func NewRoninBalanceTransactor(address common.Address, transactor bind.ContractTransactor) (*RoninBalanceTransactor, error)

NewRoninBalanceTransactor creates a new write-only instance of RoninBalance, bound to a specific deployed contract.

type RoninBalanceTransactorRaw

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

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

func (*RoninBalanceTransactorRaw) Transact

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

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

func (*RoninBalanceTransactorRaw) Transfer

func (_RoninBalance *RoninBalanceTransactorRaw) 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 RoninBalanceTransactorSession

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

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

type Slp

type Slp struct {
	SlpCaller     // Read-only binding to the contract
	SlpTransactor // Write-only binding to the contract
	SlpFilterer   // Log filterer for contract events
}

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

func NewSlp

func NewSlp(address common.Address, backend bind.ContractBackend) (*Slp, error)

NewSlp creates a new instance of Slp, bound to a specific deployed contract.

type SlpCaller

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

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

func NewSlpCaller

func NewSlpCaller(address common.Address, caller bind.ContractCaller) (*SlpCaller, error)

NewSlpCaller creates a new read-only instance of Slp, bound to a specific deployed contract.

func (*SlpCaller) BalanceOf

func (_Slp *SlpCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

type SlpCallerRaw

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

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

func (*SlpCallerRaw) Call

func (_Slp *SlpCallerRaw) 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 SlpCallerSession

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

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

func (*SlpCallerSession) BalanceOf

func (_Slp *SlpCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

type SlpFilterer

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

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

func NewSlpFilterer

func NewSlpFilterer(address common.Address, filterer bind.ContractFilterer) (*SlpFilterer, error)

NewSlpFilterer creates a new log filterer instance of Slp, bound to a specific deployed contract.

type SlpRaw

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

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

func (*SlpRaw) Call

func (_Slp *SlpRaw) 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 (*SlpRaw) Transact

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

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

func (*SlpRaw) Transfer

func (_Slp *SlpRaw) 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 SlpSession

type SlpSession struct {
	Contract     *Slp              // 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
}

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

func (*SlpSession) BalanceOf

func (_Slp *SlpSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*SlpSession) Checkpoint

func (_Slp *SlpSession) Checkpoint(_owner common.Address, _amount *big.Int, _createdAt *big.Int, _signature []byte) (*types.Transaction, error)

Checkpoint is a paid mutator transaction binding the contract method 0xd3392ddf.

Solidity: function checkpoint(address _owner, uint256 _amount, uint256 _createdAt, bytes _signature) returns(uint256 _balance)

func (*SlpSession) Transfer

func (_Slp *SlpSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool _success)

type SlpTransactor

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

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

func NewSlpTransactor

func NewSlpTransactor(address common.Address, transactor bind.ContractTransactor) (*SlpTransactor, error)

NewSlpTransactor creates a new write-only instance of Slp, bound to a specific deployed contract.

func (*SlpTransactor) Checkpoint

func (_Slp *SlpTransactor) Checkpoint(opts *bind.TransactOpts, _owner common.Address, _amount *big.Int, _createdAt *big.Int, _signature []byte) (*types.Transaction, error)

Checkpoint is a paid mutator transaction binding the contract method 0xd3392ddf.

Solidity: function checkpoint(address _owner, uint256 _amount, uint256 _createdAt, bytes _signature) returns(uint256 _balance)

func (*SlpTransactor) Transfer

func (_Slp *SlpTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool _success)

type SlpTransactorRaw

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

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

func (*SlpTransactorRaw) Transact

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

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

func (*SlpTransactorRaw) Transfer

func (_Slp *SlpTransactorRaw) 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 SlpTransactorSession

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

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

func (*SlpTransactorSession) Checkpoint

func (_Slp *SlpTransactorSession) Checkpoint(_owner common.Address, _amount *big.Int, _createdAt *big.Int, _signature []byte) (*types.Transaction, error)

Checkpoint is a paid mutator transaction binding the contract method 0xd3392ddf.

Solidity: function checkpoint(address _owner, uint256 _amount, uint256 _createdAt, bytes _signature) returns(uint256 _balance)

func (*SlpTransactorSession) Transfer

func (_Slp *SlpTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool _success)

type Struct0 added in v0.1.11

type Struct0 struct {
	Erc      uint8
	Addr     common.Address
	Id       *big.Int
	Quantity *big.Int
}

Struct0 is an auto generated low-level Go binding around an user-defined struct.

type Struct1 added in v0.1.11

type Struct1 struct {
	Kind      uint8
	Nonce     *big.Int
	Owner     common.Address
	Assets    []Struct0
	ExtraData []byte
}

Struct1 is an auto generated low-level Go binding around an user-defined struct.

type Struct2 added in v0.1.11

type Struct2 struct {
	Owner     common.Address
	Nonce     *big.Int
	ExpiredAt *big.Int
	Assets    []Struct0
	ExtraData []byte
}

Struct2 is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

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