payments

package
v0.0.0-brrefs-pull-101... Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PaymentsABI = PaymentsMetaData.ABI

PaymentsABI is the input ABI used to generate the binding from. Deprecated: Use PaymentsMetaData.ABI instead.

View Source
var PaymentsBin = PaymentsMetaData.Bin

PaymentsBin is the compiled bytecode used for deploying new contracts. Deprecated: Use PaymentsMetaData.Bin instead.

View Source
var PaymentsMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"dealId\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"payee\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"enumHivePayments.PaymentReason\",\"name\":\"reason\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"enumHivePayments.PaymentDirection\",\"name\":\"direction\",\"type\":\"uint8\"}],\"name\":\"Payment\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"dealId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"resourceProvider\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"jobCreator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"jobCost\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paymentCollateral\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"resultsCollateral\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timeoutCollateral\",\"type\":\"uint256\"}],\"name\":\"acceptResult\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"dealId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"resourceProvider\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"resultsCollateral\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timeoutCollateral\",\"type\":\"uint256\"}],\"name\":\"addResult\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"dealId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"jobCreator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"paymentCollateral\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timeoutCollateral\",\"type\":\"uint256\"}],\"name\":\"agreeJobCreator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"dealId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"resourceProvider\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"timeoutCollateral\",\"type\":\"uint256\"}],\"name\":\"agreeResourceProvider\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"dealId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"jobCreator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"timeoutCollateral\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"mediationFee\",\"type\":\"uint256\"}],\"name\":\"checkResult\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"disableChangeControllerAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"disableChangeTokenAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getControllerAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTokenAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenAddress\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"dealId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"resourceProvider\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"jobCreator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"jobCost\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paymentCollateral\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"resultsCollateral\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"mediationFee\",\"type\":\"uint256\"}],\"name\":\"mediationAcceptResult\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"dealId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"resourceProvider\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"jobCreator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"paymentCollateral\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"resultsCollateral\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"mediationFee\",\"type\":\"uint256\"}],\"name\":\"mediationRejectResult\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controllerAddress\",\"type\":\"address\"}],\"name\":\"setControllerAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenAddress\",\"type\":\"address\"}],\"name\":\"setTokenAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"dealId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"jobCreator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"paymentCollateral\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timeoutCollateral\",\"type\":\"uint256\"}],\"name\":\"timeoutAgreeRefundJobCreator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"dealId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"resourceProvider\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"timeoutCollateral\",\"type\":\"uint256\"}],\"name\":\"timeoutAgreeRefundResourceProvider\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"dealId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"resourceProvider\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"jobCreator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"resultsCollateral\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timeoutCollateral\",\"type\":\"uint256\"}],\"name\":\"timeoutJudgeResults\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"dealId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"resourceProvider\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"jobCreator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"paymentCollateral\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"resultsCollateral\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"mediationFee\",\"type\":\"uint256\"}],\"name\":\"timeoutMediateResult\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"dealId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"resourceProvider\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"jobCreator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"paymentCollateral\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timeoutCollateral\",\"type\":\"uint256\"}],\"name\":\"timeoutSubmitResults\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x608060405260018060146101000a81548160ff0219169083151502179055506001600360146101000a81548160ff0219169083151502179055503480156200004657600080fd5b50620000676200005b6200006d60201b60201c565b6200007560201b60201c565b62000139565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61297380620001496000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80639e3868dc116100b8578063b91880351161007c578063b9188035146102d5578063c4d66de8146102f1578063c57380a21461030d578063d2485cce1461032b578063f2fde38b14610347578063f3d3d4481461036357610142565b80639e3868dc1461025b578063a470295814610277578063aea3825114610281578063afe1dff71461029d578063b1356714146102b957610142565b80632a1f90721161010a5780632a1f9072146101d557806338698529146101f15780634bc28da11461020d578063715018a614610217578063823f3de1146102215780638da5cb5b1461023d57610142565b806302fd8f801461014757806309cab510146101635780630ef0d89e1461017f57806310fe9ae81461019b57806326a4e8d2146101b9575b600080fd5b610161600480360381019061015c91906119a6565b61037f565b005b61017d60048036038101906101789190611a3d565b610424565b005b61019960048036038101906101949190611ac0565b6104ba565b005b6101a3610543565b6040516101b09190611b3e565b60405180910390f35b6101d360048036038101906101ce9190611b59565b61056d565b005b6101ef60048036038101906101ea9190611b86565b6106b8565b005b61020b600480360381019061020691906119a6565b610732565b005b6102156107ca565b005b61021f6107ef565b005b61023b60048036038101906102369190611c44565b610803565b005b6102456108df565b6040516102529190611b3e565b60405180910390f35b61027560048036038101906102709190611ac0565b610908565b005b61027f610990565b005b61029b60048036038101906102969190611a3d565b6109b5565b005b6102b760048036038101906102b29190611a3d565b610a4b565b005b6102d360048036038101906102ce9190611b86565b610ae2565b005b6102ef60048036038101906102ea9190611a3d565b610bc9565b005b61030b60048036038101906103069190611b59565b610c5e565b005b610315610da1565b6040516103229190611b3e565b60405180910390f35b61034560048036038101906103409190611c44565b610dcb565b005b610361600480360381019061035c9190611b59565b610e04565b005b61037d60048036038101906103789190611b59565b610e87565b005b610387610f91565b508273ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146103f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103ed90611d70565b60405180910390fd5b61040385848460006110c1565b61041085848360026110c1565b61041d85858360026111ec565b5050505050565b61042c610f91565b508273ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461049b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161049290611e02565b60405180910390fd5b6104a784836001611317565b6104b484848360026110c1565b50505050565b6104c2610f91565b508173ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610531576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052890611e02565b60405180910390fd5b61053e83838360026110c1565b505050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61057561151d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036105e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105db90611e94565b60405180910390fd5b600360149054906101000a900460ff16610633576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062a90611f26565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6106c0610f91565b5060008490506000848611156106d8578491506106e7565b85856106e49190611f75565b90505b6106f589888a85600361159b565b61070389883286600461159b565b600081111561071a5761071989888360006110c1565b5b61072789898660016110c1565b505050505050505050565b61073a610f91565b508373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146107a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a090611e02565b60405180910390fd5b6107b685858460016110c1565b6107c385848360026111ec565b5050505050565b6107d261151d565b6000600360146101000a81548160ff021916908315150217905550565b6107f761151d565b61080160006116c9565b565b61080b610f91565b508473ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16148061087157508373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16145b6108b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a79061201b565b60405180910390fd5b6108bd86868460016110c1565b6108ca86858560006110c1565b6108d786858360046110c1565b505050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610910610f91565b508173ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461097f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097690611e02565b60405180910390fd5b61098b83826002611317565b505050565b61099861151d565b6000600160146101000a81548160ff021916908315150217905550565b6109bd610f91565b508273ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610a2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2390611d70565b60405180910390fd5b610a3984848460026110c1565b610a4584826004611317565b50505050565b610a53610f91565b508273ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610ac2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab990611d70565b60405180910390fd5b610acf84848460006110c1565b610adc84848360026110c1565b50505050565b610aea610f91565b508473ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610b59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5090611d70565b60405180910390fd5b6000849050600084861115610b7057849150610b7f565b8585610b7c9190611f75565b90505b610b8d89888a85600361159b565b6000811115610ba457610ba389888360006110c1565b5b610bb189888560026110c1565b610bbe89898660016110c1565b505050505050505050565b610bd1610f91565b508273ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3790611d70565b60405180910390fd5b610c4c84836000611317565b610c5884826002611317565b50505050565b6000600160169054906101000a900460ff16159050808015610c91575060018060159054906101000a900460ff1660ff16105b80610cbf5750610ca03061178d565b158015610cbe575060018060159054906101000a900460ff1660ff16145b5b610cfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf5906120ad565b60405180910390fd5b60018060156101000a81548160ff021916908360ff1602179055508015610d3a5760018060166101000a81548160ff0219169083151502179055505b610d438261056d565b8015610d9d576000600160166101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024986001604051610d94919061211f565b60405180910390a15b5050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610dd3610f91565b50610de186858560006110c1565b610def86853284600461159b565b610dfc86868460016111ec565b505050505050565b610e0c61151d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e72906121ac565b60405180910390fd5b610e84816116c9565b50565b610e8f61151d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610efe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef59061223e565b60405180910390fd5b600160149054906101000a900460ff16610f4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f44906122d0565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611023576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101a9061223e565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166110646117b0565b73ffffffffffffffffffffffffffffffffffffffff16146110ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b190612362565b60405180910390fd5b6001905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663599efa6b85856040518363ffffffff1660e01b8152600401611120929190612391565b6020604051808303816000875af115801561113f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116391906123f2565b9050806111a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119c90612491565b60405180910390fd5b7f64861f505d0cfce7a0cc3629c70eb54f7de27be35939b48300935694958a98428585858560026040516111dd9594939291906125e7565b60405180910390a15050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166388c2bdfe85856040518363ffffffff1660e01b815260040161124b929190612391565b6020604051808303816000875af115801561126a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128e91906123f2565b9050806112d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c7906126b3565b60405180910390fd5b7f64861f505d0cfce7a0cc3629c70eb54f7de27be35939b48300935694958a98428585858560036040516113089594939291906125e7565b60405180910390a15050505050565b81600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231326040518263ffffffff1660e01b81526004016113739190611b3e565b602060405180830381865afa158015611390573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113b491906126e8565b10156113f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ec90612787565b60405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635407e93c846040518263ffffffff1660e01b815260040161145291906127a7565b6020604051808303816000875af1158015611471573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149591906123f2565b9050806114d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ce9061280e565b60405180910390fd5b7f64861f505d0cfce7a0cc3629c70eb54f7de27be35939b48300935694958a984284328585600060405161150f9594939291906125e7565b60405180910390a150505050565b6115256117b0565b73ffffffffffffffffffffffffffffffffffffffff166115436108df565b73ffffffffffffffffffffffffffffffffffffffff1614611599576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115909061287a565b60405180910390fd5b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663065e86c88686866040518463ffffffff1660e01b81526004016115fc9392919061289a565b6020604051808303816000875af115801561161b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061163f91906123f2565b905080611681576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116789061291d565b60405180910390fd5b7f64861f505d0cfce7a0cc3629c70eb54f7de27be35939b48300935694958a98428685858560016040516116b99594939291906125e7565b60405180910390a1505050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600033905090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61181f826117d6565b810181811067ffffffffffffffff8211171561183e5761183d6117e7565b5b80604052505050565b60006118516117b8565b905061185d8282611816565b919050565b600067ffffffffffffffff82111561187d5761187c6117e7565b5b611886826117d6565b9050602081019050919050565b82818337600083830152505050565b60006118b56118b084611862565b611847565b9050828152602081018484840111156118d1576118d06117d1565b5b6118dc848285611893565b509392505050565b600082601f8301126118f9576118f86117cc565b5b81356119098482602086016118a2565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061193d82611912565b9050919050565b61194d81611932565b811461195857600080fd5b50565b60008135905061196a81611944565b92915050565b6000819050919050565b61198381611970565b811461198e57600080fd5b50565b6000813590506119a08161197a565b92915050565b600080600080600060a086880312156119c2576119c16117c2565b5b600086013567ffffffffffffffff8111156119e0576119df6117c7565b5b6119ec888289016118e4565b95505060206119fd8882890161195b565b9450506040611a0e8882890161195b565b9350506060611a1f88828901611991565b9250506080611a3088828901611991565b9150509295509295909350565b60008060008060808587031215611a5757611a566117c2565b5b600085013567ffffffffffffffff811115611a7557611a746117c7565b5b611a81878288016118e4565b9450506020611a928782880161195b565b9350506040611aa387828801611991565b9250506060611ab487828801611991565b91505092959194509250565b600080600060608486031215611ad957611ad86117c2565b5b600084013567ffffffffffffffff811115611af757611af66117c7565b5b611b03868287016118e4565b9350506020611b148682870161195b565b9250506040611b2586828701611991565b9150509250925092565b611b3881611932565b82525050565b6000602082019050611b536000830184611b2f565b92915050565b600060208284031215611b6f57611b6e6117c2565b5b6000611b7d8482850161195b565b91505092915050565b600080600080600080600060e0888a031215611ba557611ba46117c2565b5b600088013567ffffffffffffffff811115611bc357611bc26117c7565b5b611bcf8a828b016118e4565b9750506020611be08a828b0161195b565b9650506040611bf18a828b0161195b565b9550506060611c028a828b01611991565b9450506080611c138a828b01611991565b93505060a0611c248a828b01611991565b92505060c0611c358a828b01611991565b91505092959891949750929550565b60008060008060008060c08789031215611c6157611c606117c2565b5b600087013567ffffffffffffffff811115611c7f57611c7e6117c7565b5b611c8b89828a016118e4565b9650506020611c9c89828a0161195b565b9550506040611cad89828a0161195b565b9450506060611cbe89828a01611991565b9350506080611ccf89828a01611991565b92505060a0611ce089828a01611991565b9150509295509295509295565b600082825260208201905092915050565b7f486976655061796d656e74733a2043616e206f6e6c792062652063616c6c656460008201527f20627920746865204a4300000000000000000000000000000000000000000000602082015250565b6000611d5a602a83611ced565b9150611d6582611cfe565b604082019050919050565b60006020820190508181036000830152611d8981611d4d565b9050919050565b7f486976655061796d656e74733a2043616e206f6e6c792062652063616c6c656460008201527f2062792074686520525000000000000000000000000000000000000000000000602082015250565b6000611dec602a83611ced565b9150611df782611d90565b604082019050919050565b60006020820190508181036000830152611e1b81611ddf565b9050919050565b7f486976655061796d656e74733a20546f6b656e2061646472657373206d75737460008201527f20626520646566696e6564000000000000000000000000000000000000000000602082015250565b6000611e7e602b83611ced565b9150611e8982611e22565b604082019050919050565b60006020820190508181036000830152611ead81611e71565b9050919050565b7f48697665546f6b656e3a2063616e4368616e6765546f6b656e4164647265737360008201527f2069732064697361626c65640000000000000000000000000000000000000000602082015250565b6000611f10602c83611ced565b9150611f1b82611eb4565b604082019050919050565b60006020820190508181036000830152611f3f81611f03565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611f8082611970565b9150611f8b83611970565b925082821015611f9e57611f9d611f46565b5b828203905092915050565b7f486976655061796d656e74733a2043616e206f6e6c792062652063616c6c656460008201527f20627920746865205250206f72204a4300000000000000000000000000000000602082015250565b6000612005603083611ced565b915061201082611fa9565b604082019050919050565b6000602082019050818103600083015261203481611ff8565b9050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b6000612097602e83611ced565b91506120a28261203b565b604082019050919050565b600060208201905081810360008301526120c68161208a565b9050919050565b6000819050919050565b600060ff82169050919050565b6000819050919050565b60006121096121046120ff846120cd565b6120e4565b6120d7565b9050919050565b612119816120ee565b82525050565b60006020820190506121346000830184612110565b92915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612196602683611ced565b91506121a18261213a565b604082019050919050565b600060208201905081810360008301526121c581612189565b9050919050565b7f436f6e74726f6c6c65724f776e61626c653a20436f6e74726f6c6c657220616460008201527f6472657373206d75737420626520646566696e65640000000000000000000000602082015250565b6000612228603583611ced565b9150612233826121cc565b604082019050919050565b600060208201905081810360008301526122578161221b565b9050919050565b7f436f6e74726f6c6c65724f776e61626c653a2063616e4368616e6765436f6e7460008201527f726f6c6c6572416464726573732069732064697361626c656400000000000000602082015250565b60006122ba603983611ced565b91506122c58261225e565b604082019050919050565b600060208201905081810360008301526122e9816122ad565b9050919050565b7f436f6e74726f6c6c65724f776e61626c653a204f6e6c792074686520636f6e7460008201527f726f6c6c65722063616e2063616c6c2074686973206d6574686f640000000000602082015250565b600061234c603b83611ced565b9150612357826122f0565b604082019050919050565b6000602082019050818103600083015261237b8161233f565b9050919050565b61238b81611970565b82525050565b60006040820190506123a66000830185611b2f565b6123b36020830184612382565b9392505050565b60008115159050919050565b6123cf816123ba565b81146123da57600080fd5b50565b6000815190506123ec816123c6565b92915050565b600060208284031215612408576124076117c2565b5b6000612416848285016123dd565b91505092915050565b7f486976655061796d656e74733a20526566756e6420657363726f77206661696c60008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b600061247b602283611ced565b91506124868261241f565b604082019050919050565b600060208201905081810360008301526124aa8161246e565b9050919050565b600081519050919050565b60005b838110156124da5780820151818401526020810190506124bf565b838111156124e9576000848401525b50505050565b60006124fa826124b1565b6125048185611ced565b93506125148185602086016124bc565b61251d816117d6565b840191505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6005811061256857612567612528565b5b50565b600081905061257982612557565b919050565b60006125898261256b565b9050919050565b6125998161257e565b82525050565b600481106125b0576125af612528565b5b50565b60008190506125c18261259f565b919050565b60006125d1826125b3565b9050919050565b6125e1816125c6565b82525050565b600060a082019050818103600083015261260181886124ef565b90506126106020830187611b2f565b61261d6040830186612382565b61262a6060830185612590565b61263760808301846125d8565b9695505050505050565b7f486976655061796d656e74733a20536c61736820657363726f77206661696c6560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b600061269d602183611ced565b91506126a882612641565b604082019050919050565b600060208201905081810360008301526126cc81612690565b9050919050565b6000815190506126e28161197a565b92915050565b6000602082840312156126fe576126fd6117c2565b5b600061270c848285016126d3565b91505092915050565b7f486976655061796d656e74733a20496e73756666696369656e742062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000612771602283611ced565b915061277c82612715565b604082019050919050565b600060208201905081810360008301526127a081612764565b9050919050565b60006020820190506127bc6000830184612382565b92915050565b7f486976655061796d656e74733a2050617920657363726f77206661696c656400600082015250565b60006127f8601f83611ced565b9150612803826127c2565b602082019050919050565b60006020820190508181036000830152612827816127eb565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612864602083611ced565b915061286f8261282e565b602082019050919050565b6000602082019050818103600083015261289381612857565b9050919050565b60006060820190506128af6000830186611b2f565b6128bc6020830185611b2f565b6128c96040830184612382565b949350505050565b7f486976655061796d656e74733a20506179206a6f62206661696c656400000000600082015250565b6000612907601c83611ced565b9150612912826128d1565b602082019050919050565b60006020820190508181036000830152612936816128fa565b905091905056fea26469706673582212204409539fd2c4ac465918a566cd4e3490df790276a5346f3d53abf08728f99f9d64736f6c634300080f0033",
}

PaymentsMetaData contains all meta data concerning the Payments contract.

Functions

This section is empty.

Types

type Payments

type Payments struct {
	PaymentsCaller     // Read-only binding to the contract
	PaymentsTransactor // Write-only binding to the contract
	PaymentsFilterer   // Log filterer for contract events
}

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

func DeployPayments

func DeployPayments(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Payments, error)

DeployPayments deploys a new Ethereum contract, binding an instance of Payments to it.

func NewPayments

func NewPayments(address common.Address, backend bind.ContractBackend) (*Payments, error)

NewPayments creates a new instance of Payments, bound to a specific deployed contract.

type PaymentsCaller

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

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

func NewPaymentsCaller

func NewPaymentsCaller(address common.Address, caller bind.ContractCaller) (*PaymentsCaller, error)

NewPaymentsCaller creates a new read-only instance of Payments, bound to a specific deployed contract.

func (*PaymentsCaller) GetControllerAddress

func (_Payments *PaymentsCaller) GetControllerAddress(opts *bind.CallOpts) (common.Address, error)

GetControllerAddress is a free data retrieval call binding the contract method 0xc57380a2.

Solidity: function getControllerAddress() view returns(address)

func (*PaymentsCaller) GetTokenAddress

func (_Payments *PaymentsCaller) GetTokenAddress(opts *bind.CallOpts) (common.Address, error)

GetTokenAddress is a free data retrieval call binding the contract method 0x10fe9ae8.

Solidity: function getTokenAddress() view returns(address)

func (*PaymentsCaller) Owner

func (_Payments *PaymentsCaller) 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)

type PaymentsCallerRaw

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

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

func (*PaymentsCallerRaw) Call

func (_Payments *PaymentsCallerRaw) 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 PaymentsCallerSession

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

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

func (*PaymentsCallerSession) GetControllerAddress

func (_Payments *PaymentsCallerSession) GetControllerAddress() (common.Address, error)

GetControllerAddress is a free data retrieval call binding the contract method 0xc57380a2.

Solidity: function getControllerAddress() view returns(address)

func (*PaymentsCallerSession) GetTokenAddress

func (_Payments *PaymentsCallerSession) GetTokenAddress() (common.Address, error)

GetTokenAddress is a free data retrieval call binding the contract method 0x10fe9ae8.

Solidity: function getTokenAddress() view returns(address)

func (*PaymentsCallerSession) Owner

func (_Payments *PaymentsCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

type PaymentsFilterer

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

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

func NewPaymentsFilterer

func NewPaymentsFilterer(address common.Address, filterer bind.ContractFilterer) (*PaymentsFilterer, error)

NewPaymentsFilterer creates a new log filterer instance of Payments, bound to a specific deployed contract.

func (*PaymentsFilterer) FilterInitialized

func (_Payments *PaymentsFilterer) FilterInitialized(opts *bind.FilterOpts) (*PaymentsInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*PaymentsFilterer) FilterOwnershipTransferred

func (_Payments *PaymentsFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*PaymentsOwnershipTransferredIterator, error)

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

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

func (*PaymentsFilterer) FilterPayment

func (_Payments *PaymentsFilterer) FilterPayment(opts *bind.FilterOpts) (*PaymentsPaymentIterator, error)

FilterPayment is a free log retrieval operation binding the contract event 0x64861f505d0cfce7a0cc3629c70eb54f7de27be35939b48300935694958a9842.

Solidity: event Payment(string dealId, address payee, uint256 amount, uint8 reason, uint8 direction)

func (*PaymentsFilterer) ParseInitialized

func (_Payments *PaymentsFilterer) ParseInitialized(log types.Log) (*PaymentsInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*PaymentsFilterer) ParseOwnershipTransferred

func (_Payments *PaymentsFilterer) ParseOwnershipTransferred(log types.Log) (*PaymentsOwnershipTransferred, error)

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

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

func (*PaymentsFilterer) ParsePayment

func (_Payments *PaymentsFilterer) ParsePayment(log types.Log) (*PaymentsPayment, error)

ParsePayment is a log parse operation binding the contract event 0x64861f505d0cfce7a0cc3629c70eb54f7de27be35939b48300935694958a9842.

Solidity: event Payment(string dealId, address payee, uint256 amount, uint8 reason, uint8 direction)

func (*PaymentsFilterer) WatchInitialized

func (_Payments *PaymentsFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *PaymentsInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*PaymentsFilterer) WatchOwnershipTransferred

func (_Payments *PaymentsFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *PaymentsOwnershipTransferred, 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 (*PaymentsFilterer) WatchPayment

func (_Payments *PaymentsFilterer) WatchPayment(opts *bind.WatchOpts, sink chan<- *PaymentsPayment) (event.Subscription, error)

WatchPayment is a free log subscription operation binding the contract event 0x64861f505d0cfce7a0cc3629c70eb54f7de27be35939b48300935694958a9842.

Solidity: event Payment(string dealId, address payee, uint256 amount, uint8 reason, uint8 direction)

type PaymentsInitialized

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

PaymentsInitialized represents a Initialized event raised by the Payments contract.

type PaymentsInitializedIterator

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

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

func (*PaymentsInitializedIterator) Close

func (it *PaymentsInitializedIterator) Close() error

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

func (*PaymentsInitializedIterator) Error

func (it *PaymentsInitializedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PaymentsInitializedIterator) Next

func (it *PaymentsInitializedIterator) 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 PaymentsOwnershipTransferred

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

PaymentsOwnershipTransferred represents a OwnershipTransferred event raised by the Payments contract.

type PaymentsOwnershipTransferredIterator

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

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

func (*PaymentsOwnershipTransferredIterator) Close

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

func (*PaymentsOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PaymentsOwnershipTransferredIterator) 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 PaymentsPayment

type PaymentsPayment struct {
	DealId    string
	Payee     common.Address
	Amount    *big.Int
	Reason    uint8
	Direction uint8
	Raw       types.Log // Blockchain specific contextual infos
}

PaymentsPayment represents a Payment event raised by the Payments contract.

type PaymentsPaymentIterator

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

PaymentsPaymentIterator is returned from FilterPayment and is used to iterate over the raw logs and unpacked data for Payment events raised by the Payments contract.

func (*PaymentsPaymentIterator) Close

func (it *PaymentsPaymentIterator) Close() error

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

func (*PaymentsPaymentIterator) Error

func (it *PaymentsPaymentIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PaymentsPaymentIterator) Next

func (it *PaymentsPaymentIterator) 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 PaymentsRaw

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

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

func (*PaymentsRaw) Call

func (_Payments *PaymentsRaw) 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 (*PaymentsRaw) Transact

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

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

func (*PaymentsRaw) Transfer

func (_Payments *PaymentsRaw) 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 PaymentsSession

type PaymentsSession struct {
	Contract     *Payments         // 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
}

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

func (*PaymentsSession) AcceptResult

func (_Payments *PaymentsSession) AcceptResult(dealId string, resourceProvider common.Address, jobCreator common.Address, jobCost *big.Int, paymentCollateral *big.Int, resultsCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

AcceptResult is a paid mutator transaction binding the contract method 0xb1356714.

Solidity: function acceptResult(string dealId, address resourceProvider, address jobCreator, uint256 jobCost, uint256 paymentCollateral, uint256 resultsCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsSession) AddResult

func (_Payments *PaymentsSession) AddResult(dealId string, resourceProvider common.Address, resultsCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

AddResult is a paid mutator transaction binding the contract method 0x09cab510.

Solidity: function addResult(string dealId, address resourceProvider, uint256 resultsCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsSession) AgreeJobCreator

func (_Payments *PaymentsSession) AgreeJobCreator(dealId string, jobCreator common.Address, paymentCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

AgreeJobCreator is a paid mutator transaction binding the contract method 0xb9188035.

Solidity: function agreeJobCreator(string dealId, address jobCreator, uint256 paymentCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsSession) AgreeResourceProvider

func (_Payments *PaymentsSession) AgreeResourceProvider(dealId string, resourceProvider common.Address, timeoutCollateral *big.Int) (*types.Transaction, error)

AgreeResourceProvider is a paid mutator transaction binding the contract method 0x9e3868dc.

Solidity: function agreeResourceProvider(string dealId, address resourceProvider, uint256 timeoutCollateral) returns()

func (*PaymentsSession) CheckResult

func (_Payments *PaymentsSession) CheckResult(dealId string, jobCreator common.Address, timeoutCollateral *big.Int, mediationFee *big.Int) (*types.Transaction, error)

CheckResult is a paid mutator transaction binding the contract method 0xaea38251.

Solidity: function checkResult(string dealId, address jobCreator, uint256 timeoutCollateral, uint256 mediationFee) returns()

func (*PaymentsSession) DisableChangeControllerAddress

func (_Payments *PaymentsSession) DisableChangeControllerAddress() (*types.Transaction, error)

DisableChangeControllerAddress is a paid mutator transaction binding the contract method 0xa4702958.

Solidity: function disableChangeControllerAddress() returns()

func (*PaymentsSession) DisableChangeTokenAddress

func (_Payments *PaymentsSession) DisableChangeTokenAddress() (*types.Transaction, error)

DisableChangeTokenAddress is a paid mutator transaction binding the contract method 0x4bc28da1.

Solidity: function disableChangeTokenAddress() returns()

func (*PaymentsSession) GetControllerAddress

func (_Payments *PaymentsSession) GetControllerAddress() (common.Address, error)

GetControllerAddress is a free data retrieval call binding the contract method 0xc57380a2.

Solidity: function getControllerAddress() view returns(address)

func (*PaymentsSession) GetTokenAddress

func (_Payments *PaymentsSession) GetTokenAddress() (common.Address, error)

GetTokenAddress is a free data retrieval call binding the contract method 0x10fe9ae8.

Solidity: function getTokenAddress() view returns(address)

func (*PaymentsSession) Initialize

func (_Payments *PaymentsSession) Initialize(_tokenAddress common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _tokenAddress) returns()

func (*PaymentsSession) MediationAcceptResult

func (_Payments *PaymentsSession) MediationAcceptResult(dealId string, resourceProvider common.Address, jobCreator common.Address, jobCost *big.Int, paymentCollateral *big.Int, resultsCollateral *big.Int, mediationFee *big.Int) (*types.Transaction, error)

MediationAcceptResult is a paid mutator transaction binding the contract method 0x2a1f9072.

Solidity: function mediationAcceptResult(string dealId, address resourceProvider, address jobCreator, uint256 jobCost, uint256 paymentCollateral, uint256 resultsCollateral, uint256 mediationFee) returns()

func (*PaymentsSession) MediationRejectResult

func (_Payments *PaymentsSession) MediationRejectResult(dealId string, resourceProvider common.Address, jobCreator common.Address, paymentCollateral *big.Int, resultsCollateral *big.Int, mediationFee *big.Int) (*types.Transaction, error)

MediationRejectResult is a paid mutator transaction binding the contract method 0xd2485cce.

Solidity: function mediationRejectResult(string dealId, address resourceProvider, address jobCreator, uint256 paymentCollateral, uint256 resultsCollateral, uint256 mediationFee) returns()

func (*PaymentsSession) Owner

func (_Payments *PaymentsSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PaymentsSession) RenounceOwnership

func (_Payments *PaymentsSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*PaymentsSession) SetControllerAddress

func (_Payments *PaymentsSession) SetControllerAddress(_controllerAddress common.Address) (*types.Transaction, error)

SetControllerAddress is a paid mutator transaction binding the contract method 0xf3d3d448.

Solidity: function setControllerAddress(address _controllerAddress) returns()

func (*PaymentsSession) SetTokenAddress

func (_Payments *PaymentsSession) SetTokenAddress(_tokenAddress common.Address) (*types.Transaction, error)

SetTokenAddress is a paid mutator transaction binding the contract method 0x26a4e8d2.

Solidity: function setTokenAddress(address _tokenAddress) returns()

func (*PaymentsSession) TimeoutAgreeRefundJobCreator

func (_Payments *PaymentsSession) TimeoutAgreeRefundJobCreator(dealId string, jobCreator common.Address, paymentCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

TimeoutAgreeRefundJobCreator is a paid mutator transaction binding the contract method 0xafe1dff7.

Solidity: function timeoutAgreeRefundJobCreator(string dealId, address jobCreator, uint256 paymentCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsSession) TimeoutAgreeRefundResourceProvider

func (_Payments *PaymentsSession) TimeoutAgreeRefundResourceProvider(dealId string, resourceProvider common.Address, timeoutCollateral *big.Int) (*types.Transaction, error)

TimeoutAgreeRefundResourceProvider is a paid mutator transaction binding the contract method 0x0ef0d89e.

Solidity: function timeoutAgreeRefundResourceProvider(string dealId, address resourceProvider, uint256 timeoutCollateral) returns()

func (*PaymentsSession) TimeoutJudgeResults

func (_Payments *PaymentsSession) TimeoutJudgeResults(dealId string, resourceProvider common.Address, jobCreator common.Address, resultsCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

TimeoutJudgeResults is a paid mutator transaction binding the contract method 0x38698529.

Solidity: function timeoutJudgeResults(string dealId, address resourceProvider, address jobCreator, uint256 resultsCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsSession) TimeoutMediateResult

func (_Payments *PaymentsSession) TimeoutMediateResult(dealId string, resourceProvider common.Address, jobCreator common.Address, paymentCollateral *big.Int, resultsCollateral *big.Int, mediationFee *big.Int) (*types.Transaction, error)

TimeoutMediateResult is a paid mutator transaction binding the contract method 0x823f3de1.

Solidity: function timeoutMediateResult(string dealId, address resourceProvider, address jobCreator, uint256 paymentCollateral, uint256 resultsCollateral, uint256 mediationFee) returns()

func (*PaymentsSession) TimeoutSubmitResults

func (_Payments *PaymentsSession) TimeoutSubmitResults(dealId string, resourceProvider common.Address, jobCreator common.Address, paymentCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

TimeoutSubmitResults is a paid mutator transaction binding the contract method 0x02fd8f80.

Solidity: function timeoutSubmitResults(string dealId, address resourceProvider, address jobCreator, uint256 paymentCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsSession) TransferOwnership

func (_Payments *PaymentsSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type PaymentsTransactor

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

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

func NewPaymentsTransactor

func NewPaymentsTransactor(address common.Address, transactor bind.ContractTransactor) (*PaymentsTransactor, error)

NewPaymentsTransactor creates a new write-only instance of Payments, bound to a specific deployed contract.

func (*PaymentsTransactor) AcceptResult

func (_Payments *PaymentsTransactor) AcceptResult(opts *bind.TransactOpts, dealId string, resourceProvider common.Address, jobCreator common.Address, jobCost *big.Int, paymentCollateral *big.Int, resultsCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

AcceptResult is a paid mutator transaction binding the contract method 0xb1356714.

Solidity: function acceptResult(string dealId, address resourceProvider, address jobCreator, uint256 jobCost, uint256 paymentCollateral, uint256 resultsCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsTransactor) AddResult

func (_Payments *PaymentsTransactor) AddResult(opts *bind.TransactOpts, dealId string, resourceProvider common.Address, resultsCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

AddResult is a paid mutator transaction binding the contract method 0x09cab510.

Solidity: function addResult(string dealId, address resourceProvider, uint256 resultsCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsTransactor) AgreeJobCreator

func (_Payments *PaymentsTransactor) AgreeJobCreator(opts *bind.TransactOpts, dealId string, jobCreator common.Address, paymentCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

AgreeJobCreator is a paid mutator transaction binding the contract method 0xb9188035.

Solidity: function agreeJobCreator(string dealId, address jobCreator, uint256 paymentCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsTransactor) AgreeResourceProvider

func (_Payments *PaymentsTransactor) AgreeResourceProvider(opts *bind.TransactOpts, dealId string, resourceProvider common.Address, timeoutCollateral *big.Int) (*types.Transaction, error)

AgreeResourceProvider is a paid mutator transaction binding the contract method 0x9e3868dc.

Solidity: function agreeResourceProvider(string dealId, address resourceProvider, uint256 timeoutCollateral) returns()

func (*PaymentsTransactor) CheckResult

func (_Payments *PaymentsTransactor) CheckResult(opts *bind.TransactOpts, dealId string, jobCreator common.Address, timeoutCollateral *big.Int, mediationFee *big.Int) (*types.Transaction, error)

CheckResult is a paid mutator transaction binding the contract method 0xaea38251.

Solidity: function checkResult(string dealId, address jobCreator, uint256 timeoutCollateral, uint256 mediationFee) returns()

func (*PaymentsTransactor) DisableChangeControllerAddress

func (_Payments *PaymentsTransactor) DisableChangeControllerAddress(opts *bind.TransactOpts) (*types.Transaction, error)

DisableChangeControllerAddress is a paid mutator transaction binding the contract method 0xa4702958.

Solidity: function disableChangeControllerAddress() returns()

func (*PaymentsTransactor) DisableChangeTokenAddress

func (_Payments *PaymentsTransactor) DisableChangeTokenAddress(opts *bind.TransactOpts) (*types.Transaction, error)

DisableChangeTokenAddress is a paid mutator transaction binding the contract method 0x4bc28da1.

Solidity: function disableChangeTokenAddress() returns()

func (*PaymentsTransactor) Initialize

func (_Payments *PaymentsTransactor) Initialize(opts *bind.TransactOpts, _tokenAddress common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _tokenAddress) returns()

func (*PaymentsTransactor) MediationAcceptResult

func (_Payments *PaymentsTransactor) MediationAcceptResult(opts *bind.TransactOpts, dealId string, resourceProvider common.Address, jobCreator common.Address, jobCost *big.Int, paymentCollateral *big.Int, resultsCollateral *big.Int, mediationFee *big.Int) (*types.Transaction, error)

MediationAcceptResult is a paid mutator transaction binding the contract method 0x2a1f9072.

Solidity: function mediationAcceptResult(string dealId, address resourceProvider, address jobCreator, uint256 jobCost, uint256 paymentCollateral, uint256 resultsCollateral, uint256 mediationFee) returns()

func (*PaymentsTransactor) MediationRejectResult

func (_Payments *PaymentsTransactor) MediationRejectResult(opts *bind.TransactOpts, dealId string, resourceProvider common.Address, jobCreator common.Address, paymentCollateral *big.Int, resultsCollateral *big.Int, mediationFee *big.Int) (*types.Transaction, error)

MediationRejectResult is a paid mutator transaction binding the contract method 0xd2485cce.

Solidity: function mediationRejectResult(string dealId, address resourceProvider, address jobCreator, uint256 paymentCollateral, uint256 resultsCollateral, uint256 mediationFee) returns()

func (*PaymentsTransactor) RenounceOwnership

func (_Payments *PaymentsTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*PaymentsTransactor) SetControllerAddress

func (_Payments *PaymentsTransactor) SetControllerAddress(opts *bind.TransactOpts, _controllerAddress common.Address) (*types.Transaction, error)

SetControllerAddress is a paid mutator transaction binding the contract method 0xf3d3d448.

Solidity: function setControllerAddress(address _controllerAddress) returns()

func (*PaymentsTransactor) SetTokenAddress

func (_Payments *PaymentsTransactor) SetTokenAddress(opts *bind.TransactOpts, _tokenAddress common.Address) (*types.Transaction, error)

SetTokenAddress is a paid mutator transaction binding the contract method 0x26a4e8d2.

Solidity: function setTokenAddress(address _tokenAddress) returns()

func (*PaymentsTransactor) TimeoutAgreeRefundJobCreator

func (_Payments *PaymentsTransactor) TimeoutAgreeRefundJobCreator(opts *bind.TransactOpts, dealId string, jobCreator common.Address, paymentCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

TimeoutAgreeRefundJobCreator is a paid mutator transaction binding the contract method 0xafe1dff7.

Solidity: function timeoutAgreeRefundJobCreator(string dealId, address jobCreator, uint256 paymentCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsTransactor) TimeoutAgreeRefundResourceProvider

func (_Payments *PaymentsTransactor) TimeoutAgreeRefundResourceProvider(opts *bind.TransactOpts, dealId string, resourceProvider common.Address, timeoutCollateral *big.Int) (*types.Transaction, error)

TimeoutAgreeRefundResourceProvider is a paid mutator transaction binding the contract method 0x0ef0d89e.

Solidity: function timeoutAgreeRefundResourceProvider(string dealId, address resourceProvider, uint256 timeoutCollateral) returns()

func (*PaymentsTransactor) TimeoutJudgeResults

func (_Payments *PaymentsTransactor) TimeoutJudgeResults(opts *bind.TransactOpts, dealId string, resourceProvider common.Address, jobCreator common.Address, resultsCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

TimeoutJudgeResults is a paid mutator transaction binding the contract method 0x38698529.

Solidity: function timeoutJudgeResults(string dealId, address resourceProvider, address jobCreator, uint256 resultsCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsTransactor) TimeoutMediateResult

func (_Payments *PaymentsTransactor) TimeoutMediateResult(opts *bind.TransactOpts, dealId string, resourceProvider common.Address, jobCreator common.Address, paymentCollateral *big.Int, resultsCollateral *big.Int, mediationFee *big.Int) (*types.Transaction, error)

TimeoutMediateResult is a paid mutator transaction binding the contract method 0x823f3de1.

Solidity: function timeoutMediateResult(string dealId, address resourceProvider, address jobCreator, uint256 paymentCollateral, uint256 resultsCollateral, uint256 mediationFee) returns()

func (*PaymentsTransactor) TimeoutSubmitResults

func (_Payments *PaymentsTransactor) TimeoutSubmitResults(opts *bind.TransactOpts, dealId string, resourceProvider common.Address, jobCreator common.Address, paymentCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

TimeoutSubmitResults is a paid mutator transaction binding the contract method 0x02fd8f80.

Solidity: function timeoutSubmitResults(string dealId, address resourceProvider, address jobCreator, uint256 paymentCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsTransactor) TransferOwnership

func (_Payments *PaymentsTransactor) 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()

type PaymentsTransactorRaw

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

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

func (*PaymentsTransactorRaw) Transact

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

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

func (*PaymentsTransactorRaw) Transfer

func (_Payments *PaymentsTransactorRaw) 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 PaymentsTransactorSession

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

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

func (*PaymentsTransactorSession) AcceptResult

func (_Payments *PaymentsTransactorSession) AcceptResult(dealId string, resourceProvider common.Address, jobCreator common.Address, jobCost *big.Int, paymentCollateral *big.Int, resultsCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

AcceptResult is a paid mutator transaction binding the contract method 0xb1356714.

Solidity: function acceptResult(string dealId, address resourceProvider, address jobCreator, uint256 jobCost, uint256 paymentCollateral, uint256 resultsCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsTransactorSession) AddResult

func (_Payments *PaymentsTransactorSession) AddResult(dealId string, resourceProvider common.Address, resultsCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

AddResult is a paid mutator transaction binding the contract method 0x09cab510.

Solidity: function addResult(string dealId, address resourceProvider, uint256 resultsCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsTransactorSession) AgreeJobCreator

func (_Payments *PaymentsTransactorSession) AgreeJobCreator(dealId string, jobCreator common.Address, paymentCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

AgreeJobCreator is a paid mutator transaction binding the contract method 0xb9188035.

Solidity: function agreeJobCreator(string dealId, address jobCreator, uint256 paymentCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsTransactorSession) AgreeResourceProvider

func (_Payments *PaymentsTransactorSession) AgreeResourceProvider(dealId string, resourceProvider common.Address, timeoutCollateral *big.Int) (*types.Transaction, error)

AgreeResourceProvider is a paid mutator transaction binding the contract method 0x9e3868dc.

Solidity: function agreeResourceProvider(string dealId, address resourceProvider, uint256 timeoutCollateral) returns()

func (*PaymentsTransactorSession) CheckResult

func (_Payments *PaymentsTransactorSession) CheckResult(dealId string, jobCreator common.Address, timeoutCollateral *big.Int, mediationFee *big.Int) (*types.Transaction, error)

CheckResult is a paid mutator transaction binding the contract method 0xaea38251.

Solidity: function checkResult(string dealId, address jobCreator, uint256 timeoutCollateral, uint256 mediationFee) returns()

func (*PaymentsTransactorSession) DisableChangeControllerAddress

func (_Payments *PaymentsTransactorSession) DisableChangeControllerAddress() (*types.Transaction, error)

DisableChangeControllerAddress is a paid mutator transaction binding the contract method 0xa4702958.

Solidity: function disableChangeControllerAddress() returns()

func (*PaymentsTransactorSession) DisableChangeTokenAddress

func (_Payments *PaymentsTransactorSession) DisableChangeTokenAddress() (*types.Transaction, error)

DisableChangeTokenAddress is a paid mutator transaction binding the contract method 0x4bc28da1.

Solidity: function disableChangeTokenAddress() returns()

func (*PaymentsTransactorSession) Initialize

func (_Payments *PaymentsTransactorSession) Initialize(_tokenAddress common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _tokenAddress) returns()

func (*PaymentsTransactorSession) MediationAcceptResult

func (_Payments *PaymentsTransactorSession) MediationAcceptResult(dealId string, resourceProvider common.Address, jobCreator common.Address, jobCost *big.Int, paymentCollateral *big.Int, resultsCollateral *big.Int, mediationFee *big.Int) (*types.Transaction, error)

MediationAcceptResult is a paid mutator transaction binding the contract method 0x2a1f9072.

Solidity: function mediationAcceptResult(string dealId, address resourceProvider, address jobCreator, uint256 jobCost, uint256 paymentCollateral, uint256 resultsCollateral, uint256 mediationFee) returns()

func (*PaymentsTransactorSession) MediationRejectResult

func (_Payments *PaymentsTransactorSession) MediationRejectResult(dealId string, resourceProvider common.Address, jobCreator common.Address, paymentCollateral *big.Int, resultsCollateral *big.Int, mediationFee *big.Int) (*types.Transaction, error)

MediationRejectResult is a paid mutator transaction binding the contract method 0xd2485cce.

Solidity: function mediationRejectResult(string dealId, address resourceProvider, address jobCreator, uint256 paymentCollateral, uint256 resultsCollateral, uint256 mediationFee) returns()

func (*PaymentsTransactorSession) RenounceOwnership

func (_Payments *PaymentsTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*PaymentsTransactorSession) SetControllerAddress

func (_Payments *PaymentsTransactorSession) SetControllerAddress(_controllerAddress common.Address) (*types.Transaction, error)

SetControllerAddress is a paid mutator transaction binding the contract method 0xf3d3d448.

Solidity: function setControllerAddress(address _controllerAddress) returns()

func (*PaymentsTransactorSession) SetTokenAddress

func (_Payments *PaymentsTransactorSession) SetTokenAddress(_tokenAddress common.Address) (*types.Transaction, error)

SetTokenAddress is a paid mutator transaction binding the contract method 0x26a4e8d2.

Solidity: function setTokenAddress(address _tokenAddress) returns()

func (*PaymentsTransactorSession) TimeoutAgreeRefundJobCreator

func (_Payments *PaymentsTransactorSession) TimeoutAgreeRefundJobCreator(dealId string, jobCreator common.Address, paymentCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

TimeoutAgreeRefundJobCreator is a paid mutator transaction binding the contract method 0xafe1dff7.

Solidity: function timeoutAgreeRefundJobCreator(string dealId, address jobCreator, uint256 paymentCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsTransactorSession) TimeoutAgreeRefundResourceProvider

func (_Payments *PaymentsTransactorSession) TimeoutAgreeRefundResourceProvider(dealId string, resourceProvider common.Address, timeoutCollateral *big.Int) (*types.Transaction, error)

TimeoutAgreeRefundResourceProvider is a paid mutator transaction binding the contract method 0x0ef0d89e.

Solidity: function timeoutAgreeRefundResourceProvider(string dealId, address resourceProvider, uint256 timeoutCollateral) returns()

func (*PaymentsTransactorSession) TimeoutJudgeResults

func (_Payments *PaymentsTransactorSession) TimeoutJudgeResults(dealId string, resourceProvider common.Address, jobCreator common.Address, resultsCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

TimeoutJudgeResults is a paid mutator transaction binding the contract method 0x38698529.

Solidity: function timeoutJudgeResults(string dealId, address resourceProvider, address jobCreator, uint256 resultsCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsTransactorSession) TimeoutMediateResult

func (_Payments *PaymentsTransactorSession) TimeoutMediateResult(dealId string, resourceProvider common.Address, jobCreator common.Address, paymentCollateral *big.Int, resultsCollateral *big.Int, mediationFee *big.Int) (*types.Transaction, error)

TimeoutMediateResult is a paid mutator transaction binding the contract method 0x823f3de1.

Solidity: function timeoutMediateResult(string dealId, address resourceProvider, address jobCreator, uint256 paymentCollateral, uint256 resultsCollateral, uint256 mediationFee) returns()

func (*PaymentsTransactorSession) TimeoutSubmitResults

func (_Payments *PaymentsTransactorSession) TimeoutSubmitResults(dealId string, resourceProvider common.Address, jobCreator common.Address, paymentCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

TimeoutSubmitResults is a paid mutator transaction binding the contract method 0x02fd8f80.

Solidity: function timeoutSubmitResults(string dealId, address resourceProvider, address jobCreator, uint256 paymentCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsTransactorSession) TransferOwnership

func (_Payments *PaymentsTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

Jump to

Keyboard shortcuts

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