lilypadproxy

package
v2.22.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LilypadProxyABI = LilypadProxyMetaData.ABI

LilypadProxyABI is the input ABI used to generate the binding from. Deprecated: Use LilypadProxyMetaData.ABI instead.

View Source
var LilypadProxyMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"DEFAULT_ADMIN_ROLE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"acceptJobPayment\",\"inputs\":[{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"acceptResourceProviderCollateral\",\"inputs\":[{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"getDeal\",\"inputs\":[{\"name\":\"dealId\",\"type\":\"string\",\"internalType\":\"string\"}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structSharedStructs.Deal\",\"components\":[{\"name\":\"dealId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"jobCreator\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"resourceProvider\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"moduleCreator\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"solver\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"jobOfferCID\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"resourceOfferCID\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"status\",\"type\":\"uint8\",\"internalType\":\"enumSharedStructs.DealStatusEnum\"},{\"name\":\"timestamp\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"paymentStructure\",\"type\":\"tuple\",\"internalType\":\"structSharedStructs.DealPaymentStructure\",\"components\":[{\"name\":\"jobCreatorSolverFee\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"resourceProviderSolverFee\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"networkCongestionFee\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"moduleCreatorFee\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"priceOfJobWithoutFees\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getEscrowBalance\",\"inputs\":[{\"name\":\"_address\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getMinimumResourceProviderCollateralAmount\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getPaymentEngineAddress\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getResult\",\"inputs\":[{\"name\":\"_resultId\",\"type\":\"string\",\"internalType\":\"string\"}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structSharedStructs.Result\",\"components\":[{\"name\":\"resultId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"dealId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"resultCID\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"status\",\"type\":\"uint8\",\"internalType\":\"enumSharedStructs.ResultStatusEnum\"},{\"name\":\"timestamp\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoleAdmin\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getStorageAddress\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getUserAddress\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getVersion\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getl2LilypadTokenAddress\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"grantRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"hasRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"_storageAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_paymentEngineAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_userAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_tokenAddress\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"renounceRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"callerConfirmation\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"revokeRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setDeal\",\"inputs\":[{\"name\":\"deal\",\"type\":\"tuple\",\"internalType\":\"structSharedStructs.Deal\",\"components\":[{\"name\":\"dealId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"jobCreator\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"resourceProvider\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"moduleCreator\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"solver\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"jobOfferCID\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"resourceOfferCID\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"status\",\"type\":\"uint8\",\"internalType\":\"enumSharedStructs.DealStatusEnum\"},{\"name\":\"timestamp\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"paymentStructure\",\"type\":\"tuple\",\"internalType\":\"structSharedStructs.DealPaymentStructure\",\"components\":[{\"name\":\"jobCreatorSolverFee\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"resourceProviderSolverFee\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"networkCongestionFee\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"moduleCreatorFee\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"priceOfJobWithoutFees\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setL2LilypadTokenContract\",\"inputs\":[{\"name\":\"_l2LilypadTokenAddress\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setPaymentEngineContract\",\"inputs\":[{\"name\":\"_paymentEngineAddress\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setResult\",\"inputs\":[{\"name\":\"result\",\"type\":\"tuple\",\"internalType\":\"structSharedStructs.Result\",\"components\":[{\"name\":\"resultId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"dealId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"resultCID\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"status\",\"type\":\"uint8\",\"internalType\":\"enumSharedStructs.ResultStatusEnum\"},{\"name\":\"timestamp\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setStorageContract\",\"inputs\":[{\"name\":\"_storageAddress\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setUserContract\",\"inputs\":[{\"name\":\"_userAddress\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"supportsInterface\",\"inputs\":[{\"name\":\"interfaceId\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"version\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"LilypadProxy__JobCreatorEscrowPayment\",\"inputs\":[{\"name\":\"jobCreator\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"LilypadProxy__JobCreatorInserted\",\"inputs\":[{\"name\":\"jobCreator\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"LilypadProxy__L2LilypadTokenContractUpdated\",\"inputs\":[{\"name\":\"newL2LilypadTokenContract\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"LilypadProxy__PaymentEngineContractUpdated\",\"inputs\":[{\"name\":\"newPaymentEngineContract\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"LilypadProxy__ResourceProviderCollateralPayment\",\"inputs\":[{\"name\":\"resourceProvider\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"LilypadProxy__ResourceProviderInserted\",\"inputs\":[{\"name\":\"resourceProvider\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"LilypadProxy__StorageContractUpdated\",\"inputs\":[{\"name\":\"newStorageContract\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"LilypadProxy__UserContractUpdated\",\"inputs\":[{\"name\":\"newUserContract\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleAdminChanged\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"previousAdminRole\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"newAdminRole\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleGranted\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleRevoked\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"AccessControlBadConfirmation\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"AccessControlUnauthorizedAccount\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"neededRole\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"type\":\"error\",\"name\":\"InvalidInitialization\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"LilypadProxy__DealFailedToLockup\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"LilypadProxy__DealFailedToSave\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"LilypadProxy__NotAuthorizedToGetResult\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"LilypadProxy__NotEnoughAllowance\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"LilypadProxy__ResultFailedToSave\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"LilypadProxy__ZeroAddressNotAllowed\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"LilypadProxy__ZeroAmountNotAllowed\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"LilypadProxy__acceptJobPayment__NotJobCreator\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"LilypadProxy__acceptResourceProviderCollateral__NotResourceProvider\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NotInitializing\",\"inputs\":[]}]",
}

LilypadProxyMetaData contains all meta data concerning the LilypadProxy contract.

Functions

This section is empty.

Types

type LilypadProxy

type LilypadProxy struct {
	LilypadProxyCaller     // Read-only binding to the contract
	LilypadProxyTransactor // Write-only binding to the contract
	LilypadProxyFilterer   // Log filterer for contract events
}

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

func NewLilypadProxy

func NewLilypadProxy(address common.Address, backend bind.ContractBackend) (*LilypadProxy, error)

NewLilypadProxy creates a new instance of LilypadProxy, bound to a specific deployed contract.

type LilypadProxyCaller

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

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

func NewLilypadProxyCaller

func NewLilypadProxyCaller(address common.Address, caller bind.ContractCaller) (*LilypadProxyCaller, error)

NewLilypadProxyCaller creates a new read-only instance of LilypadProxy, bound to a specific deployed contract.

func (*LilypadProxyCaller) DEFAULTADMINROLE

func (_LilypadProxy *LilypadProxyCaller) 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 (*LilypadProxyCaller) GetDeal

func (_LilypadProxy *LilypadProxyCaller) GetDeal(opts *bind.CallOpts, dealId string) (SharedStructsDeal, error)

GetDeal is a free data retrieval call binding the contract method 0xe7079180.

Solidity: function getDeal(string dealId) view returns((string,address,address,address,address,string,string,uint8,uint256,(uint256,uint256,uint256,uint256,uint256)))

func (*LilypadProxyCaller) GetEscrowBalance

func (_LilypadProxy *LilypadProxyCaller) GetEscrowBalance(opts *bind.CallOpts, _address common.Address) (*big.Int, error)

GetEscrowBalance is a free data retrieval call binding the contract method 0x6374b11b.

Solidity: function getEscrowBalance(address _address) view returns(uint256)

func (*LilypadProxyCaller) GetMinimumResourceProviderCollateralAmount

func (_LilypadProxy *LilypadProxyCaller) GetMinimumResourceProviderCollateralAmount(opts *bind.CallOpts) (*big.Int, error)

GetMinimumResourceProviderCollateralAmount is a free data retrieval call binding the contract method 0x457d7171.

Solidity: function getMinimumResourceProviderCollateralAmount() view returns(uint256)

func (*LilypadProxyCaller) GetPaymentEngineAddress

func (_LilypadProxy *LilypadProxyCaller) GetPaymentEngineAddress(opts *bind.CallOpts) (common.Address, error)

GetPaymentEngineAddress is a free data retrieval call binding the contract method 0xf932d450.

Solidity: function getPaymentEngineAddress() view returns(address)

func (*LilypadProxyCaller) GetResult

func (_LilypadProxy *LilypadProxyCaller) GetResult(opts *bind.CallOpts, _resultId string) (SharedStructsResult, error)

GetResult is a free data retrieval call binding the contract method 0x498cc70d.

Solidity: function getResult(string _resultId) view returns((string,string,string,uint8,uint256))

func (*LilypadProxyCaller) GetRoleAdmin

func (_LilypadProxy *LilypadProxyCaller) 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 (*LilypadProxyCaller) GetStorageAddress

func (_LilypadProxy *LilypadProxyCaller) GetStorageAddress(opts *bind.CallOpts) (common.Address, error)

GetStorageAddress is a free data retrieval call binding the contract method 0x393a4d34.

Solidity: function getStorageAddress() view returns(address)

func (*LilypadProxyCaller) GetUserAddress

func (_LilypadProxy *LilypadProxyCaller) GetUserAddress(opts *bind.CallOpts) (common.Address, error)

GetUserAddress is a free data retrieval call binding the contract method 0xebc3eee8.

Solidity: function getUserAddress() view returns(address)

func (*LilypadProxyCaller) GetVersion

func (_LilypadProxy *LilypadProxyCaller) GetVersion(opts *bind.CallOpts) (string, error)

GetVersion is a free data retrieval call binding the contract method 0x0d8e6e2c.

Solidity: function getVersion() view returns(string)

func (*LilypadProxyCaller) Getl2LilypadTokenAddress

func (_LilypadProxy *LilypadProxyCaller) Getl2LilypadTokenAddress(opts *bind.CallOpts) (common.Address, error)

Getl2LilypadTokenAddress is a free data retrieval call binding the contract method 0x336b4fb4.

Solidity: function getl2LilypadTokenAddress() view returns(address)

func (*LilypadProxyCaller) HasRole

func (_LilypadProxy *LilypadProxyCaller) 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 (*LilypadProxyCaller) SupportsInterface

func (_LilypadProxy *LilypadProxyCaller) 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 (*LilypadProxyCaller) Version

func (_LilypadProxy *LilypadProxyCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type LilypadProxyCallerRaw

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

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

func (*LilypadProxyCallerRaw) Call

func (_LilypadProxy *LilypadProxyCallerRaw) 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 LilypadProxyCallerSession

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

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

func (*LilypadProxyCallerSession) DEFAULTADMINROLE

func (_LilypadProxy *LilypadProxyCallerSession) 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 (*LilypadProxyCallerSession) GetDeal

func (_LilypadProxy *LilypadProxyCallerSession) GetDeal(dealId string) (SharedStructsDeal, error)

GetDeal is a free data retrieval call binding the contract method 0xe7079180.

Solidity: function getDeal(string dealId) view returns((string,address,address,address,address,string,string,uint8,uint256,(uint256,uint256,uint256,uint256,uint256)))

func (*LilypadProxyCallerSession) GetEscrowBalance

func (_LilypadProxy *LilypadProxyCallerSession) GetEscrowBalance(_address common.Address) (*big.Int, error)

GetEscrowBalance is a free data retrieval call binding the contract method 0x6374b11b.

Solidity: function getEscrowBalance(address _address) view returns(uint256)

func (*LilypadProxyCallerSession) GetMinimumResourceProviderCollateralAmount

func (_LilypadProxy *LilypadProxyCallerSession) GetMinimumResourceProviderCollateralAmount() (*big.Int, error)

GetMinimumResourceProviderCollateralAmount is a free data retrieval call binding the contract method 0x457d7171.

Solidity: function getMinimumResourceProviderCollateralAmount() view returns(uint256)

func (*LilypadProxyCallerSession) GetPaymentEngineAddress

func (_LilypadProxy *LilypadProxyCallerSession) GetPaymentEngineAddress() (common.Address, error)

GetPaymentEngineAddress is a free data retrieval call binding the contract method 0xf932d450.

Solidity: function getPaymentEngineAddress() view returns(address)

func (*LilypadProxyCallerSession) GetResult

func (_LilypadProxy *LilypadProxyCallerSession) GetResult(_resultId string) (SharedStructsResult, error)

GetResult is a free data retrieval call binding the contract method 0x498cc70d.

Solidity: function getResult(string _resultId) view returns((string,string,string,uint8,uint256))

func (*LilypadProxyCallerSession) GetRoleAdmin

func (_LilypadProxy *LilypadProxyCallerSession) 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 (*LilypadProxyCallerSession) GetStorageAddress

func (_LilypadProxy *LilypadProxyCallerSession) GetStorageAddress() (common.Address, error)

GetStorageAddress is a free data retrieval call binding the contract method 0x393a4d34.

Solidity: function getStorageAddress() view returns(address)

func (*LilypadProxyCallerSession) GetUserAddress

func (_LilypadProxy *LilypadProxyCallerSession) GetUserAddress() (common.Address, error)

GetUserAddress is a free data retrieval call binding the contract method 0xebc3eee8.

Solidity: function getUserAddress() view returns(address)

func (*LilypadProxyCallerSession) GetVersion

func (_LilypadProxy *LilypadProxyCallerSession) GetVersion() (string, error)

GetVersion is a free data retrieval call binding the contract method 0x0d8e6e2c.

Solidity: function getVersion() view returns(string)

func (*LilypadProxyCallerSession) Getl2LilypadTokenAddress

func (_LilypadProxy *LilypadProxyCallerSession) Getl2LilypadTokenAddress() (common.Address, error)

Getl2LilypadTokenAddress is a free data retrieval call binding the contract method 0x336b4fb4.

Solidity: function getl2LilypadTokenAddress() view returns(address)

func (*LilypadProxyCallerSession) HasRole

func (_LilypadProxy *LilypadProxyCallerSession) 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 (*LilypadProxyCallerSession) SupportsInterface

func (_LilypadProxy *LilypadProxyCallerSession) 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 (*LilypadProxyCallerSession) Version

func (_LilypadProxy *LilypadProxyCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type LilypadProxyFilterer

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

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

func NewLilypadProxyFilterer

func NewLilypadProxyFilterer(address common.Address, filterer bind.ContractFilterer) (*LilypadProxyFilterer, error)

NewLilypadProxyFilterer creates a new log filterer instance of LilypadProxy, bound to a specific deployed contract.

func (*LilypadProxyFilterer) FilterInitialized

func (_LilypadProxy *LilypadProxyFilterer) FilterInitialized(opts *bind.FilterOpts) (*LilypadProxyInitializedIterator, error)

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

Solidity: event Initialized(uint64 version)

func (*LilypadProxyFilterer) FilterLilypadProxyJobCreatorEscrowPayment

func (_LilypadProxy *LilypadProxyFilterer) FilterLilypadProxyJobCreatorEscrowPayment(opts *bind.FilterOpts, jobCreator []common.Address) (*LilypadProxyLilypadProxyJobCreatorEscrowPaymentIterator, error)

FilterLilypadProxyJobCreatorEscrowPayment is a free log retrieval operation binding the contract event 0x7cc822bca116608144e9e02e9421260014477ffacfba53e62226c835aea12e38.

Solidity: event LilypadProxy__JobCreatorEscrowPayment(address indexed jobCreator, uint256 amount)

func (*LilypadProxyFilterer) FilterLilypadProxyJobCreatorInserted

func (_LilypadProxy *LilypadProxyFilterer) FilterLilypadProxyJobCreatorInserted(opts *bind.FilterOpts, jobCreator []common.Address) (*LilypadProxyLilypadProxyJobCreatorInsertedIterator, error)

FilterLilypadProxyJobCreatorInserted is a free log retrieval operation binding the contract event 0xa03c73bf251171248c56d7e56efb4dff8caabd2cc76aa6362911fd344d2cef45.

Solidity: event LilypadProxy__JobCreatorInserted(address indexed jobCreator)

func (*LilypadProxyFilterer) FilterLilypadProxyL2LilypadTokenContractUpdated

func (_LilypadProxy *LilypadProxyFilterer) FilterLilypadProxyL2LilypadTokenContractUpdated(opts *bind.FilterOpts, newL2LilypadTokenContract []common.Address) (*LilypadProxyLilypadProxyL2LilypadTokenContractUpdatedIterator, error)

FilterLilypadProxyL2LilypadTokenContractUpdated is a free log retrieval operation binding the contract event 0x50079846b1fb6cc26beb57dfb2d3492b692a752071682edf42e18ad2a460905b.

Solidity: event LilypadProxy__L2LilypadTokenContractUpdated(address indexed newL2LilypadTokenContract)

func (*LilypadProxyFilterer) FilterLilypadProxyPaymentEngineContractUpdated

func (_LilypadProxy *LilypadProxyFilterer) FilterLilypadProxyPaymentEngineContractUpdated(opts *bind.FilterOpts, newPaymentEngineContract []common.Address) (*LilypadProxyLilypadProxyPaymentEngineContractUpdatedIterator, error)

FilterLilypadProxyPaymentEngineContractUpdated is a free log retrieval operation binding the contract event 0x2d73c3ee170ad11f36947daf136d0ce8fb731a7a03e86862115dcd0a097a3b4e.

Solidity: event LilypadProxy__PaymentEngineContractUpdated(address indexed newPaymentEngineContract)

func (*LilypadProxyFilterer) FilterLilypadProxyResourceProviderCollateralPayment

func (_LilypadProxy *LilypadProxyFilterer) FilterLilypadProxyResourceProviderCollateralPayment(opts *bind.FilterOpts, resourceProvider []common.Address) (*LilypadProxyLilypadProxyResourceProviderCollateralPaymentIterator, error)

FilterLilypadProxyResourceProviderCollateralPayment is a free log retrieval operation binding the contract event 0x9a73f16cd498fba2fb90f676ce8eed075770707ee29bac8e6dec321cde49b583.

Solidity: event LilypadProxy__ResourceProviderCollateralPayment(address indexed resourceProvider, uint256 amount)

func (*LilypadProxyFilterer) FilterLilypadProxyResourceProviderInserted

func (_LilypadProxy *LilypadProxyFilterer) FilterLilypadProxyResourceProviderInserted(opts *bind.FilterOpts, resourceProvider []common.Address) (*LilypadProxyLilypadProxyResourceProviderInsertedIterator, error)

FilterLilypadProxyResourceProviderInserted is a free log retrieval operation binding the contract event 0x8364be879e1ecb73f6498bb5ec867cfc192860269a248a9a90aa82ae1576052e.

Solidity: event LilypadProxy__ResourceProviderInserted(address indexed resourceProvider)

func (*LilypadProxyFilterer) FilterLilypadProxyStorageContractUpdated

func (_LilypadProxy *LilypadProxyFilterer) FilterLilypadProxyStorageContractUpdated(opts *bind.FilterOpts, newStorageContract []common.Address) (*LilypadProxyLilypadProxyStorageContractUpdatedIterator, error)

FilterLilypadProxyStorageContractUpdated is a free log retrieval operation binding the contract event 0x0313754bfeeb7de8b45b7448f3827f596f2dce8f32a2021dc9d6188477bfbaf7.

Solidity: event LilypadProxy__StorageContractUpdated(address indexed newStorageContract)

func (*LilypadProxyFilterer) FilterLilypadProxyUserContractUpdated

func (_LilypadProxy *LilypadProxyFilterer) FilterLilypadProxyUserContractUpdated(opts *bind.FilterOpts, newUserContract []common.Address) (*LilypadProxyLilypadProxyUserContractUpdatedIterator, error)

FilterLilypadProxyUserContractUpdated is a free log retrieval operation binding the contract event 0xa7a003a0e920651bf4d23ca4aeaaab17096ccd02622e07532b0343b33bf00da8.

Solidity: event LilypadProxy__UserContractUpdated(address indexed newUserContract)

func (*LilypadProxyFilterer) FilterRoleAdminChanged

func (_LilypadProxy *LilypadProxyFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*LilypadProxyRoleAdminChangedIterator, 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 (*LilypadProxyFilterer) FilterRoleGranted

func (_LilypadProxy *LilypadProxyFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*LilypadProxyRoleGrantedIterator, 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 (*LilypadProxyFilterer) FilterRoleRevoked

func (_LilypadProxy *LilypadProxyFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*LilypadProxyRoleRevokedIterator, 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 (*LilypadProxyFilterer) ParseInitialized

func (_LilypadProxy *LilypadProxyFilterer) ParseInitialized(log types.Log) (*LilypadProxyInitialized, error)

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

Solidity: event Initialized(uint64 version)

func (*LilypadProxyFilterer) ParseLilypadProxyJobCreatorEscrowPayment

func (_LilypadProxy *LilypadProxyFilterer) ParseLilypadProxyJobCreatorEscrowPayment(log types.Log) (*LilypadProxyLilypadProxyJobCreatorEscrowPayment, error)

ParseLilypadProxyJobCreatorEscrowPayment is a log parse operation binding the contract event 0x7cc822bca116608144e9e02e9421260014477ffacfba53e62226c835aea12e38.

Solidity: event LilypadProxy__JobCreatorEscrowPayment(address indexed jobCreator, uint256 amount)

func (*LilypadProxyFilterer) ParseLilypadProxyJobCreatorInserted

func (_LilypadProxy *LilypadProxyFilterer) ParseLilypadProxyJobCreatorInserted(log types.Log) (*LilypadProxyLilypadProxyJobCreatorInserted, error)

ParseLilypadProxyJobCreatorInserted is a log parse operation binding the contract event 0xa03c73bf251171248c56d7e56efb4dff8caabd2cc76aa6362911fd344d2cef45.

Solidity: event LilypadProxy__JobCreatorInserted(address indexed jobCreator)

func (*LilypadProxyFilterer) ParseLilypadProxyL2LilypadTokenContractUpdated

func (_LilypadProxy *LilypadProxyFilterer) ParseLilypadProxyL2LilypadTokenContractUpdated(log types.Log) (*LilypadProxyLilypadProxyL2LilypadTokenContractUpdated, error)

ParseLilypadProxyL2LilypadTokenContractUpdated is a log parse operation binding the contract event 0x50079846b1fb6cc26beb57dfb2d3492b692a752071682edf42e18ad2a460905b.

Solidity: event LilypadProxy__L2LilypadTokenContractUpdated(address indexed newL2LilypadTokenContract)

func (*LilypadProxyFilterer) ParseLilypadProxyPaymentEngineContractUpdated

func (_LilypadProxy *LilypadProxyFilterer) ParseLilypadProxyPaymentEngineContractUpdated(log types.Log) (*LilypadProxyLilypadProxyPaymentEngineContractUpdated, error)

ParseLilypadProxyPaymentEngineContractUpdated is a log parse operation binding the contract event 0x2d73c3ee170ad11f36947daf136d0ce8fb731a7a03e86862115dcd0a097a3b4e.

Solidity: event LilypadProxy__PaymentEngineContractUpdated(address indexed newPaymentEngineContract)

func (*LilypadProxyFilterer) ParseLilypadProxyResourceProviderCollateralPayment

func (_LilypadProxy *LilypadProxyFilterer) ParseLilypadProxyResourceProviderCollateralPayment(log types.Log) (*LilypadProxyLilypadProxyResourceProviderCollateralPayment, error)

ParseLilypadProxyResourceProviderCollateralPayment is a log parse operation binding the contract event 0x9a73f16cd498fba2fb90f676ce8eed075770707ee29bac8e6dec321cde49b583.

Solidity: event LilypadProxy__ResourceProviderCollateralPayment(address indexed resourceProvider, uint256 amount)

func (*LilypadProxyFilterer) ParseLilypadProxyResourceProviderInserted

func (_LilypadProxy *LilypadProxyFilterer) ParseLilypadProxyResourceProviderInserted(log types.Log) (*LilypadProxyLilypadProxyResourceProviderInserted, error)

ParseLilypadProxyResourceProviderInserted is a log parse operation binding the contract event 0x8364be879e1ecb73f6498bb5ec867cfc192860269a248a9a90aa82ae1576052e.

Solidity: event LilypadProxy__ResourceProviderInserted(address indexed resourceProvider)

func (*LilypadProxyFilterer) ParseLilypadProxyStorageContractUpdated

func (_LilypadProxy *LilypadProxyFilterer) ParseLilypadProxyStorageContractUpdated(log types.Log) (*LilypadProxyLilypadProxyStorageContractUpdated, error)

ParseLilypadProxyStorageContractUpdated is a log parse operation binding the contract event 0x0313754bfeeb7de8b45b7448f3827f596f2dce8f32a2021dc9d6188477bfbaf7.

Solidity: event LilypadProxy__StorageContractUpdated(address indexed newStorageContract)

func (*LilypadProxyFilterer) ParseLilypadProxyUserContractUpdated

func (_LilypadProxy *LilypadProxyFilterer) ParseLilypadProxyUserContractUpdated(log types.Log) (*LilypadProxyLilypadProxyUserContractUpdated, error)

ParseLilypadProxyUserContractUpdated is a log parse operation binding the contract event 0xa7a003a0e920651bf4d23ca4aeaaab17096ccd02622e07532b0343b33bf00da8.

Solidity: event LilypadProxy__UserContractUpdated(address indexed newUserContract)

func (*LilypadProxyFilterer) ParseRoleAdminChanged

func (_LilypadProxy *LilypadProxyFilterer) ParseRoleAdminChanged(log types.Log) (*LilypadProxyRoleAdminChanged, 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 (*LilypadProxyFilterer) ParseRoleGranted

func (_LilypadProxy *LilypadProxyFilterer) ParseRoleGranted(log types.Log) (*LilypadProxyRoleGranted, 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 (*LilypadProxyFilterer) ParseRoleRevoked

func (_LilypadProxy *LilypadProxyFilterer) ParseRoleRevoked(log types.Log) (*LilypadProxyRoleRevoked, 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 (*LilypadProxyFilterer) WatchInitialized

func (_LilypadProxy *LilypadProxyFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *LilypadProxyInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint64 version)

func (*LilypadProxyFilterer) WatchLilypadProxyJobCreatorEscrowPayment

func (_LilypadProxy *LilypadProxyFilterer) WatchLilypadProxyJobCreatorEscrowPayment(opts *bind.WatchOpts, sink chan<- *LilypadProxyLilypadProxyJobCreatorEscrowPayment, jobCreator []common.Address) (event.Subscription, error)

WatchLilypadProxyJobCreatorEscrowPayment is a free log subscription operation binding the contract event 0x7cc822bca116608144e9e02e9421260014477ffacfba53e62226c835aea12e38.

Solidity: event LilypadProxy__JobCreatorEscrowPayment(address indexed jobCreator, uint256 amount)

func (*LilypadProxyFilterer) WatchLilypadProxyJobCreatorInserted

func (_LilypadProxy *LilypadProxyFilterer) WatchLilypadProxyJobCreatorInserted(opts *bind.WatchOpts, sink chan<- *LilypadProxyLilypadProxyJobCreatorInserted, jobCreator []common.Address) (event.Subscription, error)

WatchLilypadProxyJobCreatorInserted is a free log subscription operation binding the contract event 0xa03c73bf251171248c56d7e56efb4dff8caabd2cc76aa6362911fd344d2cef45.

Solidity: event LilypadProxy__JobCreatorInserted(address indexed jobCreator)

func (*LilypadProxyFilterer) WatchLilypadProxyL2LilypadTokenContractUpdated

func (_LilypadProxy *LilypadProxyFilterer) WatchLilypadProxyL2LilypadTokenContractUpdated(opts *bind.WatchOpts, sink chan<- *LilypadProxyLilypadProxyL2LilypadTokenContractUpdated, newL2LilypadTokenContract []common.Address) (event.Subscription, error)

WatchLilypadProxyL2LilypadTokenContractUpdated is a free log subscription operation binding the contract event 0x50079846b1fb6cc26beb57dfb2d3492b692a752071682edf42e18ad2a460905b.

Solidity: event LilypadProxy__L2LilypadTokenContractUpdated(address indexed newL2LilypadTokenContract)

func (*LilypadProxyFilterer) WatchLilypadProxyPaymentEngineContractUpdated

func (_LilypadProxy *LilypadProxyFilterer) WatchLilypadProxyPaymentEngineContractUpdated(opts *bind.WatchOpts, sink chan<- *LilypadProxyLilypadProxyPaymentEngineContractUpdated, newPaymentEngineContract []common.Address) (event.Subscription, error)

WatchLilypadProxyPaymentEngineContractUpdated is a free log subscription operation binding the contract event 0x2d73c3ee170ad11f36947daf136d0ce8fb731a7a03e86862115dcd0a097a3b4e.

Solidity: event LilypadProxy__PaymentEngineContractUpdated(address indexed newPaymentEngineContract)

func (*LilypadProxyFilterer) WatchLilypadProxyResourceProviderCollateralPayment

func (_LilypadProxy *LilypadProxyFilterer) WatchLilypadProxyResourceProviderCollateralPayment(opts *bind.WatchOpts, sink chan<- *LilypadProxyLilypadProxyResourceProviderCollateralPayment, resourceProvider []common.Address) (event.Subscription, error)

WatchLilypadProxyResourceProviderCollateralPayment is a free log subscription operation binding the contract event 0x9a73f16cd498fba2fb90f676ce8eed075770707ee29bac8e6dec321cde49b583.

Solidity: event LilypadProxy__ResourceProviderCollateralPayment(address indexed resourceProvider, uint256 amount)

func (*LilypadProxyFilterer) WatchLilypadProxyResourceProviderInserted

func (_LilypadProxy *LilypadProxyFilterer) WatchLilypadProxyResourceProviderInserted(opts *bind.WatchOpts, sink chan<- *LilypadProxyLilypadProxyResourceProviderInserted, resourceProvider []common.Address) (event.Subscription, error)

WatchLilypadProxyResourceProviderInserted is a free log subscription operation binding the contract event 0x8364be879e1ecb73f6498bb5ec867cfc192860269a248a9a90aa82ae1576052e.

Solidity: event LilypadProxy__ResourceProviderInserted(address indexed resourceProvider)

func (*LilypadProxyFilterer) WatchLilypadProxyStorageContractUpdated

func (_LilypadProxy *LilypadProxyFilterer) WatchLilypadProxyStorageContractUpdated(opts *bind.WatchOpts, sink chan<- *LilypadProxyLilypadProxyStorageContractUpdated, newStorageContract []common.Address) (event.Subscription, error)

WatchLilypadProxyStorageContractUpdated is a free log subscription operation binding the contract event 0x0313754bfeeb7de8b45b7448f3827f596f2dce8f32a2021dc9d6188477bfbaf7.

Solidity: event LilypadProxy__StorageContractUpdated(address indexed newStorageContract)

func (*LilypadProxyFilterer) WatchLilypadProxyUserContractUpdated

func (_LilypadProxy *LilypadProxyFilterer) WatchLilypadProxyUserContractUpdated(opts *bind.WatchOpts, sink chan<- *LilypadProxyLilypadProxyUserContractUpdated, newUserContract []common.Address) (event.Subscription, error)

WatchLilypadProxyUserContractUpdated is a free log subscription operation binding the contract event 0xa7a003a0e920651bf4d23ca4aeaaab17096ccd02622e07532b0343b33bf00da8.

Solidity: event LilypadProxy__UserContractUpdated(address indexed newUserContract)

func (*LilypadProxyFilterer) WatchRoleAdminChanged

func (_LilypadProxy *LilypadProxyFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *LilypadProxyRoleAdminChanged, 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 (*LilypadProxyFilterer) WatchRoleGranted

func (_LilypadProxy *LilypadProxyFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *LilypadProxyRoleGranted, 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 (*LilypadProxyFilterer) WatchRoleRevoked

func (_LilypadProxy *LilypadProxyFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *LilypadProxyRoleRevoked, 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)

type LilypadProxyInitialized

type LilypadProxyInitialized struct {
	Version uint64
	Raw     types.Log // Blockchain specific contextual infos
}

LilypadProxyInitialized represents a Initialized event raised by the LilypadProxy contract.

type LilypadProxyInitializedIterator

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

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

func (*LilypadProxyInitializedIterator) Close

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

func (*LilypadProxyInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LilypadProxyInitializedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LilypadProxyLilypadProxyJobCreatorEscrowPayment

type LilypadProxyLilypadProxyJobCreatorEscrowPayment struct {
	JobCreator common.Address
	Amount     *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

LilypadProxyLilypadProxyJobCreatorEscrowPayment represents a LilypadProxyJobCreatorEscrowPayment event raised by the LilypadProxy contract.

type LilypadProxyLilypadProxyJobCreatorEscrowPaymentIterator

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

LilypadProxyLilypadProxyJobCreatorEscrowPaymentIterator is returned from FilterLilypadProxyJobCreatorEscrowPayment and is used to iterate over the raw logs and unpacked data for LilypadProxyJobCreatorEscrowPayment events raised by the LilypadProxy contract.

func (*LilypadProxyLilypadProxyJobCreatorEscrowPaymentIterator) Close

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

func (*LilypadProxyLilypadProxyJobCreatorEscrowPaymentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LilypadProxyLilypadProxyJobCreatorEscrowPaymentIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LilypadProxyLilypadProxyJobCreatorInserted

type LilypadProxyLilypadProxyJobCreatorInserted struct {
	JobCreator common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

LilypadProxyLilypadProxyJobCreatorInserted represents a LilypadProxyJobCreatorInserted event raised by the LilypadProxy contract.

type LilypadProxyLilypadProxyJobCreatorInsertedIterator

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

LilypadProxyLilypadProxyJobCreatorInsertedIterator is returned from FilterLilypadProxyJobCreatorInserted and is used to iterate over the raw logs and unpacked data for LilypadProxyJobCreatorInserted events raised by the LilypadProxy contract.

func (*LilypadProxyLilypadProxyJobCreatorInsertedIterator) Close

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

func (*LilypadProxyLilypadProxyJobCreatorInsertedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LilypadProxyLilypadProxyJobCreatorInsertedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LilypadProxyLilypadProxyL2LilypadTokenContractUpdated

type LilypadProxyLilypadProxyL2LilypadTokenContractUpdated struct {
	NewL2LilypadTokenContract common.Address
	Raw                       types.Log // Blockchain specific contextual infos
}

LilypadProxyLilypadProxyL2LilypadTokenContractUpdated represents a LilypadProxyL2LilypadTokenContractUpdated event raised by the LilypadProxy contract.

type LilypadProxyLilypadProxyL2LilypadTokenContractUpdatedIterator

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

LilypadProxyLilypadProxyL2LilypadTokenContractUpdatedIterator is returned from FilterLilypadProxyL2LilypadTokenContractUpdated and is used to iterate over the raw logs and unpacked data for LilypadProxyL2LilypadTokenContractUpdated events raised by the LilypadProxy contract.

func (*LilypadProxyLilypadProxyL2LilypadTokenContractUpdatedIterator) Close

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

func (*LilypadProxyLilypadProxyL2LilypadTokenContractUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LilypadProxyLilypadProxyL2LilypadTokenContractUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LilypadProxyLilypadProxyPaymentEngineContractUpdated

type LilypadProxyLilypadProxyPaymentEngineContractUpdated struct {
	NewPaymentEngineContract common.Address
	Raw                      types.Log // Blockchain specific contextual infos
}

LilypadProxyLilypadProxyPaymentEngineContractUpdated represents a LilypadProxyPaymentEngineContractUpdated event raised by the LilypadProxy contract.

type LilypadProxyLilypadProxyPaymentEngineContractUpdatedIterator

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

LilypadProxyLilypadProxyPaymentEngineContractUpdatedIterator is returned from FilterLilypadProxyPaymentEngineContractUpdated and is used to iterate over the raw logs and unpacked data for LilypadProxyPaymentEngineContractUpdated events raised by the LilypadProxy contract.

func (*LilypadProxyLilypadProxyPaymentEngineContractUpdatedIterator) Close

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

func (*LilypadProxyLilypadProxyPaymentEngineContractUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LilypadProxyLilypadProxyPaymentEngineContractUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LilypadProxyLilypadProxyResourceProviderCollateralPayment

type LilypadProxyLilypadProxyResourceProviderCollateralPayment struct {
	ResourceProvider common.Address
	Amount           *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

LilypadProxyLilypadProxyResourceProviderCollateralPayment represents a LilypadProxyResourceProviderCollateralPayment event raised by the LilypadProxy contract.

type LilypadProxyLilypadProxyResourceProviderCollateralPaymentIterator

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

LilypadProxyLilypadProxyResourceProviderCollateralPaymentIterator is returned from FilterLilypadProxyResourceProviderCollateralPayment and is used to iterate over the raw logs and unpacked data for LilypadProxyResourceProviderCollateralPayment events raised by the LilypadProxy contract.

func (*LilypadProxyLilypadProxyResourceProviderCollateralPaymentIterator) Close

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

func (*LilypadProxyLilypadProxyResourceProviderCollateralPaymentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LilypadProxyLilypadProxyResourceProviderCollateralPaymentIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LilypadProxyLilypadProxyResourceProviderInserted

type LilypadProxyLilypadProxyResourceProviderInserted struct {
	ResourceProvider common.Address
	Raw              types.Log // Blockchain specific contextual infos
}

LilypadProxyLilypadProxyResourceProviderInserted represents a LilypadProxyResourceProviderInserted event raised by the LilypadProxy contract.

type LilypadProxyLilypadProxyResourceProviderInsertedIterator

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

LilypadProxyLilypadProxyResourceProviderInsertedIterator is returned from FilterLilypadProxyResourceProviderInserted and is used to iterate over the raw logs and unpacked data for LilypadProxyResourceProviderInserted events raised by the LilypadProxy contract.

func (*LilypadProxyLilypadProxyResourceProviderInsertedIterator) Close

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

func (*LilypadProxyLilypadProxyResourceProviderInsertedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LilypadProxyLilypadProxyResourceProviderInsertedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LilypadProxyLilypadProxyStorageContractUpdated

type LilypadProxyLilypadProxyStorageContractUpdated struct {
	NewStorageContract common.Address
	Raw                types.Log // Blockchain specific contextual infos
}

LilypadProxyLilypadProxyStorageContractUpdated represents a LilypadProxyStorageContractUpdated event raised by the LilypadProxy contract.

type LilypadProxyLilypadProxyStorageContractUpdatedIterator

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

LilypadProxyLilypadProxyStorageContractUpdatedIterator is returned from FilterLilypadProxyStorageContractUpdated and is used to iterate over the raw logs and unpacked data for LilypadProxyStorageContractUpdated events raised by the LilypadProxy contract.

func (*LilypadProxyLilypadProxyStorageContractUpdatedIterator) Close

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

func (*LilypadProxyLilypadProxyStorageContractUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LilypadProxyLilypadProxyStorageContractUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LilypadProxyLilypadProxyUserContractUpdated

type LilypadProxyLilypadProxyUserContractUpdated struct {
	NewUserContract common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

LilypadProxyLilypadProxyUserContractUpdated represents a LilypadProxyUserContractUpdated event raised by the LilypadProxy contract.

type LilypadProxyLilypadProxyUserContractUpdatedIterator

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

LilypadProxyLilypadProxyUserContractUpdatedIterator is returned from FilterLilypadProxyUserContractUpdated and is used to iterate over the raw logs and unpacked data for LilypadProxyUserContractUpdated events raised by the LilypadProxy contract.

func (*LilypadProxyLilypadProxyUserContractUpdatedIterator) Close

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

func (*LilypadProxyLilypadProxyUserContractUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LilypadProxyLilypadProxyUserContractUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LilypadProxyRaw

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

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

func (*LilypadProxyRaw) Call

func (_LilypadProxy *LilypadProxyRaw) 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 (*LilypadProxyRaw) Transact

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

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

func (*LilypadProxyRaw) Transfer

func (_LilypadProxy *LilypadProxyRaw) 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 LilypadProxyRoleAdminChanged

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

LilypadProxyRoleAdminChanged represents a RoleAdminChanged event raised by the LilypadProxy contract.

type LilypadProxyRoleAdminChangedIterator

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

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

func (*LilypadProxyRoleAdminChangedIterator) Close

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

func (*LilypadProxyRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LilypadProxyRoleAdminChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LilypadProxyRoleGranted

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

LilypadProxyRoleGranted represents a RoleGranted event raised by the LilypadProxy contract.

type LilypadProxyRoleGrantedIterator

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

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

func (*LilypadProxyRoleGrantedIterator) Close

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

func (*LilypadProxyRoleGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LilypadProxyRoleGrantedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LilypadProxyRoleRevoked

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

LilypadProxyRoleRevoked represents a RoleRevoked event raised by the LilypadProxy contract.

type LilypadProxyRoleRevokedIterator

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

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

func (*LilypadProxyRoleRevokedIterator) Close

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

func (*LilypadProxyRoleRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LilypadProxyRoleRevokedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LilypadProxySession

type LilypadProxySession struct {
	Contract     *LilypadProxy     // 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
}

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

func (*LilypadProxySession) AcceptJobPayment

func (_LilypadProxy *LilypadProxySession) AcceptJobPayment(_amount *big.Int) (*types.Transaction, error)

AcceptJobPayment is a paid mutator transaction binding the contract method 0x00e8d4d0.

Solidity: function acceptJobPayment(uint256 _amount) returns(bool)

func (*LilypadProxySession) AcceptResourceProviderCollateral

func (_LilypadProxy *LilypadProxySession) AcceptResourceProviderCollateral(_amount *big.Int) (*types.Transaction, error)

AcceptResourceProviderCollateral is a paid mutator transaction binding the contract method 0xa983cb75.

Solidity: function acceptResourceProviderCollateral(uint256 _amount) returns(bool)

func (*LilypadProxySession) DEFAULTADMINROLE

func (_LilypadProxy *LilypadProxySession) 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 (*LilypadProxySession) GetDeal

func (_LilypadProxy *LilypadProxySession) GetDeal(dealId string) (SharedStructsDeal, error)

GetDeal is a free data retrieval call binding the contract method 0xe7079180.

Solidity: function getDeal(string dealId) view returns((string,address,address,address,address,string,string,uint8,uint256,(uint256,uint256,uint256,uint256,uint256)))

func (*LilypadProxySession) GetEscrowBalance

func (_LilypadProxy *LilypadProxySession) GetEscrowBalance(_address common.Address) (*big.Int, error)

GetEscrowBalance is a free data retrieval call binding the contract method 0x6374b11b.

Solidity: function getEscrowBalance(address _address) view returns(uint256)

func (*LilypadProxySession) GetMinimumResourceProviderCollateralAmount

func (_LilypadProxy *LilypadProxySession) GetMinimumResourceProviderCollateralAmount() (*big.Int, error)

GetMinimumResourceProviderCollateralAmount is a free data retrieval call binding the contract method 0x457d7171.

Solidity: function getMinimumResourceProviderCollateralAmount() view returns(uint256)

func (*LilypadProxySession) GetPaymentEngineAddress

func (_LilypadProxy *LilypadProxySession) GetPaymentEngineAddress() (common.Address, error)

GetPaymentEngineAddress is a free data retrieval call binding the contract method 0xf932d450.

Solidity: function getPaymentEngineAddress() view returns(address)

func (*LilypadProxySession) GetResult

func (_LilypadProxy *LilypadProxySession) GetResult(_resultId string) (SharedStructsResult, error)

GetResult is a free data retrieval call binding the contract method 0x498cc70d.

Solidity: function getResult(string _resultId) view returns((string,string,string,uint8,uint256))

func (*LilypadProxySession) GetRoleAdmin

func (_LilypadProxy *LilypadProxySession) 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 (*LilypadProxySession) GetStorageAddress

func (_LilypadProxy *LilypadProxySession) GetStorageAddress() (common.Address, error)

GetStorageAddress is a free data retrieval call binding the contract method 0x393a4d34.

Solidity: function getStorageAddress() view returns(address)

func (*LilypadProxySession) GetUserAddress

func (_LilypadProxy *LilypadProxySession) GetUserAddress() (common.Address, error)

GetUserAddress is a free data retrieval call binding the contract method 0xebc3eee8.

Solidity: function getUserAddress() view returns(address)

func (*LilypadProxySession) GetVersion

func (_LilypadProxy *LilypadProxySession) GetVersion() (string, error)

GetVersion is a free data retrieval call binding the contract method 0x0d8e6e2c.

Solidity: function getVersion() view returns(string)

func (*LilypadProxySession) Getl2LilypadTokenAddress

func (_LilypadProxy *LilypadProxySession) Getl2LilypadTokenAddress() (common.Address, error)

Getl2LilypadTokenAddress is a free data retrieval call binding the contract method 0x336b4fb4.

Solidity: function getl2LilypadTokenAddress() view returns(address)

func (*LilypadProxySession) GrantRole

func (_LilypadProxy *LilypadProxySession) 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 (*LilypadProxySession) HasRole

func (_LilypadProxy *LilypadProxySession) 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 (*LilypadProxySession) Initialize

func (_LilypadProxy *LilypadProxySession) Initialize(_storageAddress common.Address, _paymentEngineAddress common.Address, _userAddress common.Address, _tokenAddress common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _storageAddress, address _paymentEngineAddress, address _userAddress, address _tokenAddress) returns()

func (*LilypadProxySession) RenounceRole

func (_LilypadProxy *LilypadProxySession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)

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

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

func (*LilypadProxySession) RevokeRole

func (_LilypadProxy *LilypadProxySession) 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 (*LilypadProxySession) SetDeal

func (_LilypadProxy *LilypadProxySession) SetDeal(deal SharedStructsDeal) (*types.Transaction, error)

SetDeal is a paid mutator transaction binding the contract method 0xd6fae778.

Solidity: function setDeal((string,address,address,address,address,string,string,uint8,uint256,(uint256,uint256,uint256,uint256,uint256)) deal) returns(bool)

func (*LilypadProxySession) SetL2LilypadTokenContract

func (_LilypadProxy *LilypadProxySession) SetL2LilypadTokenContract(_l2LilypadTokenAddress common.Address) (*types.Transaction, error)

SetL2LilypadTokenContract is a paid mutator transaction binding the contract method 0x8f39c9b5.

Solidity: function setL2LilypadTokenContract(address _l2LilypadTokenAddress) returns(bool)

func (*LilypadProxySession) SetPaymentEngineContract

func (_LilypadProxy *LilypadProxySession) SetPaymentEngineContract(_paymentEngineAddress common.Address) (*types.Transaction, error)

SetPaymentEngineContract is a paid mutator transaction binding the contract method 0x099639c2.

Solidity: function setPaymentEngineContract(address _paymentEngineAddress) returns(bool)

func (*LilypadProxySession) SetResult

func (_LilypadProxy *LilypadProxySession) SetResult(result SharedStructsResult) (*types.Transaction, error)

SetResult is a paid mutator transaction binding the contract method 0x9d3d78d0.

Solidity: function setResult((string,string,string,uint8,uint256) result) returns(bool)

func (*LilypadProxySession) SetStorageContract

func (_LilypadProxy *LilypadProxySession) SetStorageContract(_storageAddress common.Address) (*types.Transaction, error)

SetStorageContract is a paid mutator transaction binding the contract method 0xdc38b0a2.

Solidity: function setStorageContract(address _storageAddress) returns(bool)

func (*LilypadProxySession) SetUserContract

func (_LilypadProxy *LilypadProxySession) SetUserContract(_userAddress common.Address) (*types.Transaction, error)

SetUserContract is a paid mutator transaction binding the contract method 0xa1206d4e.

Solidity: function setUserContract(address _userAddress) returns(bool)

func (*LilypadProxySession) SupportsInterface

func (_LilypadProxy *LilypadProxySession) 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 (*LilypadProxySession) Version

func (_LilypadProxy *LilypadProxySession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type LilypadProxyTransactor

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

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

func NewLilypadProxyTransactor

func NewLilypadProxyTransactor(address common.Address, transactor bind.ContractTransactor) (*LilypadProxyTransactor, error)

NewLilypadProxyTransactor creates a new write-only instance of LilypadProxy, bound to a specific deployed contract.

func (*LilypadProxyTransactor) AcceptJobPayment

func (_LilypadProxy *LilypadProxyTransactor) AcceptJobPayment(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

AcceptJobPayment is a paid mutator transaction binding the contract method 0x00e8d4d0.

Solidity: function acceptJobPayment(uint256 _amount) returns(bool)

func (*LilypadProxyTransactor) AcceptResourceProviderCollateral

func (_LilypadProxy *LilypadProxyTransactor) AcceptResourceProviderCollateral(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

AcceptResourceProviderCollateral is a paid mutator transaction binding the contract method 0xa983cb75.

Solidity: function acceptResourceProviderCollateral(uint256 _amount) returns(bool)

func (*LilypadProxyTransactor) GrantRole

func (_LilypadProxy *LilypadProxyTransactor) 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 (*LilypadProxyTransactor) Initialize

func (_LilypadProxy *LilypadProxyTransactor) Initialize(opts *bind.TransactOpts, _storageAddress common.Address, _paymentEngineAddress common.Address, _userAddress common.Address, _tokenAddress common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _storageAddress, address _paymentEngineAddress, address _userAddress, address _tokenAddress) returns()

func (*LilypadProxyTransactor) RenounceRole

func (_LilypadProxy *LilypadProxyTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)

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

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

func (*LilypadProxyTransactor) RevokeRole

func (_LilypadProxy *LilypadProxyTransactor) 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 (*LilypadProxyTransactor) SetDeal

func (_LilypadProxy *LilypadProxyTransactor) SetDeal(opts *bind.TransactOpts, deal SharedStructsDeal) (*types.Transaction, error)

SetDeal is a paid mutator transaction binding the contract method 0xd6fae778.

Solidity: function setDeal((string,address,address,address,address,string,string,uint8,uint256,(uint256,uint256,uint256,uint256,uint256)) deal) returns(bool)

func (*LilypadProxyTransactor) SetL2LilypadTokenContract

func (_LilypadProxy *LilypadProxyTransactor) SetL2LilypadTokenContract(opts *bind.TransactOpts, _l2LilypadTokenAddress common.Address) (*types.Transaction, error)

SetL2LilypadTokenContract is a paid mutator transaction binding the contract method 0x8f39c9b5.

Solidity: function setL2LilypadTokenContract(address _l2LilypadTokenAddress) returns(bool)

func (*LilypadProxyTransactor) SetPaymentEngineContract

func (_LilypadProxy *LilypadProxyTransactor) SetPaymentEngineContract(opts *bind.TransactOpts, _paymentEngineAddress common.Address) (*types.Transaction, error)

SetPaymentEngineContract is a paid mutator transaction binding the contract method 0x099639c2.

Solidity: function setPaymentEngineContract(address _paymentEngineAddress) returns(bool)

func (*LilypadProxyTransactor) SetResult

func (_LilypadProxy *LilypadProxyTransactor) SetResult(opts *bind.TransactOpts, result SharedStructsResult) (*types.Transaction, error)

SetResult is a paid mutator transaction binding the contract method 0x9d3d78d0.

Solidity: function setResult((string,string,string,uint8,uint256) result) returns(bool)

func (*LilypadProxyTransactor) SetStorageContract

func (_LilypadProxy *LilypadProxyTransactor) SetStorageContract(opts *bind.TransactOpts, _storageAddress common.Address) (*types.Transaction, error)

SetStorageContract is a paid mutator transaction binding the contract method 0xdc38b0a2.

Solidity: function setStorageContract(address _storageAddress) returns(bool)

func (*LilypadProxyTransactor) SetUserContract

func (_LilypadProxy *LilypadProxyTransactor) SetUserContract(opts *bind.TransactOpts, _userAddress common.Address) (*types.Transaction, error)

SetUserContract is a paid mutator transaction binding the contract method 0xa1206d4e.

Solidity: function setUserContract(address _userAddress) returns(bool)

type LilypadProxyTransactorRaw

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

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

func (*LilypadProxyTransactorRaw) Transact

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

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

func (*LilypadProxyTransactorRaw) Transfer

func (_LilypadProxy *LilypadProxyTransactorRaw) 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 LilypadProxyTransactorSession

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

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

func (*LilypadProxyTransactorSession) AcceptJobPayment

func (_LilypadProxy *LilypadProxyTransactorSession) AcceptJobPayment(_amount *big.Int) (*types.Transaction, error)

AcceptJobPayment is a paid mutator transaction binding the contract method 0x00e8d4d0.

Solidity: function acceptJobPayment(uint256 _amount) returns(bool)

func (*LilypadProxyTransactorSession) AcceptResourceProviderCollateral

func (_LilypadProxy *LilypadProxyTransactorSession) AcceptResourceProviderCollateral(_amount *big.Int) (*types.Transaction, error)

AcceptResourceProviderCollateral is a paid mutator transaction binding the contract method 0xa983cb75.

Solidity: function acceptResourceProviderCollateral(uint256 _amount) returns(bool)

func (*LilypadProxyTransactorSession) GrantRole

func (_LilypadProxy *LilypadProxyTransactorSession) 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 (*LilypadProxyTransactorSession) Initialize

func (_LilypadProxy *LilypadProxyTransactorSession) Initialize(_storageAddress common.Address, _paymentEngineAddress common.Address, _userAddress common.Address, _tokenAddress common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _storageAddress, address _paymentEngineAddress, address _userAddress, address _tokenAddress) returns()

func (*LilypadProxyTransactorSession) RenounceRole

func (_LilypadProxy *LilypadProxyTransactorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)

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

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

func (*LilypadProxyTransactorSession) RevokeRole

func (_LilypadProxy *LilypadProxyTransactorSession) 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 (*LilypadProxyTransactorSession) SetDeal

func (_LilypadProxy *LilypadProxyTransactorSession) SetDeal(deal SharedStructsDeal) (*types.Transaction, error)

SetDeal is a paid mutator transaction binding the contract method 0xd6fae778.

Solidity: function setDeal((string,address,address,address,address,string,string,uint8,uint256,(uint256,uint256,uint256,uint256,uint256)) deal) returns(bool)

func (*LilypadProxyTransactorSession) SetL2LilypadTokenContract

func (_LilypadProxy *LilypadProxyTransactorSession) SetL2LilypadTokenContract(_l2LilypadTokenAddress common.Address) (*types.Transaction, error)

SetL2LilypadTokenContract is a paid mutator transaction binding the contract method 0x8f39c9b5.

Solidity: function setL2LilypadTokenContract(address _l2LilypadTokenAddress) returns(bool)

func (*LilypadProxyTransactorSession) SetPaymentEngineContract

func (_LilypadProxy *LilypadProxyTransactorSession) SetPaymentEngineContract(_paymentEngineAddress common.Address) (*types.Transaction, error)

SetPaymentEngineContract is a paid mutator transaction binding the contract method 0x099639c2.

Solidity: function setPaymentEngineContract(address _paymentEngineAddress) returns(bool)

func (*LilypadProxyTransactorSession) SetResult

func (_LilypadProxy *LilypadProxyTransactorSession) SetResult(result SharedStructsResult) (*types.Transaction, error)

SetResult is a paid mutator transaction binding the contract method 0x9d3d78d0.

Solidity: function setResult((string,string,string,uint8,uint256) result) returns(bool)

func (*LilypadProxyTransactorSession) SetStorageContract

func (_LilypadProxy *LilypadProxyTransactorSession) SetStorageContract(_storageAddress common.Address) (*types.Transaction, error)

SetStorageContract is a paid mutator transaction binding the contract method 0xdc38b0a2.

Solidity: function setStorageContract(address _storageAddress) returns(bool)

func (*LilypadProxyTransactorSession) SetUserContract

func (_LilypadProxy *LilypadProxyTransactorSession) SetUserContract(_userAddress common.Address) (*types.Transaction, error)

SetUserContract is a paid mutator transaction binding the contract method 0xa1206d4e.

Solidity: function setUserContract(address _userAddress) returns(bool)

type SharedStructsDeal

type SharedStructsDeal struct {
	DealId           string
	JobCreator       common.Address
	ResourceProvider common.Address
	ModuleCreator    common.Address
	Solver           common.Address
	JobOfferCID      string
	ResourceOfferCID string
	Status           uint8
	Timestamp        *big.Int
	PaymentStructure SharedStructsDealPaymentStructure
}

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

type SharedStructsDealPaymentStructure

type SharedStructsDealPaymentStructure struct {
	JobCreatorSolverFee       *big.Int
	ResourceProviderSolverFee *big.Int
	NetworkCongestionFee      *big.Int
	ModuleCreatorFee          *big.Int
	PriceOfJobWithoutFees     *big.Int
}

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

type SharedStructsResult

type SharedStructsResult struct {
	ResultId  string
	DealId    string
	ResultCID string
	Status    uint8
	Timestamp *big.Int
}

SharedStructsResult 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