hwescrow

package
v0.0.0-...-49025f2 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HwescrowABI = HwescrowMetaData.ABI

HwescrowABI is the input ABI used to generate the binding from. Deprecated: Use HwescrowMetaData.ABI instead.

View Source
var HwescrowMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_registry\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"_fee\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_dealId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_recruiter\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_payment\",\"type\":\"uint256\"}],\"name\":\"AdditionalPayment\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_newPaymentLimit\",\"type\":\"uint256\"}],\"name\":\"ExtraLimitChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_newSuccessFee\",\"type\":\"uint256\"}],\"name\":\"FeeChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_dealId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"FeeClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_grossRevenue\",\"type\":\"uint256\"}],\"name\":\"GrossRevenueUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_recruiter\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_creator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_totalPayment\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_paymentToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_jobId\",\"type\":\"uint256\"}],\"name\":\"OfferCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_dealId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_creator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_paymentReceived\",\"type\":\"uint256\"}],\"name\":\"PaymentClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_dealId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_recruiter\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_unlockedAmount\",\"type\":\"uint256\"}],\"name\":\"PaymentUnlocked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_dealId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"enumHWEscrow.Status\",\"name\":\"status\",\"type\":\"uint8\"}],\"name\":\"PaymentWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_collector\",\"type\":\"address\"}],\"name\":\"TotalFeeClaimed\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"additionalPaymentLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"_limit\",\"type\":\"uint64\"}],\"name\":\"changeExtraPaymentLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIHWRegistry\",\"name\":\"_registry\",\"type\":\"address\"}],\"name\":\"changeRegistry\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"_fee\",\"type\":\"uint128\"}],\"name\":\"changeSuccessFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_dealId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_claimAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"_rating\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"_creatorNFT\",\"type\":\"uint256\"}],\"name\":\"claimPayment\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_dealId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_feeCollector\",\"type\":\"address\"}],\"name\":\"claimProfit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeCollector\",\"type\":\"address\"}],\"name\":\"claimProfits\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_recruiter\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_creator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_paymentToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_totalPayment\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_downPayment\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_recruiterNFTId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_jobId\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"createDeal\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_recruiter\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_creator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_paymentToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_totalPayment\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_downPayment\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_recruiterNFTId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_jobId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_signature\",\"type\":\"bytes\"}],\"name\":\"createDealSignature\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"deals\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"recruiter\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"paymentToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"totalPayment\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"hwProfit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"claimedAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"claimableAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"jobId\",\"type\":\"uint256\"},{\"internalType\":\"enumHWEscrow.Status\",\"name\":\"status\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"extraPaymentLimit\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"getAggregatedRating\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_dealId\",\"type\":\"uint256\"}],\"name\":\"getAvgCreatorRating\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_dealId\",\"type\":\"uint256\"}],\"name\":\"getAvgRecruiterRating\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_dealId\",\"type\":\"uint256\"}],\"name\":\"getDeal\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"recruiter\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"paymentToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"totalPayment\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"hwProfit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"claimedAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"claimableAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"jobId\",\"type\":\"uint256\"},{\"internalType\":\"enumHWEscrow.Status\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"uint128[]\",\"name\":\"recruiterRating\",\"type\":\"uint128[]\"},{\"internalType\":\"uint128[]\",\"name\":\"creatorRating\",\"type\":\"uint128[]\"}],\"internalType\":\"structHWEscrow.Deal\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDeals\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"recruiter\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"paymentToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"totalPayment\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"hwProfit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"claimedAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"claimableAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"jobId\",\"type\":\"uint256\"},{\"internalType\":\"enumHWEscrow.Status\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"uint128[]\",\"name\":\"recruiterRating\",\"type\":\"uint128[]\"},{\"internalType\":\"uint128[]\",\"name\":\"creatorRating\",\"type\":\"uint128[]\"}],\"internalType\":\"structHWEscrow.Deal[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"getDeals\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_messageHash\",\"type\":\"bytes32\"}],\"name\":\"getEthSignedMessageHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_recruiter\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_creator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_paymentToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_totalPayment\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_downPayment\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_jobId\",\"type\":\"uint256\"}],\"name\":\"getMessageHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPrecision\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getProfits\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nativePaymentAllowed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"profits\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_ethSignedMessageHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"recoverSigner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"registry\",\"outputs\":[{\"internalType\":\"contractIHWRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"sig\",\"type\":\"bytes\"}],\"name\":\"splitSignature\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"successFee\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_dealId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_paymentAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"_rating\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"_recruiterNFT\",\"type\":\"uint256\"}],\"name\":\"unlockPayment\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_dealId\",\"type\":\"uint256\"}],\"name\":\"withdrawPayment\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

HwescrowMetaData contains all meta data concerning the Hwescrow contract.

Functions

This section is empty.

Types

type HWEscrowDeal

type HWEscrowDeal struct {
	Recruiter       common.Address
	Creator         common.Address
	PaymentToken    common.Address
	TotalPayment    *big.Int
	HwProfit        *big.Int
	ClaimedAmount   *big.Int
	ClaimableAmount *big.Int
	JobId           *big.Int
	Status          uint8
	RecruiterRating []*big.Int
	CreatorRating   []*big.Int
}

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

type Hwescrow

type Hwescrow struct {
	HwescrowCaller     // Read-only binding to the contract
	HwescrowTransactor // Write-only binding to the contract
	HwescrowFilterer   // Log filterer for contract events
}

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

func NewHwescrow

func NewHwescrow(address common.Address, backend bind.ContractBackend) (*Hwescrow, error)

NewHwescrow creates a new instance of Hwescrow, bound to a specific deployed contract.

type HwescrowAdditionalPayment

type HwescrowAdditionalPayment struct {
	DealId    *big.Int
	Recruiter common.Address
	Payment   *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

HwescrowAdditionalPayment represents a AdditionalPayment event raised by the Hwescrow contract.

type HwescrowAdditionalPaymentIterator

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

HwescrowAdditionalPaymentIterator is returned from FilterAdditionalPayment and is used to iterate over the raw logs and unpacked data for AdditionalPayment events raised by the Hwescrow contract.

func (*HwescrowAdditionalPaymentIterator) Close

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

func (*HwescrowAdditionalPaymentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HwescrowAdditionalPaymentIterator) 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 HwescrowCaller

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

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

func NewHwescrowCaller

func NewHwescrowCaller(address common.Address, caller bind.ContractCaller) (*HwescrowCaller, error)

NewHwescrowCaller creates a new read-only instance of Hwescrow, bound to a specific deployed contract.

func (*HwescrowCaller) AdditionalPaymentLimit

func (_Hwescrow *HwescrowCaller) AdditionalPaymentLimit(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

AdditionalPaymentLimit is a free data retrieval call binding the contract method 0x18e335b1.

Solidity: function additionalPaymentLimit(uint256 ) view returns(uint256)

func (*HwescrowCaller) Deals

func (_Hwescrow *HwescrowCaller) Deals(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Recruiter       common.Address
	Creator         common.Address
	PaymentToken    common.Address
	TotalPayment    *big.Int
	HwProfit        *big.Int
	ClaimedAmount   *big.Int
	ClaimableAmount *big.Int
	JobId           *big.Int
	Status          uint8
}, error)

Deals is a free data retrieval call binding the contract method 0x03988f84.

Solidity: function deals(uint256 ) view returns(address recruiter, address creator, address paymentToken, uint256 totalPayment, uint256 hwProfit, uint256 claimedAmount, uint256 claimableAmount, uint256 jobId, uint8 status)

func (*HwescrowCaller) ExtraPaymentLimit

func (_Hwescrow *HwescrowCaller) ExtraPaymentLimit(opts *bind.CallOpts) (uint64, error)

ExtraPaymentLimit is a free data retrieval call binding the contract method 0x493d7e0c.

Solidity: function extraPaymentLimit() view returns(uint64)

func (*HwescrowCaller) GetAggregatedRating

func (_Hwescrow *HwescrowCaller) GetAggregatedRating(opts *bind.CallOpts, _address common.Address) (*big.Int, error)

GetAggregatedRating is a free data retrieval call binding the contract method 0xb7ba315c.

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

func (*HwescrowCaller) GetAvgCreatorRating

func (_Hwescrow *HwescrowCaller) GetAvgCreatorRating(opts *bind.CallOpts, _dealId *big.Int) (*big.Int, error)

GetAvgCreatorRating is a free data retrieval call binding the contract method 0x896adcbd.

Solidity: function getAvgCreatorRating(uint256 _dealId) view returns(uint256)

func (*HwescrowCaller) GetAvgRecruiterRating

func (_Hwescrow *HwescrowCaller) GetAvgRecruiterRating(opts *bind.CallOpts, _dealId *big.Int) (*big.Int, error)

GetAvgRecruiterRating is a free data retrieval call binding the contract method 0x714d00b1.

Solidity: function getAvgRecruiterRating(uint256 _dealId) view returns(uint256)

func (*HwescrowCaller) GetDeal

func (_Hwescrow *HwescrowCaller) GetDeal(opts *bind.CallOpts, _dealId *big.Int) (HWEscrowDeal, error)

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

Solidity: function getDeal(uint256 _dealId) view returns((address,address,address,uint256,uint256,uint256,uint256,uint256,uint8,uint128[],uint128[]))

func (*HwescrowCaller) GetDeals

func (_Hwescrow *HwescrowCaller) GetDeals(opts *bind.CallOpts) ([]HWEscrowDeal, error)

GetDeals is a free data retrieval call binding the contract method 0x5a5539de.

Solidity: function getDeals() view returns((address,address,address,uint256,uint256,uint256,uint256,uint256,uint8,uint128[],uint128[])[])

func (*HwescrowCaller) GetDeals0

func (_Hwescrow *HwescrowCaller) GetDeals0(opts *bind.CallOpts, _address common.Address) ([]*big.Int, error)

GetDeals0 is a free data retrieval call binding the contract method 0x71c59055.

Solidity: function getDeals(address _address) view returns(uint256[])

func (*HwescrowCaller) GetEthSignedMessageHash

func (_Hwescrow *HwescrowCaller) GetEthSignedMessageHash(opts *bind.CallOpts, _messageHash [32]byte) ([32]byte, error)

GetEthSignedMessageHash is a free data retrieval call binding the contract method 0xfa540801.

Solidity: function getEthSignedMessageHash(bytes32 _messageHash) pure returns(bytes32)

func (*HwescrowCaller) GetMessageHash

func (_Hwescrow *HwescrowCaller) GetMessageHash(opts *bind.CallOpts, _recruiter common.Address, _creator common.Address, _paymentToken common.Address, _totalPayment *big.Int, _downPayment *big.Int, _jobId *big.Int) ([32]byte, error)

GetMessageHash is a free data retrieval call binding the contract method 0x2e900195.

Solidity: function getMessageHash(address _recruiter, address _creator, address _paymentToken, uint256 _totalPayment, uint256 _downPayment, uint256 _jobId) pure returns(bytes32)

func (*HwescrowCaller) GetPrecision

func (_Hwescrow *HwescrowCaller) GetPrecision(opts *bind.CallOpts) (*big.Int, error)

GetPrecision is a free data retrieval call binding the contract method 0x9670c0bc.

Solidity: function getPrecision() pure returns(uint256)

func (*HwescrowCaller) GetProfits

func (_Hwescrow *HwescrowCaller) GetProfits(opts *bind.CallOpts) (*big.Int, error)

GetProfits is a free data retrieval call binding the contract method 0x3ad15258.

Solidity: function getProfits() view returns(uint256)

func (*HwescrowCaller) NativePaymentAllowed

func (_Hwescrow *HwescrowCaller) NativePaymentAllowed(opts *bind.CallOpts) (bool, error)

NativePaymentAllowed is a free data retrieval call binding the contract method 0x7709807b.

Solidity: function nativePaymentAllowed() view returns(bool)

func (*HwescrowCaller) Owner

func (_Hwescrow *HwescrowCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*HwescrowCaller) Profits

func (_Hwescrow *HwescrowCaller) Profits(opts *bind.CallOpts) (*big.Int, error)

Profits is a free data retrieval call binding the contract method 0x2b36a657.

Solidity: function profits() view returns(uint256)

func (*HwescrowCaller) RecoverSigner

func (_Hwescrow *HwescrowCaller) RecoverSigner(opts *bind.CallOpts, _ethSignedMessageHash [32]byte, v uint8, r [32]byte, s [32]byte) (common.Address, error)

RecoverSigner is a free data retrieval call binding the contract method 0xd45167d0.

Solidity: function recoverSigner(bytes32 _ethSignedMessageHash, uint8 v, bytes32 r, bytes32 s) pure returns(address)

func (*HwescrowCaller) Registry

func (_Hwescrow *HwescrowCaller) Registry(opts *bind.CallOpts) (common.Address, error)

Registry is a free data retrieval call binding the contract method 0x7b103999.

Solidity: function registry() view returns(address)

func (*HwescrowCaller) SplitSignature

func (_Hwescrow *HwescrowCaller) SplitSignature(opts *bind.CallOpts, sig []byte) (struct {
	R [32]byte
	S [32]byte
	V uint8
}, error)

SplitSignature is a free data retrieval call binding the contract method 0xa7bb5803.

Solidity: function splitSignature(bytes sig) pure returns(bytes32 r, bytes32 s, uint8 v)

func (*HwescrowCaller) SuccessFee

func (_Hwescrow *HwescrowCaller) SuccessFee(opts *bind.CallOpts) (*big.Int, error)

SuccessFee is a free data retrieval call binding the contract method 0x7554fffd.

Solidity: function successFee() view returns(uint128)

type HwescrowCallerRaw

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

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

func (*HwescrowCallerRaw) Call

func (_Hwescrow *HwescrowCallerRaw) 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 HwescrowCallerSession

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

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

func (*HwescrowCallerSession) AdditionalPaymentLimit

func (_Hwescrow *HwescrowCallerSession) AdditionalPaymentLimit(arg0 *big.Int) (*big.Int, error)

AdditionalPaymentLimit is a free data retrieval call binding the contract method 0x18e335b1.

Solidity: function additionalPaymentLimit(uint256 ) view returns(uint256)

func (*HwescrowCallerSession) Deals

func (_Hwescrow *HwescrowCallerSession) Deals(arg0 *big.Int) (struct {
	Recruiter       common.Address
	Creator         common.Address
	PaymentToken    common.Address
	TotalPayment    *big.Int
	HwProfit        *big.Int
	ClaimedAmount   *big.Int
	ClaimableAmount *big.Int
	JobId           *big.Int
	Status          uint8
}, error)

Deals is a free data retrieval call binding the contract method 0x03988f84.

Solidity: function deals(uint256 ) view returns(address recruiter, address creator, address paymentToken, uint256 totalPayment, uint256 hwProfit, uint256 claimedAmount, uint256 claimableAmount, uint256 jobId, uint8 status)

func (*HwescrowCallerSession) ExtraPaymentLimit

func (_Hwescrow *HwescrowCallerSession) ExtraPaymentLimit() (uint64, error)

ExtraPaymentLimit is a free data retrieval call binding the contract method 0x493d7e0c.

Solidity: function extraPaymentLimit() view returns(uint64)

func (*HwescrowCallerSession) GetAggregatedRating

func (_Hwescrow *HwescrowCallerSession) GetAggregatedRating(_address common.Address) (*big.Int, error)

GetAggregatedRating is a free data retrieval call binding the contract method 0xb7ba315c.

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

func (*HwescrowCallerSession) GetAvgCreatorRating

func (_Hwescrow *HwescrowCallerSession) GetAvgCreatorRating(_dealId *big.Int) (*big.Int, error)

GetAvgCreatorRating is a free data retrieval call binding the contract method 0x896adcbd.

Solidity: function getAvgCreatorRating(uint256 _dealId) view returns(uint256)

func (*HwescrowCallerSession) GetAvgRecruiterRating

func (_Hwescrow *HwescrowCallerSession) GetAvgRecruiterRating(_dealId *big.Int) (*big.Int, error)

GetAvgRecruiterRating is a free data retrieval call binding the contract method 0x714d00b1.

Solidity: function getAvgRecruiterRating(uint256 _dealId) view returns(uint256)

func (*HwescrowCallerSession) GetDeal

func (_Hwescrow *HwescrowCallerSession) GetDeal(_dealId *big.Int) (HWEscrowDeal, error)

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

Solidity: function getDeal(uint256 _dealId) view returns((address,address,address,uint256,uint256,uint256,uint256,uint256,uint8,uint128[],uint128[]))

func (*HwescrowCallerSession) GetDeals

func (_Hwescrow *HwescrowCallerSession) GetDeals() ([]HWEscrowDeal, error)

GetDeals is a free data retrieval call binding the contract method 0x5a5539de.

Solidity: function getDeals() view returns((address,address,address,uint256,uint256,uint256,uint256,uint256,uint8,uint128[],uint128[])[])

func (*HwescrowCallerSession) GetDeals0

func (_Hwescrow *HwescrowCallerSession) GetDeals0(_address common.Address) ([]*big.Int, error)

GetDeals0 is a free data retrieval call binding the contract method 0x71c59055.

Solidity: function getDeals(address _address) view returns(uint256[])

func (*HwescrowCallerSession) GetEthSignedMessageHash

func (_Hwescrow *HwescrowCallerSession) GetEthSignedMessageHash(_messageHash [32]byte) ([32]byte, error)

GetEthSignedMessageHash is a free data retrieval call binding the contract method 0xfa540801.

Solidity: function getEthSignedMessageHash(bytes32 _messageHash) pure returns(bytes32)

func (*HwescrowCallerSession) GetMessageHash

func (_Hwescrow *HwescrowCallerSession) GetMessageHash(_recruiter common.Address, _creator common.Address, _paymentToken common.Address, _totalPayment *big.Int, _downPayment *big.Int, _jobId *big.Int) ([32]byte, error)

GetMessageHash is a free data retrieval call binding the contract method 0x2e900195.

Solidity: function getMessageHash(address _recruiter, address _creator, address _paymentToken, uint256 _totalPayment, uint256 _downPayment, uint256 _jobId) pure returns(bytes32)

func (*HwescrowCallerSession) GetPrecision

func (_Hwescrow *HwescrowCallerSession) GetPrecision() (*big.Int, error)

GetPrecision is a free data retrieval call binding the contract method 0x9670c0bc.

Solidity: function getPrecision() pure returns(uint256)

func (*HwescrowCallerSession) GetProfits

func (_Hwescrow *HwescrowCallerSession) GetProfits() (*big.Int, error)

GetProfits is a free data retrieval call binding the contract method 0x3ad15258.

Solidity: function getProfits() view returns(uint256)

func (*HwescrowCallerSession) NativePaymentAllowed

func (_Hwescrow *HwescrowCallerSession) NativePaymentAllowed() (bool, error)

NativePaymentAllowed is a free data retrieval call binding the contract method 0x7709807b.

Solidity: function nativePaymentAllowed() view returns(bool)

func (*HwescrowCallerSession) Owner

func (_Hwescrow *HwescrowCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*HwescrowCallerSession) Profits

func (_Hwescrow *HwescrowCallerSession) Profits() (*big.Int, error)

Profits is a free data retrieval call binding the contract method 0x2b36a657.

Solidity: function profits() view returns(uint256)

func (*HwescrowCallerSession) RecoverSigner

func (_Hwescrow *HwescrowCallerSession) RecoverSigner(_ethSignedMessageHash [32]byte, v uint8, r [32]byte, s [32]byte) (common.Address, error)

RecoverSigner is a free data retrieval call binding the contract method 0xd45167d0.

Solidity: function recoverSigner(bytes32 _ethSignedMessageHash, uint8 v, bytes32 r, bytes32 s) pure returns(address)

func (*HwescrowCallerSession) Registry

func (_Hwescrow *HwescrowCallerSession) Registry() (common.Address, error)

Registry is a free data retrieval call binding the contract method 0x7b103999.

Solidity: function registry() view returns(address)

func (*HwescrowCallerSession) SplitSignature

func (_Hwescrow *HwescrowCallerSession) SplitSignature(sig []byte) (struct {
	R [32]byte
	S [32]byte
	V uint8
}, error)

SplitSignature is a free data retrieval call binding the contract method 0xa7bb5803.

Solidity: function splitSignature(bytes sig) pure returns(bytes32 r, bytes32 s, uint8 v)

func (*HwescrowCallerSession) SuccessFee

func (_Hwescrow *HwescrowCallerSession) SuccessFee() (*big.Int, error)

SuccessFee is a free data retrieval call binding the contract method 0x7554fffd.

Solidity: function successFee() view returns(uint128)

type HwescrowExtraLimitChanged

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

HwescrowExtraLimitChanged represents a ExtraLimitChanged event raised by the Hwescrow contract.

type HwescrowExtraLimitChangedIterator

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

HwescrowExtraLimitChangedIterator is returned from FilterExtraLimitChanged and is used to iterate over the raw logs and unpacked data for ExtraLimitChanged events raised by the Hwescrow contract.

func (*HwescrowExtraLimitChangedIterator) Close

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

func (*HwescrowExtraLimitChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HwescrowExtraLimitChangedIterator) 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 HwescrowFeeChanged

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

HwescrowFeeChanged represents a FeeChanged event raised by the Hwescrow contract.

type HwescrowFeeChangedIterator

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

HwescrowFeeChangedIterator is returned from FilterFeeChanged and is used to iterate over the raw logs and unpacked data for FeeChanged events raised by the Hwescrow contract.

func (*HwescrowFeeChangedIterator) Close

func (it *HwescrowFeeChangedIterator) Close() error

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

func (*HwescrowFeeChangedIterator) Error

func (it *HwescrowFeeChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*HwescrowFeeChangedIterator) Next

func (it *HwescrowFeeChangedIterator) 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 HwescrowFeeClaimed

type HwescrowFeeClaimed struct {
	DealId *big.Int
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

HwescrowFeeClaimed represents a FeeClaimed event raised by the Hwescrow contract.

type HwescrowFeeClaimedIterator

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

HwescrowFeeClaimedIterator is returned from FilterFeeClaimed and is used to iterate over the raw logs and unpacked data for FeeClaimed events raised by the Hwescrow contract.

func (*HwescrowFeeClaimedIterator) Close

func (it *HwescrowFeeClaimedIterator) Close() error

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

func (*HwescrowFeeClaimedIterator) Error

func (it *HwescrowFeeClaimedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*HwescrowFeeClaimedIterator) Next

func (it *HwescrowFeeClaimedIterator) 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 HwescrowFilterer

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

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

func NewHwescrowFilterer

func NewHwescrowFilterer(address common.Address, filterer bind.ContractFilterer) (*HwescrowFilterer, error)

NewHwescrowFilterer creates a new log filterer instance of Hwescrow, bound to a specific deployed contract.

func (*HwescrowFilterer) FilterAdditionalPayment

func (_Hwescrow *HwescrowFilterer) FilterAdditionalPayment(opts *bind.FilterOpts, _dealId []*big.Int, _recruiter []common.Address, _payment []*big.Int) (*HwescrowAdditionalPaymentIterator, error)

FilterAdditionalPayment is a free log retrieval operation binding the contract event 0x19c66b05a0a4d2be41b123b9d0daa0670bb8f1317b3745200243a81751b07f43.

Solidity: event AdditionalPayment(uint256 indexed _dealId, address indexed _recruiter, uint256 indexed _payment)

func (*HwescrowFilterer) FilterExtraLimitChanged

func (_Hwescrow *HwescrowFilterer) FilterExtraLimitChanged(opts *bind.FilterOpts) (*HwescrowExtraLimitChangedIterator, error)

FilterExtraLimitChanged is a free log retrieval operation binding the contract event 0x0527b3df1c258a1e5e5df0f62af25e3b367b14525e6bbf79abb69664f6fbdd7b.

Solidity: event ExtraLimitChanged(uint256 _newPaymentLimit)

func (*HwescrowFilterer) FilterFeeChanged

func (_Hwescrow *HwescrowFilterer) FilterFeeChanged(opts *bind.FilterOpts) (*HwescrowFeeChangedIterator, error)

FilterFeeChanged is a free log retrieval operation binding the contract event 0x6bbc57480a46553fa4d156ce702beef5f3ad66303b0ed1a5d4cb44966c6584c3.

Solidity: event FeeChanged(uint256 _newSuccessFee)

func (*HwescrowFilterer) FilterFeeClaimed

func (_Hwescrow *HwescrowFilterer) FilterFeeClaimed(opts *bind.FilterOpts, _dealId []*big.Int) (*HwescrowFeeClaimedIterator, error)

FilterFeeClaimed is a free log retrieval operation binding the contract event 0x8f50c68aa31577462ee7e15eb3417fa4442a7167ecb21ddba35eb88926d72689.

Solidity: event FeeClaimed(uint256 indexed _dealId, uint256 _amount)

func (*HwescrowFilterer) FilterGrossRevenueUpdated

func (_Hwescrow *HwescrowFilterer) FilterGrossRevenueUpdated(opts *bind.FilterOpts, _tokenId []*big.Int) (*HwescrowGrossRevenueUpdatedIterator, error)

FilterGrossRevenueUpdated is a free log retrieval operation binding the contract event 0x810094c20e68a3de910ca01b2ec16e0f7ba3df4060e865e10a93ddb2bb974102.

Solidity: event GrossRevenueUpdated(uint256 indexed _tokenId, uint256 _grossRevenue)

func (*HwescrowFilterer) FilterOfferCreated

func (_Hwescrow *HwescrowFilterer) FilterOfferCreated(opts *bind.FilterOpts, _recruiter []common.Address, _creator []common.Address, _totalPayment []*big.Int) (*HwescrowOfferCreatedIterator, error)

FilterOfferCreated is a free log retrieval operation binding the contract event 0xa76f924433493c3ee5c1178f897d4e8700cd256221ee15e005876a9087737eba.

Solidity: event OfferCreated(address indexed _recruiter, address indexed _creator, uint256 indexed _totalPayment, address _paymentToken, uint256 _jobId)

func (*HwescrowFilterer) FilterOwnershipTransferred

func (_Hwescrow *HwescrowFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*HwescrowOwnershipTransferredIterator, error)

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

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

func (*HwescrowFilterer) FilterPaymentClaimed

func (_Hwescrow *HwescrowFilterer) FilterPaymentClaimed(opts *bind.FilterOpts, _dealId []*big.Int, _creator []common.Address, _paymentReceived []*big.Int) (*HwescrowPaymentClaimedIterator, error)

FilterPaymentClaimed is a free log retrieval operation binding the contract event 0xdd74eb9cba06f514be98342b0ed0290146aee9feaf27e8a7ddcb151bb43dac86.

Solidity: event PaymentClaimed(uint256 indexed _dealId, address indexed _creator, uint256 indexed _paymentReceived)

func (*HwescrowFilterer) FilterPaymentUnlocked

func (_Hwescrow *HwescrowFilterer) FilterPaymentUnlocked(opts *bind.FilterOpts, _recruiter []common.Address, _unlockedAmount []*big.Int) (*HwescrowPaymentUnlockedIterator, error)

FilterPaymentUnlocked is a free log retrieval operation binding the contract event 0x4b20f285c1b78452a0587f8653b5b7d15737605123dafe28d7b687d04176ebbc.

Solidity: event PaymentUnlocked(uint256 _dealId, address indexed _recruiter, uint256 indexed _unlockedAmount)

func (*HwescrowFilterer) FilterPaymentWithdrawn

func (_Hwescrow *HwescrowFilterer) FilterPaymentWithdrawn(opts *bind.FilterOpts, _dealId []*big.Int) (*HwescrowPaymentWithdrawnIterator, error)

FilterPaymentWithdrawn is a free log retrieval operation binding the contract event 0x8d59dd7e829f52869194dc5eebe828bdda1ee85be0b51f6946653a90e936aca9.

Solidity: event PaymentWithdrawn(uint256 indexed _dealId, uint8 status)

func (*HwescrowFilterer) FilterTotalFeeClaimed

func (_Hwescrow *HwescrowFilterer) FilterTotalFeeClaimed(opts *bind.FilterOpts) (*HwescrowTotalFeeClaimedIterator, error)

FilterTotalFeeClaimed is a free log retrieval operation binding the contract event 0xfea685e9aaf14c8da90ce1e747e388a191e2062a563acfee68847c3fbd5c512c.

Solidity: event TotalFeeClaimed(address _collector)

func (*HwescrowFilterer) ParseAdditionalPayment

func (_Hwescrow *HwescrowFilterer) ParseAdditionalPayment(log types.Log) (*HwescrowAdditionalPayment, error)

ParseAdditionalPayment is a log parse operation binding the contract event 0x19c66b05a0a4d2be41b123b9d0daa0670bb8f1317b3745200243a81751b07f43.

Solidity: event AdditionalPayment(uint256 indexed _dealId, address indexed _recruiter, uint256 indexed _payment)

func (*HwescrowFilterer) ParseExtraLimitChanged

func (_Hwescrow *HwescrowFilterer) ParseExtraLimitChanged(log types.Log) (*HwescrowExtraLimitChanged, error)

ParseExtraLimitChanged is a log parse operation binding the contract event 0x0527b3df1c258a1e5e5df0f62af25e3b367b14525e6bbf79abb69664f6fbdd7b.

Solidity: event ExtraLimitChanged(uint256 _newPaymentLimit)

func (*HwescrowFilterer) ParseFeeChanged

func (_Hwescrow *HwescrowFilterer) ParseFeeChanged(log types.Log) (*HwescrowFeeChanged, error)

ParseFeeChanged is a log parse operation binding the contract event 0x6bbc57480a46553fa4d156ce702beef5f3ad66303b0ed1a5d4cb44966c6584c3.

Solidity: event FeeChanged(uint256 _newSuccessFee)

func (*HwescrowFilterer) ParseFeeClaimed

func (_Hwescrow *HwescrowFilterer) ParseFeeClaimed(log types.Log) (*HwescrowFeeClaimed, error)

ParseFeeClaimed is a log parse operation binding the contract event 0x8f50c68aa31577462ee7e15eb3417fa4442a7167ecb21ddba35eb88926d72689.

Solidity: event FeeClaimed(uint256 indexed _dealId, uint256 _amount)

func (*HwescrowFilterer) ParseGrossRevenueUpdated

func (_Hwescrow *HwescrowFilterer) ParseGrossRevenueUpdated(log types.Log) (*HwescrowGrossRevenueUpdated, error)

ParseGrossRevenueUpdated is a log parse operation binding the contract event 0x810094c20e68a3de910ca01b2ec16e0f7ba3df4060e865e10a93ddb2bb974102.

Solidity: event GrossRevenueUpdated(uint256 indexed _tokenId, uint256 _grossRevenue)

func (*HwescrowFilterer) ParseOfferCreated

func (_Hwescrow *HwescrowFilterer) ParseOfferCreated(log types.Log) (*HwescrowOfferCreated, error)

ParseOfferCreated is a log parse operation binding the contract event 0xa76f924433493c3ee5c1178f897d4e8700cd256221ee15e005876a9087737eba.

Solidity: event OfferCreated(address indexed _recruiter, address indexed _creator, uint256 indexed _totalPayment, address _paymentToken, uint256 _jobId)

func (*HwescrowFilterer) ParseOwnershipTransferred

func (_Hwescrow *HwescrowFilterer) ParseOwnershipTransferred(log types.Log) (*HwescrowOwnershipTransferred, error)

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

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

func (*HwescrowFilterer) ParsePaymentClaimed

func (_Hwescrow *HwescrowFilterer) ParsePaymentClaimed(log types.Log) (*HwescrowPaymentClaimed, error)

ParsePaymentClaimed is a log parse operation binding the contract event 0xdd74eb9cba06f514be98342b0ed0290146aee9feaf27e8a7ddcb151bb43dac86.

Solidity: event PaymentClaimed(uint256 indexed _dealId, address indexed _creator, uint256 indexed _paymentReceived)

func (*HwescrowFilterer) ParsePaymentUnlocked

func (_Hwescrow *HwescrowFilterer) ParsePaymentUnlocked(log types.Log) (*HwescrowPaymentUnlocked, error)

ParsePaymentUnlocked is a log parse operation binding the contract event 0x4b20f285c1b78452a0587f8653b5b7d15737605123dafe28d7b687d04176ebbc.

Solidity: event PaymentUnlocked(uint256 _dealId, address indexed _recruiter, uint256 indexed _unlockedAmount)

func (*HwescrowFilterer) ParsePaymentWithdrawn

func (_Hwescrow *HwescrowFilterer) ParsePaymentWithdrawn(log types.Log) (*HwescrowPaymentWithdrawn, error)

ParsePaymentWithdrawn is a log parse operation binding the contract event 0x8d59dd7e829f52869194dc5eebe828bdda1ee85be0b51f6946653a90e936aca9.

Solidity: event PaymentWithdrawn(uint256 indexed _dealId, uint8 status)

func (*HwescrowFilterer) ParseTotalFeeClaimed

func (_Hwescrow *HwescrowFilterer) ParseTotalFeeClaimed(log types.Log) (*HwescrowTotalFeeClaimed, error)

ParseTotalFeeClaimed is a log parse operation binding the contract event 0xfea685e9aaf14c8da90ce1e747e388a191e2062a563acfee68847c3fbd5c512c.

Solidity: event TotalFeeClaimed(address _collector)

func (*HwescrowFilterer) WatchAdditionalPayment

func (_Hwescrow *HwescrowFilterer) WatchAdditionalPayment(opts *bind.WatchOpts, sink chan<- *HwescrowAdditionalPayment, _dealId []*big.Int, _recruiter []common.Address, _payment []*big.Int) (event.Subscription, error)

WatchAdditionalPayment is a free log subscription operation binding the contract event 0x19c66b05a0a4d2be41b123b9d0daa0670bb8f1317b3745200243a81751b07f43.

Solidity: event AdditionalPayment(uint256 indexed _dealId, address indexed _recruiter, uint256 indexed _payment)

func (*HwescrowFilterer) WatchExtraLimitChanged

func (_Hwescrow *HwescrowFilterer) WatchExtraLimitChanged(opts *bind.WatchOpts, sink chan<- *HwescrowExtraLimitChanged) (event.Subscription, error)

WatchExtraLimitChanged is a free log subscription operation binding the contract event 0x0527b3df1c258a1e5e5df0f62af25e3b367b14525e6bbf79abb69664f6fbdd7b.

Solidity: event ExtraLimitChanged(uint256 _newPaymentLimit)

func (*HwescrowFilterer) WatchFeeChanged

func (_Hwescrow *HwescrowFilterer) WatchFeeChanged(opts *bind.WatchOpts, sink chan<- *HwescrowFeeChanged) (event.Subscription, error)

WatchFeeChanged is a free log subscription operation binding the contract event 0x6bbc57480a46553fa4d156ce702beef5f3ad66303b0ed1a5d4cb44966c6584c3.

Solidity: event FeeChanged(uint256 _newSuccessFee)

func (*HwescrowFilterer) WatchFeeClaimed

func (_Hwescrow *HwescrowFilterer) WatchFeeClaimed(opts *bind.WatchOpts, sink chan<- *HwescrowFeeClaimed, _dealId []*big.Int) (event.Subscription, error)

WatchFeeClaimed is a free log subscription operation binding the contract event 0x8f50c68aa31577462ee7e15eb3417fa4442a7167ecb21ddba35eb88926d72689.

Solidity: event FeeClaimed(uint256 indexed _dealId, uint256 _amount)

func (*HwescrowFilterer) WatchGrossRevenueUpdated

func (_Hwescrow *HwescrowFilterer) WatchGrossRevenueUpdated(opts *bind.WatchOpts, sink chan<- *HwescrowGrossRevenueUpdated, _tokenId []*big.Int) (event.Subscription, error)

WatchGrossRevenueUpdated is a free log subscription operation binding the contract event 0x810094c20e68a3de910ca01b2ec16e0f7ba3df4060e865e10a93ddb2bb974102.

Solidity: event GrossRevenueUpdated(uint256 indexed _tokenId, uint256 _grossRevenue)

func (*HwescrowFilterer) WatchOfferCreated

func (_Hwescrow *HwescrowFilterer) WatchOfferCreated(opts *bind.WatchOpts, sink chan<- *HwescrowOfferCreated, _recruiter []common.Address, _creator []common.Address, _totalPayment []*big.Int) (event.Subscription, error)

WatchOfferCreated is a free log subscription operation binding the contract event 0xa76f924433493c3ee5c1178f897d4e8700cd256221ee15e005876a9087737eba.

Solidity: event OfferCreated(address indexed _recruiter, address indexed _creator, uint256 indexed _totalPayment, address _paymentToken, uint256 _jobId)

func (*HwescrowFilterer) WatchOwnershipTransferred

func (_Hwescrow *HwescrowFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *HwescrowOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

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

func (*HwescrowFilterer) WatchPaymentClaimed

func (_Hwescrow *HwescrowFilterer) WatchPaymentClaimed(opts *bind.WatchOpts, sink chan<- *HwescrowPaymentClaimed, _dealId []*big.Int, _creator []common.Address, _paymentReceived []*big.Int) (event.Subscription, error)

WatchPaymentClaimed is a free log subscription operation binding the contract event 0xdd74eb9cba06f514be98342b0ed0290146aee9feaf27e8a7ddcb151bb43dac86.

Solidity: event PaymentClaimed(uint256 indexed _dealId, address indexed _creator, uint256 indexed _paymentReceived)

func (*HwescrowFilterer) WatchPaymentUnlocked

func (_Hwescrow *HwescrowFilterer) WatchPaymentUnlocked(opts *bind.WatchOpts, sink chan<- *HwescrowPaymentUnlocked, _recruiter []common.Address, _unlockedAmount []*big.Int) (event.Subscription, error)

WatchPaymentUnlocked is a free log subscription operation binding the contract event 0x4b20f285c1b78452a0587f8653b5b7d15737605123dafe28d7b687d04176ebbc.

Solidity: event PaymentUnlocked(uint256 _dealId, address indexed _recruiter, uint256 indexed _unlockedAmount)

func (*HwescrowFilterer) WatchPaymentWithdrawn

func (_Hwescrow *HwescrowFilterer) WatchPaymentWithdrawn(opts *bind.WatchOpts, sink chan<- *HwescrowPaymentWithdrawn, _dealId []*big.Int) (event.Subscription, error)

WatchPaymentWithdrawn is a free log subscription operation binding the contract event 0x8d59dd7e829f52869194dc5eebe828bdda1ee85be0b51f6946653a90e936aca9.

Solidity: event PaymentWithdrawn(uint256 indexed _dealId, uint8 status)

func (*HwescrowFilterer) WatchTotalFeeClaimed

func (_Hwescrow *HwescrowFilterer) WatchTotalFeeClaimed(opts *bind.WatchOpts, sink chan<- *HwescrowTotalFeeClaimed) (event.Subscription, error)

WatchTotalFeeClaimed is a free log subscription operation binding the contract event 0xfea685e9aaf14c8da90ce1e747e388a191e2062a563acfee68847c3fbd5c512c.

Solidity: event TotalFeeClaimed(address _collector)

type HwescrowGrossRevenueUpdated

type HwescrowGrossRevenueUpdated struct {
	TokenId      *big.Int
	GrossRevenue *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

HwescrowGrossRevenueUpdated represents a GrossRevenueUpdated event raised by the Hwescrow contract.

type HwescrowGrossRevenueUpdatedIterator

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

HwescrowGrossRevenueUpdatedIterator is returned from FilterGrossRevenueUpdated and is used to iterate over the raw logs and unpacked data for GrossRevenueUpdated events raised by the Hwescrow contract.

func (*HwescrowGrossRevenueUpdatedIterator) Close

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

func (*HwescrowGrossRevenueUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HwescrowGrossRevenueUpdatedIterator) 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 HwescrowOfferCreated

type HwescrowOfferCreated struct {
	Recruiter    common.Address
	Creator      common.Address
	TotalPayment *big.Int
	PaymentToken common.Address
	JobId        *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

HwescrowOfferCreated represents a OfferCreated event raised by the Hwescrow contract.

type HwescrowOfferCreatedIterator

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

HwescrowOfferCreatedIterator is returned from FilterOfferCreated and is used to iterate over the raw logs and unpacked data for OfferCreated events raised by the Hwescrow contract.

func (*HwescrowOfferCreatedIterator) Close

func (it *HwescrowOfferCreatedIterator) Close() error

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

func (*HwescrowOfferCreatedIterator) Error

func (it *HwescrowOfferCreatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*HwescrowOfferCreatedIterator) 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 HwescrowOwnershipTransferred

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

HwescrowOwnershipTransferred represents a OwnershipTransferred event raised by the Hwescrow contract.

type HwescrowOwnershipTransferredIterator

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

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

func (*HwescrowOwnershipTransferredIterator) Close

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

func (*HwescrowOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HwescrowOwnershipTransferredIterator) 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 HwescrowPaymentClaimed

type HwescrowPaymentClaimed struct {
	DealId          *big.Int
	Creator         common.Address
	PaymentReceived *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

HwescrowPaymentClaimed represents a PaymentClaimed event raised by the Hwescrow contract.

type HwescrowPaymentClaimedIterator

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

HwescrowPaymentClaimedIterator is returned from FilterPaymentClaimed and is used to iterate over the raw logs and unpacked data for PaymentClaimed events raised by the Hwescrow contract.

func (*HwescrowPaymentClaimedIterator) Close

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

func (*HwescrowPaymentClaimedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HwescrowPaymentClaimedIterator) 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 HwescrowPaymentUnlocked

type HwescrowPaymentUnlocked struct {
	DealId         *big.Int
	Recruiter      common.Address
	UnlockedAmount *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

HwescrowPaymentUnlocked represents a PaymentUnlocked event raised by the Hwescrow contract.

type HwescrowPaymentUnlockedIterator

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

HwescrowPaymentUnlockedIterator is returned from FilterPaymentUnlocked and is used to iterate over the raw logs and unpacked data for PaymentUnlocked events raised by the Hwescrow contract.

func (*HwescrowPaymentUnlockedIterator) Close

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

func (*HwescrowPaymentUnlockedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HwescrowPaymentUnlockedIterator) 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 HwescrowPaymentWithdrawn

type HwescrowPaymentWithdrawn struct {
	DealId *big.Int
	Status uint8
	Raw    types.Log // Blockchain specific contextual infos
}

HwescrowPaymentWithdrawn represents a PaymentWithdrawn event raised by the Hwescrow contract.

type HwescrowPaymentWithdrawnIterator

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

HwescrowPaymentWithdrawnIterator is returned from FilterPaymentWithdrawn and is used to iterate over the raw logs and unpacked data for PaymentWithdrawn events raised by the Hwescrow contract.

func (*HwescrowPaymentWithdrawnIterator) Close

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

func (*HwescrowPaymentWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HwescrowPaymentWithdrawnIterator) 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 HwescrowRaw

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

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

func (*HwescrowRaw) Call

func (_Hwescrow *HwescrowRaw) 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 (*HwescrowRaw) Transact

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

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

func (*HwescrowRaw) Transfer

func (_Hwescrow *HwescrowRaw) 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 HwescrowSession

type HwescrowSession struct {
	Contract     *Hwescrow         // 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
}

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

func (*HwescrowSession) AdditionalPaymentLimit

func (_Hwescrow *HwescrowSession) AdditionalPaymentLimit(arg0 *big.Int) (*big.Int, error)

AdditionalPaymentLimit is a free data retrieval call binding the contract method 0x18e335b1.

Solidity: function additionalPaymentLimit(uint256 ) view returns(uint256)

func (*HwescrowSession) ChangeExtraPaymentLimit

func (_Hwescrow *HwescrowSession) ChangeExtraPaymentLimit(_limit uint64) (*types.Transaction, error)

ChangeExtraPaymentLimit is a paid mutator transaction binding the contract method 0x89c278d0.

Solidity: function changeExtraPaymentLimit(uint64 _limit) returns()

func (*HwescrowSession) ChangeRegistry

func (_Hwescrow *HwescrowSession) ChangeRegistry(_registry common.Address) (*types.Transaction, error)

ChangeRegistry is a paid mutator transaction binding the contract method 0x15554c55.

Solidity: function changeRegistry(address _registry) returns()

func (*HwescrowSession) ChangeSuccessFee

func (_Hwescrow *HwescrowSession) ChangeSuccessFee(_fee *big.Int) (*types.Transaction, error)

ChangeSuccessFee is a paid mutator transaction binding the contract method 0x635b0af7.

Solidity: function changeSuccessFee(uint128 _fee) returns()

func (*HwescrowSession) ClaimPayment

func (_Hwescrow *HwescrowSession) ClaimPayment(_dealId *big.Int, _claimAmount *big.Int, _rating *big.Int, _creatorNFT *big.Int) (*types.Transaction, error)

ClaimPayment is a paid mutator transaction binding the contract method 0x885e2091.

Solidity: function claimPayment(uint256 _dealId, uint256 _claimAmount, uint128 _rating, uint256 _creatorNFT) returns()

func (*HwescrowSession) ClaimProfit

func (_Hwescrow *HwescrowSession) ClaimProfit(_dealId *big.Int, _feeCollector common.Address) (*types.Transaction, error)

ClaimProfit is a paid mutator transaction binding the contract method 0x265bdcd5.

Solidity: function claimProfit(uint256 _dealId, address _feeCollector) returns()

func (*HwescrowSession) ClaimProfits

func (_Hwescrow *HwescrowSession) ClaimProfits(_feeCollector common.Address) (*types.Transaction, error)

ClaimProfits is a paid mutator transaction binding the contract method 0x993ac84c.

Solidity: function claimProfits(address _feeCollector) returns()

func (*HwescrowSession) CreateDeal

func (_Hwescrow *HwescrowSession) CreateDeal(_recruiter common.Address, _creator common.Address, _paymentToken common.Address, _totalPayment *big.Int, _downPayment *big.Int, _recruiterNFTId *big.Int, _jobId *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

CreateDeal is a paid mutator transaction binding the contract method 0xd1116ad7.

Solidity: function createDeal(address _recruiter, address _creator, address _paymentToken, uint256 _totalPayment, uint256 _downPayment, uint256 _recruiterNFTId, uint256 _jobId, uint8 v, bytes32 r, bytes32 s) returns(uint256)

func (*HwescrowSession) CreateDealSignature

func (_Hwescrow *HwescrowSession) CreateDealSignature(_recruiter common.Address, _creator common.Address, _paymentToken common.Address, _totalPayment *big.Int, _downPayment *big.Int, _recruiterNFTId *big.Int, _jobId *big.Int, _signature []byte) (*types.Transaction, error)

CreateDealSignature is a paid mutator transaction binding the contract method 0xbc247561.

Solidity: function createDealSignature(address _recruiter, address _creator, address _paymentToken, uint256 _totalPayment, uint256 _downPayment, uint256 _recruiterNFTId, uint256 _jobId, bytes _signature) returns(uint256)

func (*HwescrowSession) Deals

func (_Hwescrow *HwescrowSession) Deals(arg0 *big.Int) (struct {
	Recruiter       common.Address
	Creator         common.Address
	PaymentToken    common.Address
	TotalPayment    *big.Int
	HwProfit        *big.Int
	ClaimedAmount   *big.Int
	ClaimableAmount *big.Int
	JobId           *big.Int
	Status          uint8
}, error)

Deals is a free data retrieval call binding the contract method 0x03988f84.

Solidity: function deals(uint256 ) view returns(address recruiter, address creator, address paymentToken, uint256 totalPayment, uint256 hwProfit, uint256 claimedAmount, uint256 claimableAmount, uint256 jobId, uint8 status)

func (*HwescrowSession) ExtraPaymentLimit

func (_Hwescrow *HwescrowSession) ExtraPaymentLimit() (uint64, error)

ExtraPaymentLimit is a free data retrieval call binding the contract method 0x493d7e0c.

Solidity: function extraPaymentLimit() view returns(uint64)

func (*HwescrowSession) GetAggregatedRating

func (_Hwescrow *HwescrowSession) GetAggregatedRating(_address common.Address) (*big.Int, error)

GetAggregatedRating is a free data retrieval call binding the contract method 0xb7ba315c.

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

func (*HwescrowSession) GetAvgCreatorRating

func (_Hwescrow *HwescrowSession) GetAvgCreatorRating(_dealId *big.Int) (*big.Int, error)

GetAvgCreatorRating is a free data retrieval call binding the contract method 0x896adcbd.

Solidity: function getAvgCreatorRating(uint256 _dealId) view returns(uint256)

func (*HwescrowSession) GetAvgRecruiterRating

func (_Hwescrow *HwescrowSession) GetAvgRecruiterRating(_dealId *big.Int) (*big.Int, error)

GetAvgRecruiterRating is a free data retrieval call binding the contract method 0x714d00b1.

Solidity: function getAvgRecruiterRating(uint256 _dealId) view returns(uint256)

func (*HwescrowSession) GetDeal

func (_Hwescrow *HwescrowSession) GetDeal(_dealId *big.Int) (HWEscrowDeal, error)

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

Solidity: function getDeal(uint256 _dealId) view returns((address,address,address,uint256,uint256,uint256,uint256,uint256,uint8,uint128[],uint128[]))

func (*HwescrowSession) GetDeals

func (_Hwescrow *HwescrowSession) GetDeals() ([]HWEscrowDeal, error)

GetDeals is a free data retrieval call binding the contract method 0x5a5539de.

Solidity: function getDeals() view returns((address,address,address,uint256,uint256,uint256,uint256,uint256,uint8,uint128[],uint128[])[])

func (*HwescrowSession) GetDeals0

func (_Hwescrow *HwescrowSession) GetDeals0(_address common.Address) ([]*big.Int, error)

GetDeals0 is a free data retrieval call binding the contract method 0x71c59055.

Solidity: function getDeals(address _address) view returns(uint256[])

func (*HwescrowSession) GetEthSignedMessageHash

func (_Hwescrow *HwescrowSession) GetEthSignedMessageHash(_messageHash [32]byte) ([32]byte, error)

GetEthSignedMessageHash is a free data retrieval call binding the contract method 0xfa540801.

Solidity: function getEthSignedMessageHash(bytes32 _messageHash) pure returns(bytes32)

func (*HwescrowSession) GetMessageHash

func (_Hwescrow *HwescrowSession) GetMessageHash(_recruiter common.Address, _creator common.Address, _paymentToken common.Address, _totalPayment *big.Int, _downPayment *big.Int, _jobId *big.Int) ([32]byte, error)

GetMessageHash is a free data retrieval call binding the contract method 0x2e900195.

Solidity: function getMessageHash(address _recruiter, address _creator, address _paymentToken, uint256 _totalPayment, uint256 _downPayment, uint256 _jobId) pure returns(bytes32)

func (*HwescrowSession) GetPrecision

func (_Hwescrow *HwescrowSession) GetPrecision() (*big.Int, error)

GetPrecision is a free data retrieval call binding the contract method 0x9670c0bc.

Solidity: function getPrecision() pure returns(uint256)

func (*HwescrowSession) GetProfits

func (_Hwescrow *HwescrowSession) GetProfits() (*big.Int, error)

GetProfits is a free data retrieval call binding the contract method 0x3ad15258.

Solidity: function getProfits() view returns(uint256)

func (*HwescrowSession) NativePaymentAllowed

func (_Hwescrow *HwescrowSession) NativePaymentAllowed() (bool, error)

NativePaymentAllowed is a free data retrieval call binding the contract method 0x7709807b.

Solidity: function nativePaymentAllowed() view returns(bool)

func (*HwescrowSession) Owner

func (_Hwescrow *HwescrowSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*HwescrowSession) Profits

func (_Hwescrow *HwescrowSession) Profits() (*big.Int, error)

Profits is a free data retrieval call binding the contract method 0x2b36a657.

Solidity: function profits() view returns(uint256)

func (*HwescrowSession) RecoverSigner

func (_Hwescrow *HwescrowSession) RecoverSigner(_ethSignedMessageHash [32]byte, v uint8, r [32]byte, s [32]byte) (common.Address, error)

RecoverSigner is a free data retrieval call binding the contract method 0xd45167d0.

Solidity: function recoverSigner(bytes32 _ethSignedMessageHash, uint8 v, bytes32 r, bytes32 s) pure returns(address)

func (*HwescrowSession) Registry

func (_Hwescrow *HwescrowSession) Registry() (common.Address, error)

Registry is a free data retrieval call binding the contract method 0x7b103999.

Solidity: function registry() view returns(address)

func (*HwescrowSession) RenounceOwnership

func (_Hwescrow *HwescrowSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*HwescrowSession) SplitSignature

func (_Hwescrow *HwescrowSession) SplitSignature(sig []byte) (struct {
	R [32]byte
	S [32]byte
	V uint8
}, error)

SplitSignature is a free data retrieval call binding the contract method 0xa7bb5803.

Solidity: function splitSignature(bytes sig) pure returns(bytes32 r, bytes32 s, uint8 v)

func (*HwescrowSession) SuccessFee

func (_Hwescrow *HwescrowSession) SuccessFee() (*big.Int, error)

SuccessFee is a free data retrieval call binding the contract method 0x7554fffd.

Solidity: function successFee() view returns(uint128)

func (*HwescrowSession) TransferOwnership

func (_Hwescrow *HwescrowSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*HwescrowSession) UnlockPayment

func (_Hwescrow *HwescrowSession) UnlockPayment(_dealId *big.Int, _paymentAmount *big.Int, _rating *big.Int, _recruiterNFT *big.Int) (*types.Transaction, error)

UnlockPayment is a paid mutator transaction binding the contract method 0x6f2a1562.

Solidity: function unlockPayment(uint256 _dealId, uint256 _paymentAmount, uint128 _rating, uint256 _recruiterNFT) returns()

func (*HwescrowSession) WithdrawPayment

func (_Hwescrow *HwescrowSession) WithdrawPayment(_dealId *big.Int) (*types.Transaction, error)

WithdrawPayment is a paid mutator transaction binding the contract method 0xdbd3cd62.

Solidity: function withdrawPayment(uint256 _dealId) returns()

type HwescrowTotalFeeClaimed

type HwescrowTotalFeeClaimed struct {
	Collector common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

HwescrowTotalFeeClaimed represents a TotalFeeClaimed event raised by the Hwescrow contract.

type HwescrowTotalFeeClaimedIterator

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

HwescrowTotalFeeClaimedIterator is returned from FilterTotalFeeClaimed and is used to iterate over the raw logs and unpacked data for TotalFeeClaimed events raised by the Hwescrow contract.

func (*HwescrowTotalFeeClaimedIterator) Close

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

func (*HwescrowTotalFeeClaimedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HwescrowTotalFeeClaimedIterator) 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 HwescrowTransactor

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

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

func NewHwescrowTransactor

func NewHwescrowTransactor(address common.Address, transactor bind.ContractTransactor) (*HwescrowTransactor, error)

NewHwescrowTransactor creates a new write-only instance of Hwescrow, bound to a specific deployed contract.

func (*HwescrowTransactor) ChangeExtraPaymentLimit

func (_Hwescrow *HwescrowTransactor) ChangeExtraPaymentLimit(opts *bind.TransactOpts, _limit uint64) (*types.Transaction, error)

ChangeExtraPaymentLimit is a paid mutator transaction binding the contract method 0x89c278d0.

Solidity: function changeExtraPaymentLimit(uint64 _limit) returns()

func (*HwescrowTransactor) ChangeRegistry

func (_Hwescrow *HwescrowTransactor) ChangeRegistry(opts *bind.TransactOpts, _registry common.Address) (*types.Transaction, error)

ChangeRegistry is a paid mutator transaction binding the contract method 0x15554c55.

Solidity: function changeRegistry(address _registry) returns()

func (*HwescrowTransactor) ChangeSuccessFee

func (_Hwescrow *HwescrowTransactor) ChangeSuccessFee(opts *bind.TransactOpts, _fee *big.Int) (*types.Transaction, error)

ChangeSuccessFee is a paid mutator transaction binding the contract method 0x635b0af7.

Solidity: function changeSuccessFee(uint128 _fee) returns()

func (*HwescrowTransactor) ClaimPayment

func (_Hwescrow *HwescrowTransactor) ClaimPayment(opts *bind.TransactOpts, _dealId *big.Int, _claimAmount *big.Int, _rating *big.Int, _creatorNFT *big.Int) (*types.Transaction, error)

ClaimPayment is a paid mutator transaction binding the contract method 0x885e2091.

Solidity: function claimPayment(uint256 _dealId, uint256 _claimAmount, uint128 _rating, uint256 _creatorNFT) returns()

func (*HwescrowTransactor) ClaimProfit

func (_Hwescrow *HwescrowTransactor) ClaimProfit(opts *bind.TransactOpts, _dealId *big.Int, _feeCollector common.Address) (*types.Transaction, error)

ClaimProfit is a paid mutator transaction binding the contract method 0x265bdcd5.

Solidity: function claimProfit(uint256 _dealId, address _feeCollector) returns()

func (*HwescrowTransactor) ClaimProfits

func (_Hwescrow *HwescrowTransactor) ClaimProfits(opts *bind.TransactOpts, _feeCollector common.Address) (*types.Transaction, error)

ClaimProfits is a paid mutator transaction binding the contract method 0x993ac84c.

Solidity: function claimProfits(address _feeCollector) returns()

func (*HwescrowTransactor) CreateDeal

func (_Hwescrow *HwescrowTransactor) CreateDeal(opts *bind.TransactOpts, _recruiter common.Address, _creator common.Address, _paymentToken common.Address, _totalPayment *big.Int, _downPayment *big.Int, _recruiterNFTId *big.Int, _jobId *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

CreateDeal is a paid mutator transaction binding the contract method 0xd1116ad7.

Solidity: function createDeal(address _recruiter, address _creator, address _paymentToken, uint256 _totalPayment, uint256 _downPayment, uint256 _recruiterNFTId, uint256 _jobId, uint8 v, bytes32 r, bytes32 s) returns(uint256)

func (*HwescrowTransactor) CreateDealSignature

func (_Hwescrow *HwescrowTransactor) CreateDealSignature(opts *bind.TransactOpts, _recruiter common.Address, _creator common.Address, _paymentToken common.Address, _totalPayment *big.Int, _downPayment *big.Int, _recruiterNFTId *big.Int, _jobId *big.Int, _signature []byte) (*types.Transaction, error)

CreateDealSignature is a paid mutator transaction binding the contract method 0xbc247561.

Solidity: function createDealSignature(address _recruiter, address _creator, address _paymentToken, uint256 _totalPayment, uint256 _downPayment, uint256 _recruiterNFTId, uint256 _jobId, bytes _signature) returns(uint256)

func (*HwescrowTransactor) RenounceOwnership

func (_Hwescrow *HwescrowTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*HwescrowTransactor) TransferOwnership

func (_Hwescrow *HwescrowTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*HwescrowTransactor) UnlockPayment

func (_Hwescrow *HwescrowTransactor) UnlockPayment(opts *bind.TransactOpts, _dealId *big.Int, _paymentAmount *big.Int, _rating *big.Int, _recruiterNFT *big.Int) (*types.Transaction, error)

UnlockPayment is a paid mutator transaction binding the contract method 0x6f2a1562.

Solidity: function unlockPayment(uint256 _dealId, uint256 _paymentAmount, uint128 _rating, uint256 _recruiterNFT) returns()

func (*HwescrowTransactor) WithdrawPayment

func (_Hwescrow *HwescrowTransactor) WithdrawPayment(opts *bind.TransactOpts, _dealId *big.Int) (*types.Transaction, error)

WithdrawPayment is a paid mutator transaction binding the contract method 0xdbd3cd62.

Solidity: function withdrawPayment(uint256 _dealId) returns()

type HwescrowTransactorRaw

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

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

func (*HwescrowTransactorRaw) Transact

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

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

func (*HwescrowTransactorRaw) Transfer

func (_Hwescrow *HwescrowTransactorRaw) 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 HwescrowTransactorSession

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

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

func (*HwescrowTransactorSession) ChangeExtraPaymentLimit

func (_Hwescrow *HwescrowTransactorSession) ChangeExtraPaymentLimit(_limit uint64) (*types.Transaction, error)

ChangeExtraPaymentLimit is a paid mutator transaction binding the contract method 0x89c278d0.

Solidity: function changeExtraPaymentLimit(uint64 _limit) returns()

func (*HwescrowTransactorSession) ChangeRegistry

func (_Hwescrow *HwescrowTransactorSession) ChangeRegistry(_registry common.Address) (*types.Transaction, error)

ChangeRegistry is a paid mutator transaction binding the contract method 0x15554c55.

Solidity: function changeRegistry(address _registry) returns()

func (*HwescrowTransactorSession) ChangeSuccessFee

func (_Hwescrow *HwescrowTransactorSession) ChangeSuccessFee(_fee *big.Int) (*types.Transaction, error)

ChangeSuccessFee is a paid mutator transaction binding the contract method 0x635b0af7.

Solidity: function changeSuccessFee(uint128 _fee) returns()

func (*HwescrowTransactorSession) ClaimPayment

func (_Hwescrow *HwescrowTransactorSession) ClaimPayment(_dealId *big.Int, _claimAmount *big.Int, _rating *big.Int, _creatorNFT *big.Int) (*types.Transaction, error)

ClaimPayment is a paid mutator transaction binding the contract method 0x885e2091.

Solidity: function claimPayment(uint256 _dealId, uint256 _claimAmount, uint128 _rating, uint256 _creatorNFT) returns()

func (*HwescrowTransactorSession) ClaimProfit

func (_Hwescrow *HwescrowTransactorSession) ClaimProfit(_dealId *big.Int, _feeCollector common.Address) (*types.Transaction, error)

ClaimProfit is a paid mutator transaction binding the contract method 0x265bdcd5.

Solidity: function claimProfit(uint256 _dealId, address _feeCollector) returns()

func (*HwescrowTransactorSession) ClaimProfits

func (_Hwescrow *HwescrowTransactorSession) ClaimProfits(_feeCollector common.Address) (*types.Transaction, error)

ClaimProfits is a paid mutator transaction binding the contract method 0x993ac84c.

Solidity: function claimProfits(address _feeCollector) returns()

func (*HwescrowTransactorSession) CreateDeal

func (_Hwescrow *HwescrowTransactorSession) CreateDeal(_recruiter common.Address, _creator common.Address, _paymentToken common.Address, _totalPayment *big.Int, _downPayment *big.Int, _recruiterNFTId *big.Int, _jobId *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

CreateDeal is a paid mutator transaction binding the contract method 0xd1116ad7.

Solidity: function createDeal(address _recruiter, address _creator, address _paymentToken, uint256 _totalPayment, uint256 _downPayment, uint256 _recruiterNFTId, uint256 _jobId, uint8 v, bytes32 r, bytes32 s) returns(uint256)

func (*HwescrowTransactorSession) CreateDealSignature

func (_Hwescrow *HwescrowTransactorSession) CreateDealSignature(_recruiter common.Address, _creator common.Address, _paymentToken common.Address, _totalPayment *big.Int, _downPayment *big.Int, _recruiterNFTId *big.Int, _jobId *big.Int, _signature []byte) (*types.Transaction, error)

CreateDealSignature is a paid mutator transaction binding the contract method 0xbc247561.

Solidity: function createDealSignature(address _recruiter, address _creator, address _paymentToken, uint256 _totalPayment, uint256 _downPayment, uint256 _recruiterNFTId, uint256 _jobId, bytes _signature) returns(uint256)

func (*HwescrowTransactorSession) RenounceOwnership

func (_Hwescrow *HwescrowTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*HwescrowTransactorSession) TransferOwnership

func (_Hwescrow *HwescrowTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*HwescrowTransactorSession) UnlockPayment

func (_Hwescrow *HwescrowTransactorSession) UnlockPayment(_dealId *big.Int, _paymentAmount *big.Int, _rating *big.Int, _recruiterNFT *big.Int) (*types.Transaction, error)

UnlockPayment is a paid mutator transaction binding the contract method 0x6f2a1562.

Solidity: function unlockPayment(uint256 _dealId, uint256 _paymentAmount, uint128 _rating, uint256 _recruiterNFT) returns()

func (*HwescrowTransactorSession) WithdrawPayment

func (_Hwescrow *HwescrowTransactorSession) WithdrawPayment(_dealId *big.Int) (*types.Transaction, error)

WithdrawPayment is a paid mutator transaction binding the contract method 0xdbd3cd62.

Solidity: function withdrawPayment(uint256 _dealId) returns()

Jump to

Keyboard shortcuts

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