fcp

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FcpCollateralABI = FcpCollateralMetaData.ABI

FcpCollateralABI is the input ABI used to generate the binding from. Deprecated: Use FcpCollateralMetaData.ABI instead.

View Source
var FcpCollateralBin = FcpCollateralMetaData.Bin

FcpCollateralBin is the compiled bytecode used for deploying new contracts. Deprecated: Use FcpCollateralMetaData.Bin instead.

View Source
var FcpCollateralMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"cp\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"frozenAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"balanceAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"operation\",\"type\":\"string\"}],\"name\":\"CollateralAdjusted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"cp\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"collateralAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"}],\"name\":\"CollateralLocked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"cp\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"}],\"name\":\"CollateralSlashed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"enumSwanCreditCollateral.CollateralStatus\",\"name\":\"newStatus\",\"type\":\"uint8\"}],\"name\":\"CollateralStatusChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"cp\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"collateralAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"}],\"name\":\"CollateralUnlocked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fundingWallet\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"depositAmount\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"challenger\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"}],\"name\":\"DisputeProof\",\"type\":\"event\"},{\"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\":true,\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"cpAccountAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"collateral\",\"type\":\"uint256\"}],\"name\":\"TaskCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"cpOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"withdrawAmount\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"collateralContratOwner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"slashfund\",\"type\":\"uint256\"}],\"name\":\"WithdrawSlash\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"addAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"availableBalance\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseCollateral\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"collateralInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"slashedFunds\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"baseCollateral\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"collateralRatio\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slashRatio\",\"type\":\"uint256\"}],\"internalType\":\"structSwanCreditCollateral.ContractInfo\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"collateralRatio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"cpAddress\",\"type\":\"address\"}],\"name\":\"cpInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"},{\"internalType\":\"int256\",\"name\":\"availableBalance\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"lockedCollateral\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"status\",\"type\":\"string\"}],\"internalType\":\"structSwanCreditCollateral.CPInfo\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"cpStatus\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"}],\"name\":\"disputeProof\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"}],\"name\":\"getTaskInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"address[]\",\"name\":\"cpList\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"collateral\",\"type\":\"uint256\"},{\"internalType\":\"enumSwanCreditCollateral.CollateralStatus\",\"name\":\"collateralStatus\",\"type\":\"uint8\"}],\"internalType\":\"structSwanCreditCollateral.Task\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isAdmin\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"},{\"internalType\":\"address[]\",\"name\":\"cpList\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"taskCollateral\",\"type\":\"uint256\"}],\"name\":\"lockCollateral\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"lockedCollateral\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"removeAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"sendETH\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_baseCollateral\",\"type\":\"uint256\"}],\"name\":\"setBaseCollateral\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"setCollateralToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_slashRatio\",\"type\":\"uint256\"}],\"name\":\"setSlashRatio\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"}],\"name\":\"slashCollateral\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"slashRatio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"slashedFunds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"tasks\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"collateral\",\"type\":\"uint256\"},{\"internalType\":\"enumSwanCreditCollateral.CollateralStatus\",\"name\":\"collateralStatus\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"unlockCollateral\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawSlashedFunds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x60a06040523073ffffffffffffffffffffffffffffffffffffffff1660809073ffffffffffffffffffffffffffffffffffffffff1681525034801561004357600080fd5b5061005261005760201b60201c565b6101f1565b600060019054906101000a900460ff16156100a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161009e9061019a565b60405180910390fd5b60ff801660008054906101000a900460ff1660ff16146101155760ff6000806101000a81548160ff021916908360ff1602179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249860ff60405161010c91906101d6565b60405180910390a15b565b600082825260208201905092915050565b7f496e697469616c697a61626c653a20636f6e747261637420697320696e69746960008201527f616c697a696e6700000000000000000000000000000000000000000000000000602082015250565b6000610184602783610117565b915061018f82610128565b604082019050919050565b600060208201905081810360008301526101b381610177565b9050919050565b600060ff82169050919050565b6101d0816101ba565b82525050565b60006020820190506101eb60008301846101c7565b92915050565b60805161491a61022860003960008181610a9001528181610b1e015281816111af0152818161123d01526112ed015261491a6000f3fe6080604052600436106101ee5760003560e01c8063704802751161010d578063a0821be3116100a0578063d27ca89b1161006f578063d27ca89b146106d9578063dd98fff514610704578063e80d9dec1461072d578063f2fde38b14610756578063f3fef3a31461077f576101ee565b8063a0821be31461060b578063a664c21614610648578063b4eae1cb14610685578063ce3518aa146106b0576101ee565b8063853911b2116100dc578063853911b21461054f5780638da5cb5b1461057857806392bdf9ba146105a35780639b5ddf09146105e0576101ee565b806370480275146104cf578063715018a6146104f85780637f58a7e51461050f5780638129fc1c14610538576101ee565b80634f1ef2861161018557806358709cf21161015457806358709cf21461041457806364a197f314610452578063666181a91461047b5780636f99f15c146104a4576101ee565b80634f1ef2861461037757806352d1902d1461039357806353ad8720146103be57806354fd4d50146103e9576101ee565b80633659cfe6116101c15780633659cfe6146102bf5780633fe65177146102e857806347e7ef24146103255780634b9f0bea1461034e576101ee565b80631785f53c146101f35780631b2094631461021c57806324d7806c146102595780632894493f14610296575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190612e31565b6107a8565b005b34801561022857600080fd5b50610243600480360381019061023e9190612fa4565b61080b565b604051610250919061318b565b60405180910390f35b34801561026557600080fd5b50610280600480360381019061027b9190612e31565b610916565b60405161028d91906131c8565b60405180910390f35b3480156102a257600080fd5b506102bd60048036038101906102b8919061320f565b610936565b005b3480156102cb57600080fd5b506102e660048036038101906102e19190612e31565b610a8e565b005b3480156102f457600080fd5b5061030f600480360381019061030a9190612e31565b610c16565b60405161031c91906132bb565b60405180910390f35b34801561033157600080fd5b5061034c600480360381019061034791906132dd565b610cb6565b005b34801561035a57600080fd5b506103756004803603810190610370919061331d565b610e21565b005b610391600480360381019061038c919061341a565b6111ad565b005b34801561039f57600080fd5b506103a86112e9565b6040516103b5919061348f565b60405180910390f35b3480156103ca57600080fd5b506103d36113a2565b6040516103e091906134ff565b60405180910390f35b3480156103f557600080fd5b506103fe6113d8565b60405161040b9190613529565b60405180910390f35b34801561042057600080fd5b5061043b60048036038101906104369190612fa4565b6113e1565b604051610449929190613553565b60405180910390f35b34801561045e57600080fd5b50610479600480360381019061047491906132dd565b611428565b005b34801561048757600080fd5b506104a2600480360381019061049d9190612e31565b61147b565b005b3480156104b057600080fd5b506104b96114c7565b6040516104c69190613529565b60405180910390f35b3480156104db57600080fd5b506104f660048036038101906104f19190612e31565b6114cd565b005b34801561050457600080fd5b5061050d611530565b005b34801561051b57600080fd5b506105366004803603810190610531919061320f565b611544565b005b34801561054457600080fd5b5061054d6115da565b005b34801561055b57600080fd5b5061057660048036038101906105719190613644565b611797565b005b34801561058457600080fd5b5061058d611b0f565b60405161059a91906136de565b60405180910390f35b3480156105af57600080fd5b506105ca60048036038101906105c59190612e31565b611b39565b6040516105d79190613529565b60405180910390f35b3480156105ec57600080fd5b506105f5611b51565b6040516106029190613529565b60405180910390f35b34801561061757600080fd5b50610632600480360381019061062d9190612e31565b611b57565b60405161063f9190613712565b60405180910390f35b34801561065457600080fd5b5061066f600480360381019061066a9190612e31565b611b6f565b60405161067c91906137e9565b60405180910390f35b34801561069157600080fd5b5061069a611cfa565b6040516106a79190613529565b60405180910390f35b3480156106bc57600080fd5b506106d760048036038101906106d2919061320f565b611d00565b005b3480156106e557600080fd5b506106ee611d12565b6040516106fb9190613529565b60405180910390f35b34801561071057600080fd5b5061072b6004803603810190610726919061380b565b611d18565b005b34801561073957600080fd5b50610754600480360381019061074f9190612fa4565b61206d565b005b34801561076257600080fd5b5061077d60048036038101906107789190612e31565b6120c9565b005b34801561078b57600080fd5b506107a660048036038101906107a191906132dd565b61214c565b005b6107b0612413565b600060cd60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610813612c7f565b60ce8260405161082391906138a3565b9081526020016040518091039020604051806060016040529081600082018054806020026020016040519081016040528092919081815260200182805480156108c157602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311610877575b50505050508152602001600182015481526020016002820160009054906101000a900460ff1660028111156108f9576108f86130c4565b5b600281111561090b5761090a6130c4565b5b815250509050919050565b60cd6020528060005260406000206000915054906101000a900460ff1681565b61093e612413565b8060c9541015610983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097a9061392c565b60405180910390fd5b8060c96000828254610995919061397b565b9250508190555060d260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016109f99291906139af565b6020604051808303816000875af1158015610a18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3c9190613a04565b503373ffffffffffffffffffffffffffffffffffffffff167fbfd9c82485e2178fcfd5c40379d8e66fe60acc50aa1ef4c50966431eb1e381cd82604051610a839190613529565b60405180910390a250565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1603610b1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1390613aa3565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16610b5b612491565b73ffffffffffffffffffffffffffffffffffffffff1614610bb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba890613b35565b60405180910390fd5b610bba816124e8565b610c1381600067ffffffffffffffff811115610bd957610bd8612e79565b5b6040519080825280601f01601f191660200182016040528015610c0b5781602001600182028036833780820191505090505b5060006124f3565b50565b60d16020528060005260406000206000915090508054610c3590613b84565b80601f0160208091040260200160405190810160405280929190818152602001828054610c6190613b84565b8015610cae5780601f10610c8357610100808354040283529160200191610cae565b820191906000526020600020905b815481529060010190602001808311610c9157829003601f168201915b505050505081565b60d260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b8152600401610d1593929190613bb5565b6020604051808303816000875af1158015610d34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d589190613a04565b508060cf60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610da89190613bec565b925050819055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f6283604051610e0c9190613529565b60405180910390a3610e1d82612661565b5050565b60cd60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea490613ca2565b60405180910390fd5b600060ce83604051610ebf91906138a3565b908152602001604051809103902090506000816001015490506000818411610ee75783610ee9565b815b905080836001016000828254610eff919061397b565b9250508190555060005b836000018054905081101561112a578160d06000866000018481548110610f3357610f32613cc2565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610fa7919061397b565b925050819055508160cf6000866000018481548110610fc957610fc8613cc2565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461103d9190613bec565b9250508190555083600001818154811061105a57611059613cc2565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f0f2440b3ca071b7d18e917a25289e7d7e7de8a491546d45acc2efbec7b3e1ae883886040516110cc929190613cf1565b60405180910390a261111d8460000182815481106110ed576110ec613cc2565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612661565b8080600101915050610f09565b5060018360020160006101000a81548160ff02191690836002811115611153576111526130c4565b5b02179055508460405161116691906138a3565b60405180910390207f4a2ced9ada462e244851a86e998eb0b5bf558c2c9c6923b7f970ed2b19b073b0600160405161119e9190613d21565b60405180910390a25050505050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff160361123b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123290613aa3565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1661127a612491565b73ffffffffffffffffffffffffffffffffffffffff16146112d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c790613b35565b60405180910390fd5b6112d9826124e8565b6112e5828260016124f3565b5050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1614611379576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137090613dae565b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b905090565b6113aa612cb2565b604051806080016040528060c954815260200160ca54815260200160cb54815260200160cc54815250905090565b60006002905090565b60ce818051602081018201805184825260208301602085012081835280955050505050506000915090508060010154908060020160009054906101000a900460ff16905082565b611430612413565b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611476573d6000803e3d6000fd5b505050565b611483612413565b8060d260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60c95481565b6114d5612413565b600160cd60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b611538612413565b61154260006127c3565b565b60cd60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166115d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c790613ca2565b60405180910390fd5b8060ca8190555050565b60008060019054906101000a900460ff1615905080801561160b5750600160008054906101000a900460ff1660ff16105b80611638575061161a30612889565b1580156116375750600160008054906101000a900460ff1660ff16145b5b611677576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166e90613e40565b60405180910390fd5b60016000806101000a81548160ff021916908360ff16021790555080156116b4576001600060016101000a81548160ff0219169083151502179055505b6116bc6128ac565b6116c4612905565b600160cd60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160cb81905550600160cc8190555067016345785d8a000060ca8190555080156117945760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498600160405161178b9190613eb2565b60405180910390a15b50565b60cd60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611823576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181a90613ca2565b60405180910390fd5b818160005b82518110156118da578160cf600085848151811061184957611848613cc2565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205412156118cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c490613f3f565b60405180910390fd5b8080600101915050611828565b5060005b8451811015611a61578360cf60008784815181106118ff576118fe613cc2565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119509190613f5f565b925050819055508360d0600087848151811061196f5761196e613cc2565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119c09190613fa2565b925050819055508481815181106119da576119d9613cc2565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff167f5f3d004cf9164b95ed5dbf47d1f04018a4eabcb20b4320fe229ed92236ace6348588604051611a29929190613cf1565b60405180910390a2611a54858281518110611a4757611a46613cc2565b5b6020026020010151612661565b80806001019150506118de565b50604051806060016040528085815260200184815260200160006002811115611a8d57611a8c6130c4565b5b81525060ce86604051611aa091906138a3565b90815260200160405180910390206000820151816000019080519060200190611aca929190612cda565b506020820151816001015560408201518160020160006101000a81548160ff02191690836002811115611b0057611aff6130c4565b5b02179055509050505050505050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60d06020528060005260406000206000915090505481565b60ca5481565b60cf6020528060005260406000206000915090505481565b611b77612d64565b60405180608001604052808373ffffffffffffffffffffffffffffffffffffffff16815260200160cf60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054815260200160d060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054815260200160d160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054611c7290613b84565b80601f0160208091040260200160405190810160405280929190818152602001828054611c9e90613b84565b8015611ceb5780601f10611cc057610100808354040283529160200191611ceb565b820191906000526020600020905b815481529060010190602001808311611cce57829003601f168201915b50505050508152509050919050565b60cb5481565b611d08612413565b8060cc8190555050565b60cc5481565b60cd60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9b90613ca2565b60405180910390fd5b600060ce83604051611db691906138a3565b90815260200160405180910390209050600060cc5460ca54611dd89190613fd6565b9050600060d060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000818311611e2d5782611e2f565b815b90506000818411611e41576000611e4e565b8184611e4d919061397b565b5b90508160d060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e9f919061397b565b925050819055508060cf60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ef59190613f5f565b925050819055508360c96000828254611f0e9190613fa2565b9250508190555060028560020160006101000a81548160ff02191690836002811115611f3d57611f3c6130c4565b5b021790555083856001015411611f54576000611f65565b838560010154611f64919061397b565b5b8560010181905550611f7686612661565b8573ffffffffffffffffffffffffffffffffffffffff167f403feb2cd85cc25c910fe59289105b583f08fe9e4335ebbb08c1851f47ff2d348589604051611fbe929190613cf1565b60405180910390a286604051611fd491906138a3565b60405180910390207f4a2ced9ada462e244851a86e998eb0b5bf558c2c9c6923b7f970ed2b19b073b0600260405161200c9190613d21565b60405180910390a28573ffffffffffffffffffffffffffffffffffffffff167f42f1a8a1aee108e84e4eabfaa8d51d7baaa1a02d482295297883a44b2debd3e4838360405161205c929190614064565b60405180910390a250505050505050565b8060405161207b91906138a3565b60405180910390203373ffffffffffffffffffffffffffffffffffffffff167faec1d412a3c1e4a13fc2a2e19ac38a5af192a9cf17b074fca8146a2d0655e0c360405160405180910390a350565b6120d1612413565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612140576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213790614112565b60405180910390fd5b612149816127c3565b50565b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121d29190614147565b73ffffffffffffffffffffffffffffffffffffffff1614612228576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221f906141e6565b60405180910390fd5b8060cf60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205412156122aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a190614252565b60405180910390fd5b8060cf60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122f99190613f5f565b9250508190555060d260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161235d9291906139af565b6020604051808303816000875af115801561237c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123a09190613a04565b506123aa82612661565b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb836040516124079190613529565b60405180910390a35050565b61241b612956565b73ffffffffffffffffffffffffffffffffffffffff16612439611b0f565b73ffffffffffffffffffffffffffffffffffffffff161461248f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612486906142be565b60405180910390fd5b565b60006124bf7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61295e565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6124f0612413565b50565b61251f7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd914360001b612968565b60000160009054906101000a900460ff16156125435761253e83612972565b61265c565b8273ffffffffffffffffffffffffffffffffffffffff166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156125ab57506040513d601f19601f820116820180604052508101906125a8919061430a565b60015b6125ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e1906143a9565b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b811461264f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126469061443b565b60405180910390fd5b5061265b838383612a2b565b5b505050565b60ca5460cb546126719190613fd6565b60cf60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541261273d576040518060400160405280600981526020017f7a6b41756374696f6e000000000000000000000000000000000000000000000081525060d160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020908161273791906145fd565b506127c0565b6040518060400160405280600381526020017f4e5343000000000000000000000000000000000000000000000000000000000081525060d160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090816127be91906145fd565b505b50565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff166128fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f290614741565b60405180910390fd5b612903612a57565b565b600060019054906101000a900460ff16612954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294b90614741565b60405180910390fd5b565b600033905090565b6000819050919050565b6000819050919050565b61297b81612889565b6129ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b1906147d3565b60405180910390fd5b806129e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61295e565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612a3483612ab8565b600082511180612a415750805b15612a5257612a508383612b07565b505b505050565b600060019054906101000a900460ff16612aa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9d90614741565b60405180910390fd5b612ab6612ab1612956565b6127c3565b565b612ac181612972565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b6060612b2c83836040518060600160405280602781526020016148be60279139612b34565b905092915050565b60606000808573ffffffffffffffffffffffffffffffffffffffff1685604051612b5e919061483a565b600060405180830381855af49150503d8060008114612b99576040519150601f19603f3d011682016040523d82523d6000602084013e612b9e565b606091505b5091509150612baf86838387612bba565b925050509392505050565b60608315612c1c576000835103612c1457612bd485612889565b612c13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0a9061489d565b60405180910390fd5b5b829050612c27565b612c268383612c2f565b5b949350505050565b600082511115612c425781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7691906132bb565b60405180910390fd5b6040518060600160405280606081526020016000815260200160006002811115612cac57612cab6130c4565b5b81525090565b6040518060800160405280600081526020016000815260200160008152602001600081525090565b828054828255906000526020600020908101928215612d53579160200282015b82811115612d525782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190612cfa565b5b509050612d609190612da2565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152602001606081525090565b5b80821115612dbb576000816000905550600101612da3565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612dfe82612dd3565b9050919050565b612e0e81612df3565b8114612e1957600080fd5b50565b600081359050612e2b81612e05565b92915050565b600060208284031215612e4757612e46612dc9565b5b6000612e5584828501612e1c565b91505092915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612eb182612e68565b810181811067ffffffffffffffff82111715612ed057612ecf612e79565b5b80604052505050565b6000612ee3612dbf565b9050612eef8282612ea8565b919050565b600067ffffffffffffffff821115612f0f57612f0e612e79565b5b612f1882612e68565b9050602081019050919050565b82818337600083830152505050565b6000612f47612f4284612ef4565b612ed9565b905082815260208101848484011115612f6357612f62612e63565b5b612f6e848285612f25565b509392505050565b600082601f830112612f8b57612f8a612e5e565b5b8135612f9b848260208601612f34565b91505092915050565b600060208284031215612fba57612fb9612dc9565b5b600082013567ffffffffffffffff811115612fd857612fd7612dce565b5b612fe484828501612f76565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61302281612df3565b82525050565b60006130348383613019565b60208301905092915050565b6000602082019050919050565b600061305882612fed565b6130628185612ff8565b935061306d83613009565b8060005b8381101561309e5781516130858882613028565b975061309083613040565b925050600181019050613071565b5085935050505092915050565b6000819050919050565b6130be816130ab565b82525050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110613104576131036130c4565b5b50565b6000819050613115826130f3565b919050565b600061312582613107565b9050919050565b6131358161311a565b82525050565b60006060830160008301518482036000860152613158828261304d565b915050602083015161316d60208601826130b5565b506040830151613180604086018261312c565b508091505092915050565b600060208201905081810360008301526131a5818461313b565b905092915050565b60008115159050919050565b6131c2816131ad565b82525050565b60006020820190506131dd60008301846131b9565b92915050565b6131ec816130ab565b81146131f757600080fd5b50565b600081359050613209816131e3565b92915050565b60006020828403121561322557613224612dc9565b5b6000613233848285016131fa565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561327657808201518184015260208101905061325b565b60008484015250505050565b600061328d8261323c565b6132978185613247565b93506132a7818560208601613258565b6132b081612e68565b840191505092915050565b600060208201905081810360008301526132d58184613282565b905092915050565b600080604083850312156132f4576132f3612dc9565b5b600061330285828601612e1c565b9250506020613313858286016131fa565b9150509250929050565b6000806040838503121561333457613333612dc9565b5b600083013567ffffffffffffffff81111561335257613351612dce565b5b61335e85828601612f76565b925050602061336f858286016131fa565b9150509250929050565b600067ffffffffffffffff82111561339457613393612e79565b5b61339d82612e68565b9050602081019050919050565b60006133bd6133b884613379565b612ed9565b9050828152602081018484840111156133d9576133d8612e63565b5b6133e4848285612f25565b509392505050565b600082601f83011261340157613400612e5e565b5b81356134118482602086016133aa565b91505092915050565b6000806040838503121561343157613430612dc9565b5b600061343f85828601612e1c565b925050602083013567ffffffffffffffff8111156134605761345f612dce565b5b61346c858286016133ec565b9150509250929050565b6000819050919050565b61348981613476565b82525050565b60006020820190506134a46000830184613480565b92915050565b6080820160008201516134c060008501826130b5565b5060208201516134d360208501826130b5565b5060408201516134e660408501826130b5565b5060608201516134f960608501826130b5565b50505050565b600060808201905061351460008301846134aa565b92915050565b613523816130ab565b82525050565b600060208201905061353e600083018461351a565b92915050565b61354d8161311a565b82525050565b6000604082019050613568600083018561351a565b6135756020830184613544565b9392505050565b600067ffffffffffffffff82111561359757613596612e79565b5b602082029050602081019050919050565b600080fd5b60006135c06135bb8461357c565b612ed9565b905080838252602082019050602084028301858111156135e3576135e26135a8565b5b835b8181101561360c57806135f88882612e1c565b8452602084019350506020810190506135e5565b5050509392505050565b600082601f83011261362b5761362a612e5e565b5b813561363b8482602086016135ad565b91505092915050565b60008060006060848603121561365d5761365c612dc9565b5b600084013567ffffffffffffffff81111561367b5761367a612dce565b5b61368786828701612f76565b935050602084013567ffffffffffffffff8111156136a8576136a7612dce565b5b6136b486828701613616565b92505060406136c5868287016131fa565b9150509250925092565b6136d881612df3565b82525050565b60006020820190506136f360008301846136cf565b92915050565b6000819050919050565b61370c816136f9565b82525050565b60006020820190506137276000830184613703565b92915050565b613736816136f9565b82525050565b600082825260208201905092915050565b60006137588261323c565b613762818561373c565b9350613772818560208601613258565b61377b81612e68565b840191505092915050565b600060808301600083015161379e6000860182613019565b5060208301516137b1602086018261372d565b5060408301516137c460408601826130b5565b50606083015184820360608601526137dc828261374d565b9150508091505092915050565b600060208201905081810360008301526138038184613786565b905092915050565b6000806040838503121561382257613821612dc9565b5b600083013567ffffffffffffffff8111156138405761383f612dce565b5b61384c85828601612f76565b925050602061385d85828601612e1c565b9150509250929050565b600081905092915050565b600061387d8261323c565b6138878185613867565b9350613897818560208601613258565b80840191505092915050565b60006138af8284613872565b915081905092915050565b7f576974686472617720616d6f756e7420616d6f756e742065786365656473207360008201527f6c617368656446756e6473000000000000000000000000000000000000000000602082015250565b6000613916602b83613247565b9150613921826138ba565b604082019050919050565b6000602082019050818103600083015261394581613909565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613986826130ab565b9150613991836130ab565b92508282039050818111156139a9576139a861394c565b5b92915050565b60006040820190506139c460008301856136cf565b6139d1602083018461351a565b9392505050565b6139e1816131ad565b81146139ec57600080fd5b50565b6000815190506139fe816139d8565b92915050565b600060208284031215613a1a57613a19612dc9565b5b6000613a28848285016139ef565b91505092915050565b7f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060008201527f64656c656761746563616c6c0000000000000000000000000000000000000000602082015250565b6000613a8d602c83613247565b9150613a9882613a31565b604082019050919050565b60006020820190508181036000830152613abc81613a80565b9050919050565b7f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060008201527f6163746976652070726f78790000000000000000000000000000000000000000602082015250565b6000613b1f602c83613247565b9150613b2a82613ac3565b604082019050919050565b60006020820190508181036000830152613b4e81613b12565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613b9c57607f821691505b602082108103613baf57613bae613b55565b5b50919050565b6000606082019050613bca60008301866136cf565b613bd760208301856136cf565b613be4604083018461351a565b949350505050565b6000613bf7826136f9565b9150613c02836136f9565b925082820190508281121560008312168382126000841215161715613c2a57613c2961394c565b5b92915050565b7f4f6e6c79207468652061646d696e2063616e2063616c6c20746869732066756e60008201527f6374696f6e2e0000000000000000000000000000000000000000000000000000602082015250565b6000613c8c602683613247565b9150613c9782613c30565b604082019050919050565b60006020820190508181036000830152613cbb81613c7f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000604082019050613d06600083018561351a565b8181036020830152613d188184613282565b90509392505050565b6000602082019050613d366000830184613544565b92915050565b7f555550535570677261646561626c653a206d757374206e6f742062652063616c60008201527f6c6564207468726f7567682064656c656761746563616c6c0000000000000000602082015250565b6000613d98603883613247565b9150613da382613d3c565b604082019050919050565b60006020820190508181036000830152613dc781613d8b565b9050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b6000613e2a602e83613247565b9150613e3582613dce565b604082019050919050565b60006020820190508181036000830152613e5981613e1d565b9050919050565b6000819050919050565b600060ff82169050919050565b6000819050919050565b6000613e9c613e97613e9284613e60565b613e77565b613e6a565b9050919050565b613eac81613e81565b82525050565b6000602082019050613ec76000830184613ea3565b92915050565b7f4e6f7420616c6c20435073206861766520656e6f75676820617661696c61626c60008201527f652062616c616e63650000000000000000000000000000000000000000000000602082015250565b6000613f29602983613247565b9150613f3482613ecd565b604082019050919050565b60006020820190508181036000830152613f5881613f1c565b9050919050565b6000613f6a826136f9565b9150613f75836136f9565b9250828203905081811260008412168282136000851215161715613f9c57613f9b61394c565b5b92915050565b6000613fad826130ab565b9150613fb8836130ab565b9250828201905080821115613fd057613fcf61394c565b5b92915050565b6000613fe1826130ab565b9150613fec836130ab565b9250828202613ffa816130ab565b915082820484148315176140115761401061394c565b5b5092915050565b7f536c617368656400000000000000000000000000000000000000000000000000600082015250565b600061404e600783613247565b915061405982614018565b602082019050919050565b6000606082019050614079600083018561351a565b614086602083018461351a565b818103604083015261409781614041565b90509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006140fc602683613247565b9150614107826140a0565b604082019050919050565b6000602082019050818103600083015261412b816140ef565b9050919050565b60008151905061414181612e05565b92915050565b60006020828403121561415d5761415c612dc9565b5b600061416b84828501614132565b91505092915050565b7f4f6e6c792043504163636f756e74206f776e65722063616e207769746864726160008201527f772074686520636f6c6c61746572616c2066756e647300000000000000000000602082015250565b60006141d0603683613247565b91506141db82614174565b604082019050919050565b600060208201905081810360008301526141ff816141c3565b9050919050565b7f576974686472617720616d6f756e7420657863656564732062616c616e636500600082015250565b600061423c601f83613247565b915061424782614206565b602082019050919050565b6000602082019050818103600083015261426b8161422f565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006142a8602083613247565b91506142b382614272565b602082019050919050565b600060208201905081810360008301526142d78161429b565b9050919050565b6142e781613476565b81146142f257600080fd5b50565b600081519050614304816142de565b92915050565b6000602082840312156143205761431f612dc9565b5b600061432e848285016142f5565b91505092915050565b7f45524331393637557067726164653a206e657720696d706c656d656e7461746960008201527f6f6e206973206e6f742055555053000000000000000000000000000000000000602082015250565b6000614393602e83613247565b915061439e82614337565b604082019050919050565b600060208201905081810360008301526143c281614386565b9050919050565b7f45524331393637557067726164653a20756e737570706f727465642070726f7860008201527f6961626c65555549440000000000000000000000000000000000000000000000602082015250565b6000614425602983613247565b9150614430826143c9565b604082019050919050565b6000602082019050818103600083015261445481614418565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026144bd7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614480565b6144c78683614480565b95508019841693508086168417925050509392505050565b60006144fa6144f56144f0846130ab565b613e77565b6130ab565b9050919050565b6000819050919050565b614514836144df565b61452861452082614501565b84845461448d565b825550505050565b600090565b61453d614530565b61454881848461450b565b505050565b5b8181101561456c57614561600082614535565b60018101905061454e565b5050565b601f8211156145b1576145828161445b565b61458b84614470565b8101602085101561459a578190505b6145ae6145a685614470565b83018261454d565b50505b505050565b600082821c905092915050565b60006145d4600019846008026145b6565b1980831691505092915050565b60006145ed83836145c3565b9150826002028217905092915050565b6146068261323c565b67ffffffffffffffff81111561461f5761461e612e79565b5b6146298254613b84565b614634828285614570565b600060209050601f8311600181146146675760008415614655578287015190505b61465f85826145e1565b8655506146c7565b601f1984166146758661445b565b60005b8281101561469d57848901518255600182019150602085019450602081019050614678565b868310156146ba57848901516146b6601f8916826145c3565b8355505b6001600288020188555050505b505050505050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b600061472b602b83613247565b9150614736826146cf565b604082019050919050565b6000602082019050818103600083015261475a8161471e565b9050919050565b7f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60008201527f6f74206120636f6e747261637400000000000000000000000000000000000000602082015250565b60006147bd602d83613247565b91506147c882614761565b604082019050919050565b600060208201905081810360008301526147ec816147b0565b9050919050565b600081519050919050565b600081905092915050565b6000614814826147f3565b61481e81856147fe565b935061482e818560208601613258565b80840191505092915050565b60006148468284614809565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000614887601d83613247565b915061489282614851565b602082019050919050565b600060208201905081810360008301526148b68161487a565b905091905056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220db60567c41a95dc821c3776f190bfaa68caab09f68059c256e5d2843e5d2b64b64736f6c63430008190033",
}

FcpCollateralMetaData contains all meta data concerning the FcpCollateral contract.

View Source
var FcpTaskManagerABI = FcpTaskManagerMetaData.ABI

FcpTaskManagerABI is the input ABI used to generate the binding from. Deprecated: Use FcpTaskManagerMetaData.ABI instead.

View Source
var FcpTaskManagerBin = FcpTaskManagerMetaData.Bin

FcpTaskManagerBin is the compiled bytecode used for deploying new contracts. Deprecated: Use FcpTaskManagerMetaData.Bin instead.

View Source
var FcpTaskManagerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"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\":true,\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rewardAmount\",\"type\":\"uint256\"}],\"name\":\"RewardReleased\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"}],\"name\":\"TaskCompleted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"cpList\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"}],\"name\":\"TaskCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"addedDuration\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalDuration\",\"type\":\"uint256\"}],\"name\":\"TaskExtended\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"terminateTimestamp\",\"type\":\"uint256\"}],\"name\":\"TaskTerminated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"submitter\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"name\":\"URISubmitted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"addAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"apWallet\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"arWallet\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"},{\"internalType\":\"address[]\",\"name\":\"cpAccountList\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"collateral\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"}],\"name\":\"assignTask\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"collateralContract\",\"outputs\":[{\"internalType\":\"contractCollateralV2\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"}],\"name\":\"completeTask\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"extraDuration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"extraReward\",\"type\":\"uint256\"}],\"name\":\"extendTask\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"}],\"name\":\"getTaskInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"},{\"internalType\":\"address[]\",\"name\":\"cpList\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"collateral\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"terminateTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"},{\"internalType\":\"enumTaskManager.TaskStatus\",\"name\":\"taskStatus\",\"type\":\"uint8\"},{\"internalType\":\"enumCollateralV2.CollateralStatus\",\"name\":\"collateralStatus\",\"type\":\"uint8\"}],\"internalType\":\"structTaskManager.FullTaskInfo\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"ar\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"ap\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"collateralContractAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"rewardTokenAddress\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isAdmin\",\"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\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"}],\"name\":\"releaseReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"removeAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardToken\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newCollateralContract\",\"type\":\"address\"}],\"name\":\"setCollateralContract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"resultUri\",\"type\":\"string\"}],\"name\":\"submitResult\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"tasks\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"terminateTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"},{\"internalType\":\"enumTaskManager.TaskStatus\",\"name\":\"taskStatus\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"taskUid\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"terminateTime\",\"type\":\"uint256\"}],\"name\":\"terminateTask\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
	Bin: "0x60a06040523073ffffffffffffffffffffffffffffffffffffffff1660809073ffffffffffffffffffffffffffffffffffffffff1681525034801561004357600080fd5b5061005261005760201b60201c565b6101f1565b600060019054906101000a900460ff16156100a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161009e9061019a565b60405180910390fd5b60ff801660008054906101000a900460ff1660ff16146101155760ff6000806101000a81548160ff021916908360ff1602179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249860ff60405161010c91906101d6565b60405180910390a15b565b600082825260208201905092915050565b7f496e697469616c697a61626c653a20636f6e747261637420697320696e69746960008201527f616c697a696e6700000000000000000000000000000000000000000000000000602082015250565b6000610184602783610117565b915061018f82610128565b604082019050919050565b600060208201905081810360008301526101b381610177565b9050919050565b600060ff82169050919050565b6101d0816101ba565b82525050565b60006020820190506101eb60008301846101c7565b92915050565b60805161506861022860003960008181610a2e01528181610abc0152818161116a015281816111f801526112a801526150686000f3fe60806040526004361061014b5760003560e01c806369ab84f2116100b6578063e941cd061161006f578063e941cd0614610461578063ed7bb9d11461048a578063f2fde38b146104b3578063f7c618c1146104dc578063f8c8765e14610507578063fe8d3188146105305761014b565b806369ab84f21461037757806370480275146103a2578063715018a6146103cb5780638da5cb5b146103e25780639a8afe9c1461040d578063c6e1c7c9146104365761014b565b80633b97f5b3116101085780633b97f5b31461026e5780634dc74d22146102975780634f1ef286146102c257806352d1902d146102de57806354fd4d501461030957806358709cf2146103345761014b565b80631785f53c146101505780631b209463146101795780631b622fa8146101b657806324d7806c146101df5780633659cfe61461021c578063394c244b14610245575b600080fd5b34801561015c57600080fd5b50610177600480360381019061017291906131cb565b610559565b005b34801561018557600080fd5b506101a0600480360381019061019b919061333e565b6105bc565b6040516101ad919061367d565b60405180910390f35b3480156101c257600080fd5b506101dd60048036038101906101d8919061369f565b61091d565b005b3480156101eb57600080fd5b50610206600480360381019061020191906131cb565b610a0c565b6040516102139190613732565b60405180910390f35b34801561022857600080fd5b50610243600480360381019061023e91906131cb565b610a2c565b005b34801561025157600080fd5b5061026c6004803603810190610267919061333e565b610bb4565b005b34801561027a57600080fd5b5061029560048036038101906102909190613779565b610f76565b005b3480156102a357600080fd5b506102ac611142565b6040516102b991906137f7565b60405180910390f35b6102dc60048036038101906102d791906138b3565b611168565b005b3480156102ea57600080fd5b506102f36112a4565b6040516103009190613928565b60405180910390f35b34801561031557600080fd5b5061031e61135d565b60405161032b9190613952565b60405180910390f35b34801561034057600080fd5b5061035b6004803603810190610356919061333e565b611366565b60405161036e97969594939291906139c6565b60405180910390f35b34801561038357600080fd5b5061038c611473565b60405161039991906137f7565b60405180910390f35b3480156103ae57600080fd5b506103c960048036038101906103c491906131cb565b611499565b005b3480156103d757600080fd5b506103e06114fc565b005b3480156103ee57600080fd5b506103f7611510565b60405161040491906137f7565b60405180910390f35b34801561041957600080fd5b50610434600480360381019061042f9190613b04565b61153a565b005b34801561044257600080fd5b5061044b61189e565b6040516104589190613c28565b60405180910390f35b34801561046d57600080fd5b50610488600480360381019061048391906131cb565b6118c4565b005b34801561049657600080fd5b506104b160048036038101906104ac9190613c43565b611910565b005b3480156104bf57600080fd5b506104da60048036038101906104d591906131cb565b611b5f565b005b3480156104e857600080fd5b506104f1611be2565b6040516104fe9190613cd2565b60405180910390f35b34801561051357600080fd5b5061052e60048036038101906105299190613ced565b611c08565b005b34801561053c57600080fd5b506105576004803603810190610552919061333e565b611eae565b005b61056161235a565b600060cd60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6105c4613025565b600060ce836040516105d69190613d90565b90815260200160405180910390206040518061010001604052908160008201805461060090613dd6565b80601f016020809104026020016040519081016040528092919081815260200182805461062c90613dd6565b80156106795780601f1061064e57610100808354040283529160200191610679565b820191906000526020600020905b81548152906001019060200180831161065c57829003601f168201915b505050505081526020016001820180548060200260200160405190810160405280929190818152602001828054801561070757602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116106bd575b505050505081526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600382015481526020016004820154815260200160058201548152602001600682015481526020016007820160009054906101000a900460ff1660038111156107b3576107b26134dd565b5b60038111156107c5576107c46134dd565b5b815250509050600060c960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631b209463856040518263ffffffff1660e01b81526004016108289190613e07565b600060405180830381865afa158015610845573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061086e9190613f99565b905060405180610140016040528085815260200183602001518152602001836040015173ffffffffffffffffffffffffffffffffffffffff1681526020018360600151815260200182602001518152602001836080015181526020018360a0015181526020018360c0015181526020018360e0015160038111156108f5576108f46134dd565b5b815260200182604001516002811115610911576109106134dd565b5b81525092505050919050565b60cd60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061097a5750610979826123d8565b5b6109b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b09061402e565b60405180910390fd5b816040516109c79190613d90565b60405180910390207f2b9a4b6cdefbc34e0fe2cf2e7c540e2382e53f5a2d4e7dfc6f26dc1c3ed3fe663383604051610a0092919061404e565b60405180910390a25050565b60cd6020528060005260406000206000915054906101000a900460ff1681565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1603610aba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab1906140f0565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16610af961256e565b73ffffffffffffffffffffffffffffffffffffffff1614610b4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4690614182565b60405180910390fd5b610b58816125c5565b610bb181600067ffffffffffffffff811115610b7757610b76613213565b5b6040519080825280601f01601f191660200182016040528015610ba95781602001600182028036833780820191505090505b5060006125d0565b50565b60cd60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3790614214565b60405180910390fd5b60016003811115610c5457610c536134dd565b5b60ce82604051610c649190613d90565b908152602001604051809103902060070160009054906101000a900460ff166003811115610c9557610c946134dd565b5b14610cd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccc90614280565b60405180910390fd5b600260ce82604051610ce79190613d90565b908152602001604051809103902060070160006101000a81548160ff02191690836003811115610d1a57610d196134dd565b5b021790555060006064600560ce84604051610d359190613d90565b908152602001604051809103902060030154610d5191906142cf565b610d5b9190614340565b90506000811115610f30578060ce83604051610d779190613d90565b90815260200160405180910390206003016000828254610d979190614371565b9250508190555060cc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd60cb60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660ca60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518463ffffffff1660e01b8152600401610e41939291906143a5565b6020604051808303816000875af1158015610e60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e849190614408565b5060ca60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051610ecc9190613d90565b60405180910390207f6504a330caacb9bebf5a13c7a7356d83a2ff093b07185671301738c1761475d260ca60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684604051610f27929190614435565b60405180910390a35b81604051610f3e9190613d90565b60405180910390207f2ea2764b7d80d0107c1d2c0210ead4a6fdee0f86235483a041d9faffbf87588060405160405180910390a25050565b60cd60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611002576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff990614214565b60405180910390fd5b60016003811115611016576110156134dd565b5b60ce846040516110269190613d90565b908152602001604051809103902060070160009054906101000a900460ff166003811115611057576110566134dd565b5b0361113d578160ce8460405161106d9190613d90565b9081526020016040518091039020600601600082825461108d919061445e565b925050819055508060ce846040516110a59190613d90565b908152602001604051809103902060030160008282546110c5919061445e565b92505081905550826040516110da9190613d90565b60405180910390207fd1fa78153d824892404081883d06a6a4d9dd70c117aff5a8bf61c8961ffc941c8360ce866040516111149190613d90565b908152602001604051809103902060060154604051611134929190614492565b60405180910390a25b505050565b60cb60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16036111f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ed906140f0565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1661123561256e565b73ffffffffffffffffffffffffffffffffffffffff161461128b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128290614182565b60405180910390fd5b611294826125c5565b6112a0828260016125d0565b5050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1614611334576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132b9061452d565b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b905090565b60006002905090565b60ce8180516020810182018051848252602083016020850120818352809550505050505060009150905080600001805461139f90613dd6565b80601f01602080910402602001604051908101604052809291908181526020018280546113cb90613dd6565b80156114185780601f106113ed57610100808354040283529160200191611418565b820191906000526020600020905b8154815290600101906020018083116113fb57829003601f168201915b5050505050908060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060030154908060040154908060050154908060060154908060070160009054906101000a900460ff16905087565b60ca60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6114a161235a565b600160cd60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b61150461235a565b61150e600061273e565b565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60cd60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166115c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bd90614214565b60405180910390fd5b600060038111156115da576115d96134dd565b5b60ce876040516115ea9190613d90565b908152602001604051809103902060070160009054906101000a900460ff16600381111561161b5761161a6134dd565b5b1461165b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165290614599565b60405180910390fd5b6040518061010001604052808781526020018681526020018573ffffffffffffffffffffffffffffffffffffffff16815260200184815260200142815260200160008152602001828152602001600160038111156116bc576116bb6134dd565b5b81525060ce876040516116cf9190613d90565b908152602001604051809103902060008201518160000190816116f2919061475b565b50602082015181600101908051906020019061170f9291906130b2565b5060408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606082015181600301556080820151816004015560a0820151816005015560c0820151816006015560e08201518160070160006101000a81548160ff021916908360038111156117aa576117a96134dd565b5b021790555090505060c960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663853911b28787856040518463ffffffff1660e01b81526004016118119392919061489c565b600060405180830381600087803b15801561182b57600080fd5b505af115801561183f573d6000803e3d6000fd5b50505050856040516118519190613d90565b60405180910390207f1455e6e35b1b89916dd3024a995f41593b0b27f0e7cb61b253a69ba2c2d379518686868560405161188e94939291906148e1565b60405180910390a2505050505050565b60c960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6118cc61235a565b8060c960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60cd60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661199c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199390614214565b60405180910390fd5b600160038111156119b0576119af6134dd565b5b60ce836040516119c09190613d90565b908152602001604051809103902060070160009054906101000a900460ff1660038111156119f1576119f06134dd565b5b14611a31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2890614280565b60405180910390fd5b60ce82604051611a419190613d90565b908152602001604051809103902060040154811015611a95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8c9061499f565b60405180910390fd5b600360ce83604051611aa79190613d90565b908152602001604051809103902060070160006101000a81548160ff02191690836003811115611ada57611ad96134dd565b5b02179055508060ce83604051611af09190613d90565b908152602001604051809103902060050181905550611b0e82611eae565b81604051611b1c9190613d90565b60405180910390207f58136d68c79c10fb55282098b850a5a1c041b28af29cb65ea657a824f5bd6a3682604051611b539190613952565b60405180910390a25050565b611b6761235a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611bd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcd90614a31565b60405180910390fd5b611bdf8161273e565b50565b60cc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060019054906101000a900460ff16159050808015611c395750600160008054906101000a900460ff1660ff16105b80611c665750611c4830612804565b158015611c655750600160008054906101000a900460ff1660ff16145b5b611ca5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9c90614ac3565b60405180910390fd5b60016000806101000a81548160ff021916908360ff1602179055508015611ce2576001600060016101000a81548160ff0219169083151502179055505b611cea612827565b611cf2612880565b8260c960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160cc60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508460ca60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508360cb60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160cd60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508015611ea75760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024986001604051611e9e9190614b2b565b60405180910390a15b5050505050565b60cd60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611f3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3190614214565b60405180910390fd5b600060ce82604051611f4c9190613d90565b9081526020016040518091039020905060026003811115611f7057611f6f6134dd565b5b8160070160009054906101000a900460ff166003811115611f9457611f936134dd565b5b0361203f57612030828260010180548060200260200160405190810160405280929190818152602001828054801561202157602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311611fd7575b505050505083600301546128d1565b60008160030181905550612356565b600380811115612052576120516134dd565b5b8160070160009054906101000a900460ff166003811115612076576120756134dd565b5b0361231a576000816004015482600501546120919190614371565b905081600601548111156120a757816006015490505b600082600601548284600301546120be91906142cf565b6120c89190614340565b905061215d848460010180548060200260200160405190810160405280929190818152602001828054801561215257602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311612108575b5050505050836128d1565b600081846003015461216f9190614371565b905060cc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd60cb60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168660020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518463ffffffff1660e01b8152600401612216939291906143a5565b6020604051808303816000875af1158015612235573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122599190614408565b508360020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16856040516122a39190613d90565b60405180910390207f6504a330caacb9bebf5a13c7a7356d83a2ff093b07185671301738c1761475d28660020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684604051612300929190614435565b60405180910390a360008460030181905550505050612355565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234c90614bb8565b60405180910390fd5b5b5050565b612362612cfc565b73ffffffffffffffffffffffffffffffffffffffff16612380611510565b73ffffffffffffffffffffffffffffffffffffffff16146123d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cd90614c24565b60405180910390fd5b565b60008060ce836040516123eb9190613d90565b908152602001604051809103902060010180548060200260200160405190810160405280929190818152602001828054801561247c57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311612432575b5050505050905060005b8151811015612562573373ffffffffffffffffffffffffffffffffffffffff168282815181106124b9576124b8614c44565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561250b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061252f9190614c73565b73ffffffffffffffffffffffffffffffffffffffff160361255557600192505050612569565b8080600101915050612486565b5060009150505b919050565b600061259c7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b612d04565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6125cd61235a565b50565b6125fc7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd914360001b612d0e565b60000160009054906101000a900460ff16156126205761261b83612d18565b612739565b8273ffffffffffffffffffffffffffffffffffffffff166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561268857506040513d601f19601f820116820180604052508101906126859190614ccc565b60015b6126c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126be90614d6b565b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b811461272c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272390614dfd565b60405180910390fd5b50612738838383612dd1565b5b505050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff16612876576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286d90614e8f565b60405180910390fd5b61287e612dfd565b565b600060019054906101000a900460ff166128cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c690614e8f565b60405180910390fd5b565b600060018351036128e457819050612900565b6064604b836128f391906142cf565b6128fd9190614340565b90505b60008360008151811061291657612915614c44565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1663565a2e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612968573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061298c9190614c73565b905060cc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd60cb60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683856040518463ffffffff1660e01b8152600401612a0f939291906143a5565b6020604051808303816000875af1158015612a2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a529190614408565b5083600081518110612a6757612a66614c44565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1685604051612a939190613d90565b60405180910390207f6504a330caacb9bebf5a13c7a7356d83a2ff093b07185671301738c1761475d28385604051612acc929190614435565b60405180910390a36000600190505b8451811015612cf45760018551612af29190614371565b6064601986612b0191906142cf565b612b0b9190614340565b612b159190614340565b9250848181518110612b2a57612b29614c44565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1663565a2e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612b7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ba09190614c73565b915060cc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd60cb60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684866040518463ffffffff1660e01b8152600401612c23939291906143a5565b6020604051808303816000875af1158015612c42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c669190614408565b50848181518110612c7a57612c79614c44565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1686604051612ca69190613d90565b60405180910390207f6504a330caacb9bebf5a13c7a7356d83a2ff093b07185671301738c1761475d28486604051612cdf929190614435565b60405180910390a38080600101915050612adb565b505050505050565b600033905090565b6000819050919050565b6000819050919050565b612d2181612804565b612d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5790614f21565b60405180910390fd5b80612d8d7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b612d04565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612dda83612e5e565b600082511180612de75750805b15612df857612df68383612ead565b505b505050565b600060019054906101000a900460ff16612e4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4390614e8f565b60405180910390fd5b612e5c612e57612cfc565b61273e565b565b612e6781612d18565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b6060612ed2838360405180606001604052806027815260200161500c60279139612eda565b905092915050565b60606000808573ffffffffffffffffffffffffffffffffffffffff1685604051612f049190614f88565b600060405180830381855af49150503d8060008114612f3f576040519150601f19603f3d011682016040523d82523d6000602084013e612f44565b606091505b5091509150612f5586838387612f60565b925050509392505050565b60608315612fc2576000835103612fba57612f7a85612804565b612fb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fb090614feb565b60405180910390fd5b5b829050612fcd565b612fcc8383612fd5565b5b949350505050565b600082511115612fe85781518083602001fd5b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161301c9190613e07565b60405180910390fd5b6040518061014001604052806060815260200160608152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081526020016000815260200160008152602001600081526020016000815260200160006003811115613093576130926134dd565b5b8152602001600060028111156130ac576130ab6134dd565b5b81525090565b82805482825590600052602060002090810192821561312b579160200282015b8281111561312a5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906130d2565b5b509050613138919061313c565b5090565b5b8082111561315557600081600090555060010161313d565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006131988261316d565b9050919050565b6131a88161318d565b81146131b357600080fd5b50565b6000813590506131c58161319f565b92915050565b6000602082840312156131e1576131e0613163565b5b60006131ef848285016131b6565b91505092915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61324b82613202565b810181811067ffffffffffffffff8211171561326a57613269613213565b5b80604052505050565b600061327d613159565b90506132898282613242565b919050565b600067ffffffffffffffff8211156132a9576132a8613213565b5b6132b282613202565b9050602081019050919050565b82818337600083830152505050565b60006132e16132dc8461328e565b613273565b9050828152602081018484840111156132fd576132fc6131fd565b5b6133088482856132bf565b509392505050565b600082601f830112613325576133246131f8565b5b81356133358482602086016132ce565b91505092915050565b60006020828403121561335457613353613163565b5b600082013567ffffffffffffffff81111561337257613371613168565b5b61337e84828501613310565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156133c15780820151818401526020810190506133a6565b60008484015250505050565b60006133d882613387565b6133e28185613392565b93506133f28185602086016133a3565b6133fb81613202565b840191505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61343b8161318d565b82525050565b600061344d8383613432565b60208301905092915050565b6000602082019050919050565b600061347182613406565b61347b8185613411565b935061348683613422565b8060005b838110156134b757815161349e8882613441565b97506134a983613459565b92505060018101905061348a565b5085935050505092915050565b6000819050919050565b6134d7816134c4565b82525050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6004811061351d5761351c6134dd565b5b50565b600081905061352e8261350c565b919050565b600061353e82613520565b9050919050565b61354e81613533565b82525050565b60038110613565576135646134dd565b5b50565b600081905061357682613554565b919050565b600061358682613568565b9050919050565b6135968161357b565b82525050565b60006101408301600083015184820360008601526135ba82826133cd565b915050602083015184820360208601526135d48282613466565b91505060408301516135e96040860182613432565b5060608301516135fc60608601826134ce565b50608083015161360f60808601826134ce565b5060a083015161362260a08601826134ce565b5060c083015161363560c08601826134ce565b5060e083015161364860e08601826134ce565b5061010083015161365d610100860182613545565b5061012083015161367261012086018261358d565b508091505092915050565b60006020820190508181036000830152613697818461359c565b905092915050565b600080604083850312156136b6576136b5613163565b5b600083013567ffffffffffffffff8111156136d4576136d3613168565b5b6136e085828601613310565b925050602083013567ffffffffffffffff81111561370157613700613168565b5b61370d85828601613310565b9150509250929050565b60008115159050919050565b61372c81613717565b82525050565b60006020820190506137476000830184613723565b92915050565b613756816134c4565b811461376157600080fd5b50565b6000813590506137738161374d565b92915050565b60008060006060848603121561379257613791613163565b5b600084013567ffffffffffffffff8111156137b0576137af613168565b5b6137bc86828701613310565b93505060206137cd86828701613764565b92505060406137de86828701613764565b9150509250925092565b6137f18161318d565b82525050565b600060208201905061380c60008301846137e8565b92915050565b600067ffffffffffffffff82111561382d5761382c613213565b5b61383682613202565b9050602081019050919050565b600061385661385184613812565b613273565b905082815260208101848484011115613872576138716131fd565b5b61387d8482856132bf565b509392505050565b600082601f83011261389a576138996131f8565b5b81356138aa848260208601613843565b91505092915050565b600080604083850312156138ca576138c9613163565b5b60006138d8858286016131b6565b925050602083013567ffffffffffffffff8111156138f9576138f8613168565b5b61390585828601613885565b9150509250929050565b6000819050919050565b6139228161390f565b82525050565b600060208201905061393d6000830184613919565b92915050565b61394c816134c4565b82525050565b60006020820190506139676000830184613943565b92915050565b600082825260208201905092915050565b600061398982613387565b613993818561396d565b93506139a38185602086016133a3565b6139ac81613202565b840191505092915050565b6139c081613533565b82525050565b600060e08201905081810360008301526139e0818a61397e565b90506139ef60208301896137e8565b6139fc6040830188613943565b613a096060830187613943565b613a166080830186613943565b613a2360a0830185613943565b613a3060c08301846139b7565b98975050505050505050565b600067ffffffffffffffff821115613a5757613a56613213565b5b602082029050602081019050919050565b600080fd5b6000613a80613a7b84613a3c565b613273565b90508083825260208201905060208402830185811115613aa357613aa2613a68565b5b835b81811015613acc5780613ab888826131b6565b845260208401935050602081019050613aa5565b5050509392505050565b600082601f830112613aeb57613aea6131f8565b5b8135613afb848260208601613a6d565b91505092915050565b60008060008060008060c08789031215613b2157613b20613163565b5b600087013567ffffffffffffffff811115613b3f57613b3e613168565b5b613b4b89828a01613310565b965050602087013567ffffffffffffffff811115613b6c57613b6b613168565b5b613b7889828a01613ad6565b9550506040613b8989828a016131b6565b9450506060613b9a89828a01613764565b9350506080613bab89828a01613764565b92505060a0613bbc89828a01613764565b9150509295509295509295565b6000819050919050565b6000613bee613be9613be48461316d565b613bc9565b61316d565b9050919050565b6000613c0082613bd3565b9050919050565b6000613c1282613bf5565b9050919050565b613c2281613c07565b82525050565b6000602082019050613c3d6000830184613c19565b92915050565b60008060408385031215613c5a57613c59613163565b5b600083013567ffffffffffffffff811115613c7857613c77613168565b5b613c8485828601613310565b9250506020613c9585828601613764565b9150509250929050565b6000613caa82613bd3565b9050919050565b6000613cbc82613c9f565b9050919050565b613ccc81613cb1565b82525050565b6000602082019050613ce76000830184613cc3565b92915050565b60008060008060808587031215613d0757613d06613163565b5b6000613d15878288016131b6565b9450506020613d26878288016131b6565b9350506040613d37878288016131b6565b9250506060613d48878288016131b6565b91505092959194509250565b600081905092915050565b6000613d6a82613387565b613d748185613d54565b9350613d848185602086016133a3565b80840191505092915050565b6000613d9c8284613d5f565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613dee57607f821691505b602082108103613e0157613e00613da7565b5b50919050565b60006020820190508181036000830152613e21818461397e565b905092915050565b600080fd5b600080fd5b600081519050613e428161319f565b92915050565b6000613e5b613e5684613a3c565b613273565b90508083825260208201905060208402830185811115613e7e57613e7d613a68565b5b835b81811015613ea75780613e938882613e33565b845260208401935050602081019050613e80565b5050509392505050565b600082601f830112613ec657613ec56131f8565b5b8151613ed6848260208601613e48565b91505092915050565b600081519050613eee8161374d565b92915050565b60038110613f0157600080fd5b50565b600081519050613f1381613ef4565b92915050565b600060608284031215613f2f57613f2e613e29565b5b613f396060613273565b9050600082015167ffffffffffffffff811115613f5957613f58613e2e565b5b613f6584828501613eb1565b6000830152506020613f7984828501613edf565b6020830152506040613f8d84828501613f04565b60408301525092915050565b600060208284031215613faf57613fae613163565b5b600082015167ffffffffffffffff811115613fcd57613fcc613168565b5b613fd984828501613f19565b91505092915050565b7f73656e646572206973206e6f7420696e2063704c697374000000000000000000600082015250565b600061401860178361396d565b915061402382613fe2565b602082019050919050565b600060208201905081810360008301526140478161400b565b9050919050565b600060408201905061406360008301856137e8565b8181036020830152614075818461397e565b90509392505050565b7f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060008201527f64656c656761746563616c6c0000000000000000000000000000000000000000602082015250565b60006140da602c8361396d565b91506140e58261407e565b604082019050919050565b60006020820190508181036000830152614109816140cd565b9050919050565b7f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060008201527f6163746976652070726f78790000000000000000000000000000000000000000602082015250565b600061416c602c8361396d565b915061417782614110565b604082019050919050565b6000602082019050818103600083015261419b8161415f565b9050919050565b7f4f6e6c79207468652061646d696e2063616e2063616c6c20746869732066756e60008201527f6374696f6e2e0000000000000000000000000000000000000000000000000000602082015250565b60006141fe60268361396d565b9150614209826141a2565b604082019050919050565b6000602082019050818103600083015261422d816141f1565b9050919050565b7f7461736b206973206e6f7420696e2070726f6772657373000000000000000000600082015250565b600061426a60178361396d565b915061427582614234565b602082019050919050565b600060208201905081810360008301526142998161425d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006142da826134c4565b91506142e5836134c4565b92508282026142f3816134c4565b9150828204841483151761430a576143096142a0565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061434b826134c4565b9150614356836134c4565b92508261436657614365614311565b5b828204905092915050565b600061437c826134c4565b9150614387836134c4565b925082820390508181111561439f5761439e6142a0565b5b92915050565b60006060820190506143ba60008301866137e8565b6143c760208301856137e8565b6143d46040830184613943565b949350505050565b6143e581613717565b81146143f057600080fd5b50565b600081519050614402816143dc565b92915050565b60006020828403121561441e5761441d613163565b5b600061442c848285016143f3565b91505092915050565b600060408201905061444a60008301856137e8565b6144576020830184613943565b9392505050565b6000614469826134c4565b9150614474836134c4565b925082820190508082111561448c5761448b6142a0565b5b92915050565b60006040820190506144a76000830185613943565b6144b46020830184613943565b9392505050565b7f555550535570677261646561626c653a206d757374206e6f742062652063616c60008201527f6c6564207468726f7567682064656c656761746563616c6c0000000000000000602082015250565b600061451760388361396d565b9150614522826144bb565b604082019050919050565b600060208201905081810360008301526145468161450a565b9050919050565b7f7461736b55696420616c72656164792061737369676e65640000000000000000600082015250565b600061458360188361396d565b915061458e8261454d565b602082019050919050565b600060208201905081810360008301526145b281614576565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261461b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826145de565b61462586836145de565b95508019841693508086168417925050509392505050565b600061465861465361464e846134c4565b613bc9565b6134c4565b9050919050565b6000819050919050565b6146728361463d565b61468661467e8261465f565b8484546145eb565b825550505050565b600090565b61469b61468e565b6146a6818484614669565b505050565b5b818110156146ca576146bf600082614693565b6001810190506146ac565b5050565b601f82111561470f576146e0816145b9565b6146e9846145ce565b810160208510156146f8578190505b61470c614704856145ce565b8301826146ab565b50505b505050565b600082821c905092915050565b600061473260001984600802614714565b1980831691505092915050565b600061474b8383614721565b9150826002028217905092915050565b61476482613387565b67ffffffffffffffff81111561477d5761477c613213565b5b6147878254613dd6565b6147928282856146ce565b600060209050601f8311600181146147c557600084156147b3578287015190505b6147bd858261473f565b865550614825565b601f1984166147d3866145b9565b60005b828110156147fb578489015182556001820191506020850194506020810190506147d6565b868310156148185784890151614814601f891682614721565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b600061484982613406565b614853818561482d565b935061485e83613422565b8060005b8381101561488f5781516148768882613441565b975061488183613459565b925050600181019050614862565b5085935050505092915050565b600060608201905081810360008301526148b6818661397e565b905081810360208301526148ca818561483e565b90506148d96040830184613943565b949350505050565b600060808201905081810360008301526148fb818761483e565b905061490a60208301866137e8565b6149176040830185613943565b6149246060830184613943565b95945050505050565b7f7465726d696e6174652074696d65206d7573742062652061667465722073746160008201527f72742074696d6500000000000000000000000000000000000000000000000000602082015250565b600061498960278361396d565b91506149948261492d565b604082019050919050565b600060208201905081810360008301526149b88161497c565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614a1b60268361396d565b9150614a26826149bf565b604082019050919050565b60006020820190508181036000830152614a4a81614a0e565b9050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b6000614aad602e8361396d565b9150614ab882614a51565b604082019050919050565b60006020820190508181036000830152614adc81614aa0565b9050919050565b6000819050919050565b600060ff82169050919050565b6000614b15614b10614b0b84614ae3565b613bc9565b614aed565b9050919050565b614b2581614afa565b82525050565b6000602082019050614b406000830184614b1c565b92915050565b7f7461736b206973206e6f7420636f6d706c65746564206e6f72207465726d696e60008201527f6174656400000000000000000000000000000000000000000000000000000000602082015250565b6000614ba260248361396d565b9150614bad82614b46565b604082019050919050565b60006020820190508181036000830152614bd181614b95565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614c0e60208361396d565b9150614c1982614bd8565b602082019050919050565b60006020820190508181036000830152614c3d81614c01565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060208284031215614c8957614c88613163565b5b6000614c9784828501613e33565b91505092915050565b614ca98161390f565b8114614cb457600080fd5b50565b600081519050614cc681614ca0565b92915050565b600060208284031215614ce257614ce1613163565b5b6000614cf084828501614cb7565b91505092915050565b7f45524331393637557067726164653a206e657720696d706c656d656e7461746960008201527f6f6e206973206e6f742055555053000000000000000000000000000000000000602082015250565b6000614d55602e8361396d565b9150614d6082614cf9565b604082019050919050565b60006020820190508181036000830152614d8481614d48565b9050919050565b7f45524331393637557067726164653a20756e737570706f727465642070726f7860008201527f6961626c65555549440000000000000000000000000000000000000000000000602082015250565b6000614de760298361396d565b9150614df282614d8b565b604082019050919050565b60006020820190508181036000830152614e1681614dda565b9050919050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b6000614e79602b8361396d565b9150614e8482614e1d565b604082019050919050565b60006020820190508181036000830152614ea881614e6c565b9050919050565b7f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60008201527f6f74206120636f6e747261637400000000000000000000000000000000000000602082015250565b6000614f0b602d8361396d565b9150614f1682614eaf565b604082019050919050565b60006020820190508181036000830152614f3a81614efe565b9050919050565b600081519050919050565b600081905092915050565b6000614f6282614f41565b614f6c8185614f4c565b9350614f7c8185602086016133a3565b80840191505092915050565b6000614f948284614f57565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000614fd5601d8361396d565b9150614fe082614f9f565b602082019050919050565b6000602082019050818103600083015261500481614fc8565b905091905056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220eecc94dadff2885ac6560016146b44ca303d952fb78bb1c44ca1bbae395b88d864736f6c63430008190033",
}

FcpTaskManagerMetaData contains all meta data concerning the FcpTaskManager contract.

Functions

This section is empty.

Types

type FcpCollateral added in v0.6.0

type FcpCollateral struct {
	FcpCollateralCaller     // Read-only binding to the contract
	FcpCollateralTransactor // Write-only binding to the contract
	FcpCollateralFilterer   // Log filterer for contract events
}

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

func DeployFcpCollateral added in v0.6.0

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

DeployFcpCollateral deploys a new Ethereum contract, binding an instance of FcpCollateral to it.

func NewFcpCollateral added in v0.6.0

func NewFcpCollateral(address common.Address, backend bind.ContractBackend) (*FcpCollateral, error)

NewFcpCollateral creates a new instance of FcpCollateral, bound to a specific deployed contract.

type FcpCollateralAdminChanged added in v0.6.0

type FcpCollateralAdminChanged struct {
	PreviousAdmin common.Address
	NewAdmin      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

FcpCollateralAdminChanged represents a AdminChanged event raised by the FcpCollateral contract.

type FcpCollateralAdminChangedIterator added in v0.6.0

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

FcpCollateralAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the FcpCollateral contract.

func (*FcpCollateralAdminChangedIterator) Close added in v0.6.0

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

func (*FcpCollateralAdminChangedIterator) Error added in v0.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpCollateralAdminChangedIterator) Next added in v0.6.0

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 FcpCollateralBeaconUpgraded added in v0.6.0

type FcpCollateralBeaconUpgraded struct {
	Beacon common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

FcpCollateralBeaconUpgraded represents a BeaconUpgraded event raised by the FcpCollateral contract.

type FcpCollateralBeaconUpgradedIterator added in v0.6.0

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

FcpCollateralBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the FcpCollateral contract.

func (*FcpCollateralBeaconUpgradedIterator) Close added in v0.6.0

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

func (*FcpCollateralBeaconUpgradedIterator) Error added in v0.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpCollateralBeaconUpgradedIterator) Next added in v0.6.0

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 FcpCollateralCaller added in v0.6.0

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

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

func NewFcpCollateralCaller added in v0.6.0

func NewFcpCollateralCaller(address common.Address, caller bind.ContractCaller) (*FcpCollateralCaller, error)

NewFcpCollateralCaller creates a new read-only instance of FcpCollateral, bound to a specific deployed contract.

func (*FcpCollateralCaller) AvailableBalance added in v0.6.0

func (_FcpCollateral *FcpCollateralCaller) AvailableBalance(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

AvailableBalance is a free data retrieval call binding the contract method 0xa0821be3.

Solidity: function availableBalance(address ) view returns(int256)

func (*FcpCollateralCaller) BaseCollateral added in v0.6.0

func (_FcpCollateral *FcpCollateralCaller) BaseCollateral(opts *bind.CallOpts) (*big.Int, error)

BaseCollateral is a free data retrieval call binding the contract method 0x9b5ddf09.

Solidity: function baseCollateral() view returns(uint256)

func (*FcpCollateralCaller) CollateralInfo added in v0.6.0

func (_FcpCollateral *FcpCollateralCaller) CollateralInfo(opts *bind.CallOpts) (SwanCreditCollateralContractInfo, error)

CollateralInfo is a free data retrieval call binding the contract method 0x53ad8720.

Solidity: function collateralInfo() view returns((uint256,uint256,uint256,uint256))

func (*FcpCollateralCaller) CollateralRatio added in v0.6.0

func (_FcpCollateral *FcpCollateralCaller) CollateralRatio(opts *bind.CallOpts) (*big.Int, error)

CollateralRatio is a free data retrieval call binding the contract method 0xb4eae1cb.

Solidity: function collateralRatio() view returns(uint256)

func (*FcpCollateralCaller) CpInfo added in v0.6.0

func (_FcpCollateral *FcpCollateralCaller) CpInfo(opts *bind.CallOpts, cpAddress common.Address) (SwanCreditCollateralCPInfo, error)

CpInfo is a free data retrieval call binding the contract method 0xa664c216.

Solidity: function cpInfo(address cpAddress) view returns((address,int256,uint256,string))

func (*FcpCollateralCaller) CpStatus added in v0.6.0

func (_FcpCollateral *FcpCollateralCaller) CpStatus(opts *bind.CallOpts, arg0 common.Address) (string, error)

CpStatus is a free data retrieval call binding the contract method 0x3fe65177.

Solidity: function cpStatus(address ) view returns(string)

func (*FcpCollateralCaller) GetTaskInfo added in v0.6.0

func (_FcpCollateral *FcpCollateralCaller) GetTaskInfo(opts *bind.CallOpts, taskUid string) (SwanCreditCollateralTask, error)

GetTaskInfo is a free data retrieval call binding the contract method 0x1b209463.

Solidity: function getTaskInfo(string taskUid) view returns((address[],uint256,uint8))

func (*FcpCollateralCaller) IsAdmin added in v0.6.0

func (_FcpCollateral *FcpCollateralCaller) IsAdmin(opts *bind.CallOpts, arg0 common.Address) (bool, error)

IsAdmin is a free data retrieval call binding the contract method 0x24d7806c.

Solidity: function isAdmin(address ) view returns(bool)

func (*FcpCollateralCaller) LockedCollateral added in v0.6.0

func (_FcpCollateral *FcpCollateralCaller) LockedCollateral(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

LockedCollateral is a free data retrieval call binding the contract method 0x92bdf9ba.

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

func (*FcpCollateralCaller) Owner added in v0.6.0

func (_FcpCollateral *FcpCollateralCaller) 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 (*FcpCollateralCaller) ProxiableUUID added in v0.6.0

func (_FcpCollateral *FcpCollateralCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*FcpCollateralCaller) SlashRatio added in v0.6.0

func (_FcpCollateral *FcpCollateralCaller) SlashRatio(opts *bind.CallOpts) (*big.Int, error)

SlashRatio is a free data retrieval call binding the contract method 0xd27ca89b.

Solidity: function slashRatio() view returns(uint256)

func (*FcpCollateralCaller) SlashedFunds added in v0.6.0

func (_FcpCollateral *FcpCollateralCaller) SlashedFunds(opts *bind.CallOpts) (*big.Int, error)

SlashedFunds is a free data retrieval call binding the contract method 0x6f99f15c.

Solidity: function slashedFunds() view returns(uint256)

func (*FcpCollateralCaller) Tasks added in v0.6.0

func (_FcpCollateral *FcpCollateralCaller) Tasks(opts *bind.CallOpts, arg0 string) (struct {
	Collateral       *big.Int
	CollateralStatus uint8
}, error)

Tasks is a free data retrieval call binding the contract method 0x58709cf2.

Solidity: function tasks(string ) view returns(uint256 collateral, uint8 collateralStatus)

func (*FcpCollateralCaller) Version added in v0.6.0

func (_FcpCollateral *FcpCollateralCaller) Version(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function version() pure returns(uint256)

type FcpCollateralCallerRaw added in v0.6.0

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

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

func (*FcpCollateralCallerRaw) Call added in v0.6.0

func (_FcpCollateral *FcpCollateralCallerRaw) 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 FcpCollateralCallerSession added in v0.6.0

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

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

func (*FcpCollateralCallerSession) AvailableBalance added in v0.6.0

func (_FcpCollateral *FcpCollateralCallerSession) AvailableBalance(arg0 common.Address) (*big.Int, error)

AvailableBalance is a free data retrieval call binding the contract method 0xa0821be3.

Solidity: function availableBalance(address ) view returns(int256)

func (*FcpCollateralCallerSession) BaseCollateral added in v0.6.0

func (_FcpCollateral *FcpCollateralCallerSession) BaseCollateral() (*big.Int, error)

BaseCollateral is a free data retrieval call binding the contract method 0x9b5ddf09.

Solidity: function baseCollateral() view returns(uint256)

func (*FcpCollateralCallerSession) CollateralInfo added in v0.6.0

func (_FcpCollateral *FcpCollateralCallerSession) CollateralInfo() (SwanCreditCollateralContractInfo, error)

CollateralInfo is a free data retrieval call binding the contract method 0x53ad8720.

Solidity: function collateralInfo() view returns((uint256,uint256,uint256,uint256))

func (*FcpCollateralCallerSession) CollateralRatio added in v0.6.0

func (_FcpCollateral *FcpCollateralCallerSession) CollateralRatio() (*big.Int, error)

CollateralRatio is a free data retrieval call binding the contract method 0xb4eae1cb.

Solidity: function collateralRatio() view returns(uint256)

func (*FcpCollateralCallerSession) CpInfo added in v0.6.0

func (_FcpCollateral *FcpCollateralCallerSession) CpInfo(cpAddress common.Address) (SwanCreditCollateralCPInfo, error)

CpInfo is a free data retrieval call binding the contract method 0xa664c216.

Solidity: function cpInfo(address cpAddress) view returns((address,int256,uint256,string))

func (*FcpCollateralCallerSession) CpStatus added in v0.6.0

func (_FcpCollateral *FcpCollateralCallerSession) CpStatus(arg0 common.Address) (string, error)

CpStatus is a free data retrieval call binding the contract method 0x3fe65177.

Solidity: function cpStatus(address ) view returns(string)

func (*FcpCollateralCallerSession) GetTaskInfo added in v0.6.0

func (_FcpCollateral *FcpCollateralCallerSession) GetTaskInfo(taskUid string) (SwanCreditCollateralTask, error)

GetTaskInfo is a free data retrieval call binding the contract method 0x1b209463.

Solidity: function getTaskInfo(string taskUid) view returns((address[],uint256,uint8))

func (*FcpCollateralCallerSession) IsAdmin added in v0.6.0

func (_FcpCollateral *FcpCollateralCallerSession) IsAdmin(arg0 common.Address) (bool, error)

IsAdmin is a free data retrieval call binding the contract method 0x24d7806c.

Solidity: function isAdmin(address ) view returns(bool)

func (*FcpCollateralCallerSession) LockedCollateral added in v0.6.0

func (_FcpCollateral *FcpCollateralCallerSession) LockedCollateral(arg0 common.Address) (*big.Int, error)

LockedCollateral is a free data retrieval call binding the contract method 0x92bdf9ba.

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

func (*FcpCollateralCallerSession) Owner added in v0.6.0

func (_FcpCollateral *FcpCollateralCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*FcpCollateralCallerSession) ProxiableUUID added in v0.6.0

func (_FcpCollateral *FcpCollateralCallerSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*FcpCollateralCallerSession) SlashRatio added in v0.6.0

func (_FcpCollateral *FcpCollateralCallerSession) SlashRatio() (*big.Int, error)

SlashRatio is a free data retrieval call binding the contract method 0xd27ca89b.

Solidity: function slashRatio() view returns(uint256)

func (*FcpCollateralCallerSession) SlashedFunds added in v0.6.0

func (_FcpCollateral *FcpCollateralCallerSession) SlashedFunds() (*big.Int, error)

SlashedFunds is a free data retrieval call binding the contract method 0x6f99f15c.

Solidity: function slashedFunds() view returns(uint256)

func (*FcpCollateralCallerSession) Tasks added in v0.6.0

func (_FcpCollateral *FcpCollateralCallerSession) Tasks(arg0 string) (struct {
	Collateral       *big.Int
	CollateralStatus uint8
}, error)

Tasks is a free data retrieval call binding the contract method 0x58709cf2.

Solidity: function tasks(string ) view returns(uint256 collateral, uint8 collateralStatus)

func (*FcpCollateralCallerSession) Version added in v0.6.0

func (_FcpCollateral *FcpCollateralCallerSession) Version() (*big.Int, error)

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

Solidity: function version() pure returns(uint256)

type FcpCollateralCollateralAdjusted added in v0.6.0

type FcpCollateralCollateralAdjusted struct {
	Cp            common.Address
	FrozenAmount  *big.Int
	BalanceAmount *big.Int
	Operation     string
	Raw           types.Log // Blockchain specific contextual infos
}

FcpCollateralCollateralAdjusted represents a CollateralAdjusted event raised by the FcpCollateral contract.

type FcpCollateralCollateralAdjustedIterator added in v0.6.0

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

FcpCollateralCollateralAdjustedIterator is returned from FilterCollateralAdjusted and is used to iterate over the raw logs and unpacked data for CollateralAdjusted events raised by the FcpCollateral contract.

func (*FcpCollateralCollateralAdjustedIterator) Close added in v0.6.0

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

func (*FcpCollateralCollateralAdjustedIterator) Error added in v0.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpCollateralCollateralAdjustedIterator) Next added in v0.6.0

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 FcpCollateralCollateralLocked added in v0.6.0

type FcpCollateralCollateralLocked struct {
	Cp               common.Address
	CollateralAmount *big.Int
	TaskUid          string
	Raw              types.Log // Blockchain specific contextual infos
}

FcpCollateralCollateralLocked represents a CollateralLocked event raised by the FcpCollateral contract.

type FcpCollateralCollateralLockedIterator added in v0.6.0

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

FcpCollateralCollateralLockedIterator is returned from FilterCollateralLocked and is used to iterate over the raw logs and unpacked data for CollateralLocked events raised by the FcpCollateral contract.

func (*FcpCollateralCollateralLockedIterator) Close added in v0.6.0

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

func (*FcpCollateralCollateralLockedIterator) Error added in v0.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpCollateralCollateralLockedIterator) Next added in v0.6.0

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 FcpCollateralCollateralSlashed added in v0.6.0

type FcpCollateralCollateralSlashed struct {
	Cp      common.Address
	Amount  *big.Int
	TaskUid string
	Raw     types.Log // Blockchain specific contextual infos
}

FcpCollateralCollateralSlashed represents a CollateralSlashed event raised by the FcpCollateral contract.

type FcpCollateralCollateralSlashedIterator added in v0.6.0

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

FcpCollateralCollateralSlashedIterator is returned from FilterCollateralSlashed and is used to iterate over the raw logs and unpacked data for CollateralSlashed events raised by the FcpCollateral contract.

func (*FcpCollateralCollateralSlashedIterator) Close added in v0.6.0

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

func (*FcpCollateralCollateralSlashedIterator) Error added in v0.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpCollateralCollateralSlashedIterator) Next added in v0.6.0

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 FcpCollateralCollateralStatusChanged added in v0.6.0

type FcpCollateralCollateralStatusChanged struct {
	TaskUid   common.Hash
	NewStatus uint8
	Raw       types.Log // Blockchain specific contextual infos
}

FcpCollateralCollateralStatusChanged represents a CollateralStatusChanged event raised by the FcpCollateral contract.

type FcpCollateralCollateralStatusChangedIterator added in v0.6.0

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

FcpCollateralCollateralStatusChangedIterator is returned from FilterCollateralStatusChanged and is used to iterate over the raw logs and unpacked data for CollateralStatusChanged events raised by the FcpCollateral contract.

func (*FcpCollateralCollateralStatusChangedIterator) Close added in v0.6.0

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

func (*FcpCollateralCollateralStatusChangedIterator) Error added in v0.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpCollateralCollateralStatusChangedIterator) Next added in v0.6.0

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 FcpCollateralCollateralUnlocked added in v0.6.0

type FcpCollateralCollateralUnlocked struct {
	Cp               common.Address
	CollateralAmount *big.Int
	TaskUid          string
	Raw              types.Log // Blockchain specific contextual infos
}

FcpCollateralCollateralUnlocked represents a CollateralUnlocked event raised by the FcpCollateral contract.

type FcpCollateralCollateralUnlockedIterator added in v0.6.0

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

FcpCollateralCollateralUnlockedIterator is returned from FilterCollateralUnlocked and is used to iterate over the raw logs and unpacked data for CollateralUnlocked events raised by the FcpCollateral contract.

func (*FcpCollateralCollateralUnlockedIterator) Close added in v0.6.0

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

func (*FcpCollateralCollateralUnlockedIterator) Error added in v0.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpCollateralCollateralUnlockedIterator) Next added in v0.6.0

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 FcpCollateralDeposit added in v0.6.0

type FcpCollateralDeposit struct {
	FundingWallet common.Address
	CpAccount     common.Address
	DepositAmount *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

FcpCollateralDeposit represents a Deposit event raised by the FcpCollateral contract.

type FcpCollateralDepositIterator added in v0.6.0

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

FcpCollateralDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the FcpCollateral contract.

func (*FcpCollateralDepositIterator) Close added in v0.6.0

func (it *FcpCollateralDepositIterator) Close() error

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

func (*FcpCollateralDepositIterator) Error added in v0.6.0

func (it *FcpCollateralDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpCollateralDepositIterator) Next added in v0.6.0

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 FcpCollateralDisputeProof added in v0.6.0

type FcpCollateralDisputeProof struct {
	Challenger common.Address
	TaskUid    common.Hash
	Raw        types.Log // Blockchain specific contextual infos
}

FcpCollateralDisputeProof represents a DisputeProof event raised by the FcpCollateral contract.

type FcpCollateralDisputeProofIterator added in v0.6.0

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

FcpCollateralDisputeProofIterator is returned from FilterDisputeProof and is used to iterate over the raw logs and unpacked data for DisputeProof events raised by the FcpCollateral contract.

func (*FcpCollateralDisputeProofIterator) Close added in v0.6.0

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

func (*FcpCollateralDisputeProofIterator) Error added in v0.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpCollateralDisputeProofIterator) Next added in v0.6.0

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 FcpCollateralFilterer added in v0.6.0

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

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

func NewFcpCollateralFilterer added in v0.6.0

func NewFcpCollateralFilterer(address common.Address, filterer bind.ContractFilterer) (*FcpCollateralFilterer, error)

NewFcpCollateralFilterer creates a new log filterer instance of FcpCollateral, bound to a specific deployed contract.

func (*FcpCollateralFilterer) FilterAdminChanged added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*FcpCollateralAdminChangedIterator, error)

FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*FcpCollateralFilterer) FilterBeaconUpgraded added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*FcpCollateralBeaconUpgradedIterator, error)

FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*FcpCollateralFilterer) FilterCollateralAdjusted added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) FilterCollateralAdjusted(opts *bind.FilterOpts, cp []common.Address) (*FcpCollateralCollateralAdjustedIterator, error)

FilterCollateralAdjusted is a free log retrieval operation binding the contract event 0x42f1a8a1aee108e84e4eabfaa8d51d7baaa1a02d482295297883a44b2debd3e4.

Solidity: event CollateralAdjusted(address indexed cp, uint256 frozenAmount, uint256 balanceAmount, string operation)

func (*FcpCollateralFilterer) FilterCollateralLocked added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) FilterCollateralLocked(opts *bind.FilterOpts, cp []common.Address) (*FcpCollateralCollateralLockedIterator, error)

FilterCollateralLocked is a free log retrieval operation binding the contract event 0x5f3d004cf9164b95ed5dbf47d1f04018a4eabcb20b4320fe229ed92236ace634.

Solidity: event CollateralLocked(address indexed cp, uint256 collateralAmount, string taskUid)

func (*FcpCollateralFilterer) FilterCollateralSlashed added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) FilterCollateralSlashed(opts *bind.FilterOpts, cp []common.Address) (*FcpCollateralCollateralSlashedIterator, error)

FilterCollateralSlashed is a free log retrieval operation binding the contract event 0x403feb2cd85cc25c910fe59289105b583f08fe9e4335ebbb08c1851f47ff2d34.

Solidity: event CollateralSlashed(address indexed cp, uint256 amount, string taskUid)

func (*FcpCollateralFilterer) FilterCollateralStatusChanged added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) FilterCollateralStatusChanged(opts *bind.FilterOpts, taskUid []string) (*FcpCollateralCollateralStatusChangedIterator, error)

FilterCollateralStatusChanged is a free log retrieval operation binding the contract event 0x4a2ced9ada462e244851a86e998eb0b5bf558c2c9c6923b7f970ed2b19b073b0.

Solidity: event CollateralStatusChanged(string indexed taskUid, uint8 newStatus)

func (*FcpCollateralFilterer) FilterCollateralUnlocked added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) FilterCollateralUnlocked(opts *bind.FilterOpts, cp []common.Address) (*FcpCollateralCollateralUnlockedIterator, error)

FilterCollateralUnlocked is a free log retrieval operation binding the contract event 0x0f2440b3ca071b7d18e917a25289e7d7e7de8a491546d45acc2efbec7b3e1ae8.

Solidity: event CollateralUnlocked(address indexed cp, uint256 collateralAmount, string taskUid)

func (*FcpCollateralFilterer) FilterDeposit added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) FilterDeposit(opts *bind.FilterOpts, fundingWallet []common.Address, cpAccount []common.Address) (*FcpCollateralDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0x5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f62.

Solidity: event Deposit(address indexed fundingWallet, address indexed cpAccount, uint256 depositAmount)

func (*FcpCollateralFilterer) FilterDisputeProof added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) FilterDisputeProof(opts *bind.FilterOpts, challenger []common.Address, taskUid []string) (*FcpCollateralDisputeProofIterator, error)

FilterDisputeProof is a free log retrieval operation binding the contract event 0xaec1d412a3c1e4a13fc2a2e19ac38a5af192a9cf17b074fca8146a2d0655e0c3.

Solidity: event DisputeProof(address indexed challenger, string indexed taskUid)

func (*FcpCollateralFilterer) FilterInitialized added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) FilterInitialized(opts *bind.FilterOpts) (*FcpCollateralInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*FcpCollateralFilterer) FilterOwnershipTransferred added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*FcpCollateralOwnershipTransferredIterator, error)

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

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

func (*FcpCollateralFilterer) FilterTaskCreated added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) FilterTaskCreated(opts *bind.FilterOpts, taskUid []string) (*FcpCollateralTaskCreatedIterator, error)

FilterTaskCreated is a free log retrieval operation binding the contract event 0x5bebc56a5428fd7b8cf43ed525f03223f8363907fbe44665b7a3426d1de96800.

Solidity: event TaskCreated(string indexed taskUid, address cpAccountAddress, uint256 collateral)

func (*FcpCollateralFilterer) FilterUpgraded added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*FcpCollateralUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*FcpCollateralFilterer) FilterWithdraw added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) FilterWithdraw(opts *bind.FilterOpts, cpOwner []common.Address, cpAccount []common.Address) (*FcpCollateralWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0x9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb.

Solidity: event Withdraw(address indexed cpOwner, address indexed cpAccount, uint256 withdrawAmount)

func (*FcpCollateralFilterer) FilterWithdrawSlash added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) FilterWithdrawSlash(opts *bind.FilterOpts, collateralContratOwner []common.Address) (*FcpCollateralWithdrawSlashIterator, error)

FilterWithdrawSlash is a free log retrieval operation binding the contract event 0xbfd9c82485e2178fcfd5c40379d8e66fe60acc50aa1ef4c50966431eb1e381cd.

Solidity: event WithdrawSlash(address indexed collateralContratOwner, uint256 slashfund)

func (*FcpCollateralFilterer) ParseAdminChanged added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) ParseAdminChanged(log types.Log) (*FcpCollateralAdminChanged, error)

ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*FcpCollateralFilterer) ParseBeaconUpgraded added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) ParseBeaconUpgraded(log types.Log) (*FcpCollateralBeaconUpgraded, error)

ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*FcpCollateralFilterer) ParseCollateralAdjusted added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) ParseCollateralAdjusted(log types.Log) (*FcpCollateralCollateralAdjusted, error)

ParseCollateralAdjusted is a log parse operation binding the contract event 0x42f1a8a1aee108e84e4eabfaa8d51d7baaa1a02d482295297883a44b2debd3e4.

Solidity: event CollateralAdjusted(address indexed cp, uint256 frozenAmount, uint256 balanceAmount, string operation)

func (*FcpCollateralFilterer) ParseCollateralLocked added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) ParseCollateralLocked(log types.Log) (*FcpCollateralCollateralLocked, error)

ParseCollateralLocked is a log parse operation binding the contract event 0x5f3d004cf9164b95ed5dbf47d1f04018a4eabcb20b4320fe229ed92236ace634.

Solidity: event CollateralLocked(address indexed cp, uint256 collateralAmount, string taskUid)

func (*FcpCollateralFilterer) ParseCollateralSlashed added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) ParseCollateralSlashed(log types.Log) (*FcpCollateralCollateralSlashed, error)

ParseCollateralSlashed is a log parse operation binding the contract event 0x403feb2cd85cc25c910fe59289105b583f08fe9e4335ebbb08c1851f47ff2d34.

Solidity: event CollateralSlashed(address indexed cp, uint256 amount, string taskUid)

func (*FcpCollateralFilterer) ParseCollateralStatusChanged added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) ParseCollateralStatusChanged(log types.Log) (*FcpCollateralCollateralStatusChanged, error)

ParseCollateralStatusChanged is a log parse operation binding the contract event 0x4a2ced9ada462e244851a86e998eb0b5bf558c2c9c6923b7f970ed2b19b073b0.

Solidity: event CollateralStatusChanged(string indexed taskUid, uint8 newStatus)

func (*FcpCollateralFilterer) ParseCollateralUnlocked added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) ParseCollateralUnlocked(log types.Log) (*FcpCollateralCollateralUnlocked, error)

ParseCollateralUnlocked is a log parse operation binding the contract event 0x0f2440b3ca071b7d18e917a25289e7d7e7de8a491546d45acc2efbec7b3e1ae8.

Solidity: event CollateralUnlocked(address indexed cp, uint256 collateralAmount, string taskUid)

func (*FcpCollateralFilterer) ParseDeposit added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) ParseDeposit(log types.Log) (*FcpCollateralDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0x5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f62.

Solidity: event Deposit(address indexed fundingWallet, address indexed cpAccount, uint256 depositAmount)

func (*FcpCollateralFilterer) ParseDisputeProof added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) ParseDisputeProof(log types.Log) (*FcpCollateralDisputeProof, error)

ParseDisputeProof is a log parse operation binding the contract event 0xaec1d412a3c1e4a13fc2a2e19ac38a5af192a9cf17b074fca8146a2d0655e0c3.

Solidity: event DisputeProof(address indexed challenger, string indexed taskUid)

func (*FcpCollateralFilterer) ParseInitialized added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) ParseInitialized(log types.Log) (*FcpCollateralInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*FcpCollateralFilterer) ParseOwnershipTransferred added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) ParseOwnershipTransferred(log types.Log) (*FcpCollateralOwnershipTransferred, error)

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

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

func (*FcpCollateralFilterer) ParseTaskCreated added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) ParseTaskCreated(log types.Log) (*FcpCollateralTaskCreated, error)

ParseTaskCreated is a log parse operation binding the contract event 0x5bebc56a5428fd7b8cf43ed525f03223f8363907fbe44665b7a3426d1de96800.

Solidity: event TaskCreated(string indexed taskUid, address cpAccountAddress, uint256 collateral)

func (*FcpCollateralFilterer) ParseUpgraded added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) ParseUpgraded(log types.Log) (*FcpCollateralUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*FcpCollateralFilterer) ParseWithdraw added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) ParseWithdraw(log types.Log) (*FcpCollateralWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0x9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb.

Solidity: event Withdraw(address indexed cpOwner, address indexed cpAccount, uint256 withdrawAmount)

func (*FcpCollateralFilterer) ParseWithdrawSlash added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) ParseWithdrawSlash(log types.Log) (*FcpCollateralWithdrawSlash, error)

ParseWithdrawSlash is a log parse operation binding the contract event 0xbfd9c82485e2178fcfd5c40379d8e66fe60acc50aa1ef4c50966431eb1e381cd.

Solidity: event WithdrawSlash(address indexed collateralContratOwner, uint256 slashfund)

func (*FcpCollateralFilterer) WatchAdminChanged added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *FcpCollateralAdminChanged) (event.Subscription, error)

WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*FcpCollateralFilterer) WatchBeaconUpgraded added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *FcpCollateralBeaconUpgraded, beacon []common.Address) (event.Subscription, error)

WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*FcpCollateralFilterer) WatchCollateralAdjusted added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) WatchCollateralAdjusted(opts *bind.WatchOpts, sink chan<- *FcpCollateralCollateralAdjusted, cp []common.Address) (event.Subscription, error)

WatchCollateralAdjusted is a free log subscription operation binding the contract event 0x42f1a8a1aee108e84e4eabfaa8d51d7baaa1a02d482295297883a44b2debd3e4.

Solidity: event CollateralAdjusted(address indexed cp, uint256 frozenAmount, uint256 balanceAmount, string operation)

func (*FcpCollateralFilterer) WatchCollateralLocked added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) WatchCollateralLocked(opts *bind.WatchOpts, sink chan<- *FcpCollateralCollateralLocked, cp []common.Address) (event.Subscription, error)

WatchCollateralLocked is a free log subscription operation binding the contract event 0x5f3d004cf9164b95ed5dbf47d1f04018a4eabcb20b4320fe229ed92236ace634.

Solidity: event CollateralLocked(address indexed cp, uint256 collateralAmount, string taskUid)

func (*FcpCollateralFilterer) WatchCollateralSlashed added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) WatchCollateralSlashed(opts *bind.WatchOpts, sink chan<- *FcpCollateralCollateralSlashed, cp []common.Address) (event.Subscription, error)

WatchCollateralSlashed is a free log subscription operation binding the contract event 0x403feb2cd85cc25c910fe59289105b583f08fe9e4335ebbb08c1851f47ff2d34.

Solidity: event CollateralSlashed(address indexed cp, uint256 amount, string taskUid)

func (*FcpCollateralFilterer) WatchCollateralStatusChanged added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) WatchCollateralStatusChanged(opts *bind.WatchOpts, sink chan<- *FcpCollateralCollateralStatusChanged, taskUid []string) (event.Subscription, error)

WatchCollateralStatusChanged is a free log subscription operation binding the contract event 0x4a2ced9ada462e244851a86e998eb0b5bf558c2c9c6923b7f970ed2b19b073b0.

Solidity: event CollateralStatusChanged(string indexed taskUid, uint8 newStatus)

func (*FcpCollateralFilterer) WatchCollateralUnlocked added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) WatchCollateralUnlocked(opts *bind.WatchOpts, sink chan<- *FcpCollateralCollateralUnlocked, cp []common.Address) (event.Subscription, error)

WatchCollateralUnlocked is a free log subscription operation binding the contract event 0x0f2440b3ca071b7d18e917a25289e7d7e7de8a491546d45acc2efbec7b3e1ae8.

Solidity: event CollateralUnlocked(address indexed cp, uint256 collateralAmount, string taskUid)

func (*FcpCollateralFilterer) WatchDeposit added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *FcpCollateralDeposit, fundingWallet []common.Address, cpAccount []common.Address) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0x5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f62.

Solidity: event Deposit(address indexed fundingWallet, address indexed cpAccount, uint256 depositAmount)

func (*FcpCollateralFilterer) WatchDisputeProof added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) WatchDisputeProof(opts *bind.WatchOpts, sink chan<- *FcpCollateralDisputeProof, challenger []common.Address, taskUid []string) (event.Subscription, error)

WatchDisputeProof is a free log subscription operation binding the contract event 0xaec1d412a3c1e4a13fc2a2e19ac38a5af192a9cf17b074fca8146a2d0655e0c3.

Solidity: event DisputeProof(address indexed challenger, string indexed taskUid)

func (*FcpCollateralFilterer) WatchInitialized added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *FcpCollateralInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*FcpCollateralFilterer) WatchOwnershipTransferred added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *FcpCollateralOwnershipTransferred, 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 (*FcpCollateralFilterer) WatchTaskCreated added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) WatchTaskCreated(opts *bind.WatchOpts, sink chan<- *FcpCollateralTaskCreated, taskUid []string) (event.Subscription, error)

WatchTaskCreated is a free log subscription operation binding the contract event 0x5bebc56a5428fd7b8cf43ed525f03223f8363907fbe44665b7a3426d1de96800.

Solidity: event TaskCreated(string indexed taskUid, address cpAccountAddress, uint256 collateral)

func (*FcpCollateralFilterer) WatchUpgraded added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *FcpCollateralUpgraded, implementation []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*FcpCollateralFilterer) WatchWithdraw added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *FcpCollateralWithdraw, cpOwner []common.Address, cpAccount []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0x9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb.

Solidity: event Withdraw(address indexed cpOwner, address indexed cpAccount, uint256 withdrawAmount)

func (*FcpCollateralFilterer) WatchWithdrawSlash added in v0.6.0

func (_FcpCollateral *FcpCollateralFilterer) WatchWithdrawSlash(opts *bind.WatchOpts, sink chan<- *FcpCollateralWithdrawSlash, collateralContratOwner []common.Address) (event.Subscription, error)

WatchWithdrawSlash is a free log subscription operation binding the contract event 0xbfd9c82485e2178fcfd5c40379d8e66fe60acc50aa1ef4c50966431eb1e381cd.

Solidity: event WithdrawSlash(address indexed collateralContratOwner, uint256 slashfund)

type FcpCollateralInitialized added in v0.6.0

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

FcpCollateralInitialized represents a Initialized event raised by the FcpCollateral contract.

type FcpCollateralInitializedIterator added in v0.6.0

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

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

func (*FcpCollateralInitializedIterator) Close added in v0.6.0

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

func (*FcpCollateralInitializedIterator) Error added in v0.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpCollateralInitializedIterator) Next added in v0.6.0

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 FcpCollateralOwnershipTransferred added in v0.6.0

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

FcpCollateralOwnershipTransferred represents a OwnershipTransferred event raised by the FcpCollateral contract.

type FcpCollateralOwnershipTransferredIterator added in v0.6.0

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

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

func (*FcpCollateralOwnershipTransferredIterator) Close added in v0.6.0

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

func (*FcpCollateralOwnershipTransferredIterator) Error added in v0.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpCollateralOwnershipTransferredIterator) Next added in v0.6.0

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 FcpCollateralRaw added in v0.6.0

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

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

func (*FcpCollateralRaw) Call added in v0.6.0

func (_FcpCollateral *FcpCollateralRaw) 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 (*FcpCollateralRaw) Transact added in v0.6.0

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

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

func (*FcpCollateralRaw) Transfer added in v0.6.0

func (_FcpCollateral *FcpCollateralRaw) 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 FcpCollateralSession added in v0.6.0

type FcpCollateralSession struct {
	Contract     *FcpCollateral    // 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
}

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

func (*FcpCollateralSession) AddAdmin added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) AddAdmin(newAdmin common.Address) (*types.Transaction, error)

AddAdmin is a paid mutator transaction binding the contract method 0x70480275.

Solidity: function addAdmin(address newAdmin) returns()

func (*FcpCollateralSession) AvailableBalance added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) AvailableBalance(arg0 common.Address) (*big.Int, error)

AvailableBalance is a free data retrieval call binding the contract method 0xa0821be3.

Solidity: function availableBalance(address ) view returns(int256)

func (*FcpCollateralSession) BaseCollateral added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) BaseCollateral() (*big.Int, error)

BaseCollateral is a free data retrieval call binding the contract method 0x9b5ddf09.

Solidity: function baseCollateral() view returns(uint256)

func (*FcpCollateralSession) CollateralInfo added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) CollateralInfo() (SwanCreditCollateralContractInfo, error)

CollateralInfo is a free data retrieval call binding the contract method 0x53ad8720.

Solidity: function collateralInfo() view returns((uint256,uint256,uint256,uint256))

func (*FcpCollateralSession) CollateralRatio added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) CollateralRatio() (*big.Int, error)

CollateralRatio is a free data retrieval call binding the contract method 0xb4eae1cb.

Solidity: function collateralRatio() view returns(uint256)

func (*FcpCollateralSession) CpInfo added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) CpInfo(cpAddress common.Address) (SwanCreditCollateralCPInfo, error)

CpInfo is a free data retrieval call binding the contract method 0xa664c216.

Solidity: function cpInfo(address cpAddress) view returns((address,int256,uint256,string))

func (*FcpCollateralSession) CpStatus added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) CpStatus(arg0 common.Address) (string, error)

CpStatus is a free data retrieval call binding the contract method 0x3fe65177.

Solidity: function cpStatus(address ) view returns(string)

func (*FcpCollateralSession) Deposit added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) Deposit(cpAccount common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function deposit(address cpAccount, uint256 amount) returns()

func (*FcpCollateralSession) DisputeProof added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) DisputeProof(taskUid string) (*types.Transaction, error)

DisputeProof is a paid mutator transaction binding the contract method 0xe80d9dec.

Solidity: function disputeProof(string taskUid) returns()

func (*FcpCollateralSession) GetTaskInfo added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) GetTaskInfo(taskUid string) (SwanCreditCollateralTask, error)

GetTaskInfo is a free data retrieval call binding the contract method 0x1b209463.

Solidity: function getTaskInfo(string taskUid) view returns((address[],uint256,uint8))

func (*FcpCollateralSession) Initialize added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) Initialize() (*types.Transaction, error)

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

Solidity: function initialize() returns()

func (*FcpCollateralSession) IsAdmin added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) IsAdmin(arg0 common.Address) (bool, error)

IsAdmin is a free data retrieval call binding the contract method 0x24d7806c.

Solidity: function isAdmin(address ) view returns(bool)

func (*FcpCollateralSession) LockCollateral added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) LockCollateral(taskUid string, cpList []common.Address, taskCollateral *big.Int) (*types.Transaction, error)

LockCollateral is a paid mutator transaction binding the contract method 0x853911b2.

Solidity: function lockCollateral(string taskUid, address[] cpList, uint256 taskCollateral) returns()

func (*FcpCollateralSession) LockedCollateral added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) LockedCollateral(arg0 common.Address) (*big.Int, error)

LockedCollateral is a free data retrieval call binding the contract method 0x92bdf9ba.

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

func (*FcpCollateralSession) Owner added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*FcpCollateralSession) ProxiableUUID added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*FcpCollateralSession) RemoveAdmin added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) RemoveAdmin(admin common.Address) (*types.Transaction, error)

RemoveAdmin is a paid mutator transaction binding the contract method 0x1785f53c.

Solidity: function removeAdmin(address admin) returns()

func (*FcpCollateralSession) RenounceOwnership added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*FcpCollateralSession) SendETH added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) SendETH(recipient common.Address, amount *big.Int) (*types.Transaction, error)

SendETH is a paid mutator transaction binding the contract method 0x64a197f3.

Solidity: function sendETH(address recipient, uint256 amount) returns()

func (*FcpCollateralSession) SetBaseCollateral added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) SetBaseCollateral(_baseCollateral *big.Int) (*types.Transaction, error)

SetBaseCollateral is a paid mutator transaction binding the contract method 0x7f58a7e5.

Solidity: function setBaseCollateral(uint256 _baseCollateral) returns()

func (*FcpCollateralSession) SetCollateralToken added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) SetCollateralToken(tokenAddress common.Address) (*types.Transaction, error)

SetCollateralToken is a paid mutator transaction binding the contract method 0x666181a9.

Solidity: function setCollateralToken(address tokenAddress) returns()

func (*FcpCollateralSession) SetSlashRatio added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) SetSlashRatio(_slashRatio *big.Int) (*types.Transaction, error)

SetSlashRatio is a paid mutator transaction binding the contract method 0xce3518aa.

Solidity: function setSlashRatio(uint256 _slashRatio) returns()

func (*FcpCollateralSession) SlashCollateral added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) SlashCollateral(taskUid string, cpAccount common.Address) (*types.Transaction, error)

SlashCollateral is a paid mutator transaction binding the contract method 0xdd98fff5.

Solidity: function slashCollateral(string taskUid, address cpAccount) returns()

func (*FcpCollateralSession) SlashRatio added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) SlashRatio() (*big.Int, error)

SlashRatio is a free data retrieval call binding the contract method 0xd27ca89b.

Solidity: function slashRatio() view returns(uint256)

func (*FcpCollateralSession) SlashedFunds added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) SlashedFunds() (*big.Int, error)

SlashedFunds is a free data retrieval call binding the contract method 0x6f99f15c.

Solidity: function slashedFunds() view returns(uint256)

func (*FcpCollateralSession) Tasks added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) Tasks(arg0 string) (struct {
	Collateral       *big.Int
	CollateralStatus uint8
}, error)

Tasks is a free data retrieval call binding the contract method 0x58709cf2.

Solidity: function tasks(string ) view returns(uint256 collateral, uint8 collateralStatus)

func (*FcpCollateralSession) TransferOwnership added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) 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 (*FcpCollateralSession) UnlockCollateral added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) UnlockCollateral(taskUid string, amount *big.Int) (*types.Transaction, error)

UnlockCollateral is a paid mutator transaction binding the contract method 0x4b9f0bea.

Solidity: function unlockCollateral(string taskUid, uint256 amount) returns()

func (*FcpCollateralSession) UpgradeTo added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*FcpCollateralSession) UpgradeToAndCall added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*FcpCollateralSession) Version added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) Version() (*big.Int, error)

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

Solidity: function version() pure returns(uint256)

func (*FcpCollateralSession) Withdraw added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) Withdraw(cpAccount common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(address cpAccount, uint256 amount) returns()

func (*FcpCollateralSession) WithdrawSlashedFunds added in v0.6.0

func (_FcpCollateral *FcpCollateralSession) WithdrawSlashedFunds(amount *big.Int) (*types.Transaction, error)

WithdrawSlashedFunds is a paid mutator transaction binding the contract method 0x2894493f.

Solidity: function withdrawSlashedFunds(uint256 amount) returns()

type FcpCollateralTaskCreated added in v0.6.0

type FcpCollateralTaskCreated struct {
	TaskUid          common.Hash
	CpAccountAddress common.Address
	Collateral       *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

FcpCollateralTaskCreated represents a TaskCreated event raised by the FcpCollateral contract.

type FcpCollateralTaskCreatedIterator added in v0.6.0

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

FcpCollateralTaskCreatedIterator is returned from FilterTaskCreated and is used to iterate over the raw logs and unpacked data for TaskCreated events raised by the FcpCollateral contract.

func (*FcpCollateralTaskCreatedIterator) Close added in v0.6.0

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

func (*FcpCollateralTaskCreatedIterator) Error added in v0.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpCollateralTaskCreatedIterator) Next added in v0.6.0

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 FcpCollateralTransactor added in v0.6.0

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

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

func NewFcpCollateralTransactor added in v0.6.0

func NewFcpCollateralTransactor(address common.Address, transactor bind.ContractTransactor) (*FcpCollateralTransactor, error)

NewFcpCollateralTransactor creates a new write-only instance of FcpCollateral, bound to a specific deployed contract.

func (*FcpCollateralTransactor) AddAdmin added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactor) AddAdmin(opts *bind.TransactOpts, newAdmin common.Address) (*types.Transaction, error)

AddAdmin is a paid mutator transaction binding the contract method 0x70480275.

Solidity: function addAdmin(address newAdmin) returns()

func (*FcpCollateralTransactor) Deposit added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactor) Deposit(opts *bind.TransactOpts, cpAccount common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function deposit(address cpAccount, uint256 amount) returns()

func (*FcpCollateralTransactor) DisputeProof added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactor) DisputeProof(opts *bind.TransactOpts, taskUid string) (*types.Transaction, error)

DisputeProof is a paid mutator transaction binding the contract method 0xe80d9dec.

Solidity: function disputeProof(string taskUid) returns()

func (*FcpCollateralTransactor) Initialize added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function initialize() returns()

func (*FcpCollateralTransactor) LockCollateral added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactor) LockCollateral(opts *bind.TransactOpts, taskUid string, cpList []common.Address, taskCollateral *big.Int) (*types.Transaction, error)

LockCollateral is a paid mutator transaction binding the contract method 0x853911b2.

Solidity: function lockCollateral(string taskUid, address[] cpList, uint256 taskCollateral) returns()

func (*FcpCollateralTransactor) RemoveAdmin added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactor) RemoveAdmin(opts *bind.TransactOpts, admin common.Address) (*types.Transaction, error)

RemoveAdmin is a paid mutator transaction binding the contract method 0x1785f53c.

Solidity: function removeAdmin(address admin) returns()

func (*FcpCollateralTransactor) RenounceOwnership added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*FcpCollateralTransactor) SendETH added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactor) SendETH(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

SendETH is a paid mutator transaction binding the contract method 0x64a197f3.

Solidity: function sendETH(address recipient, uint256 amount) returns()

func (*FcpCollateralTransactor) SetBaseCollateral added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactor) SetBaseCollateral(opts *bind.TransactOpts, _baseCollateral *big.Int) (*types.Transaction, error)

SetBaseCollateral is a paid mutator transaction binding the contract method 0x7f58a7e5.

Solidity: function setBaseCollateral(uint256 _baseCollateral) returns()

func (*FcpCollateralTransactor) SetCollateralToken added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactor) SetCollateralToken(opts *bind.TransactOpts, tokenAddress common.Address) (*types.Transaction, error)

SetCollateralToken is a paid mutator transaction binding the contract method 0x666181a9.

Solidity: function setCollateralToken(address tokenAddress) returns()

func (*FcpCollateralTransactor) SetSlashRatio added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactor) SetSlashRatio(opts *bind.TransactOpts, _slashRatio *big.Int) (*types.Transaction, error)

SetSlashRatio is a paid mutator transaction binding the contract method 0xce3518aa.

Solidity: function setSlashRatio(uint256 _slashRatio) returns()

func (*FcpCollateralTransactor) SlashCollateral added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactor) SlashCollateral(opts *bind.TransactOpts, taskUid string, cpAccount common.Address) (*types.Transaction, error)

SlashCollateral is a paid mutator transaction binding the contract method 0xdd98fff5.

Solidity: function slashCollateral(string taskUid, address cpAccount) returns()

func (*FcpCollateralTransactor) TransferOwnership added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactor) 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 (*FcpCollateralTransactor) UnlockCollateral added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactor) UnlockCollateral(opts *bind.TransactOpts, taskUid string, amount *big.Int) (*types.Transaction, error)

UnlockCollateral is a paid mutator transaction binding the contract method 0x4b9f0bea.

Solidity: function unlockCollateral(string taskUid, uint256 amount) returns()

func (*FcpCollateralTransactor) UpgradeTo added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*FcpCollateralTransactor) UpgradeToAndCall added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*FcpCollateralTransactor) Withdraw added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactor) Withdraw(opts *bind.TransactOpts, cpAccount common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(address cpAccount, uint256 amount) returns()

func (*FcpCollateralTransactor) WithdrawSlashedFunds added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactor) WithdrawSlashedFunds(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

WithdrawSlashedFunds is a paid mutator transaction binding the contract method 0x2894493f.

Solidity: function withdrawSlashedFunds(uint256 amount) returns()

type FcpCollateralTransactorRaw added in v0.6.0

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

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

func (*FcpCollateralTransactorRaw) Transact added in v0.6.0

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

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

func (*FcpCollateralTransactorRaw) Transfer added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactorRaw) 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 FcpCollateralTransactorSession added in v0.6.0

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

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

func (*FcpCollateralTransactorSession) AddAdmin added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactorSession) AddAdmin(newAdmin common.Address) (*types.Transaction, error)

AddAdmin is a paid mutator transaction binding the contract method 0x70480275.

Solidity: function addAdmin(address newAdmin) returns()

func (*FcpCollateralTransactorSession) Deposit added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactorSession) Deposit(cpAccount common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function deposit(address cpAccount, uint256 amount) returns()

func (*FcpCollateralTransactorSession) DisputeProof added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactorSession) DisputeProof(taskUid string) (*types.Transaction, error)

DisputeProof is a paid mutator transaction binding the contract method 0xe80d9dec.

Solidity: function disputeProof(string taskUid) returns()

func (*FcpCollateralTransactorSession) Initialize added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactorSession) Initialize() (*types.Transaction, error)

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

Solidity: function initialize() returns()

func (*FcpCollateralTransactorSession) LockCollateral added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactorSession) LockCollateral(taskUid string, cpList []common.Address, taskCollateral *big.Int) (*types.Transaction, error)

LockCollateral is a paid mutator transaction binding the contract method 0x853911b2.

Solidity: function lockCollateral(string taskUid, address[] cpList, uint256 taskCollateral) returns()

func (*FcpCollateralTransactorSession) RemoveAdmin added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactorSession) RemoveAdmin(admin common.Address) (*types.Transaction, error)

RemoveAdmin is a paid mutator transaction binding the contract method 0x1785f53c.

Solidity: function removeAdmin(address admin) returns()

func (*FcpCollateralTransactorSession) RenounceOwnership added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*FcpCollateralTransactorSession) SendETH added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactorSession) SendETH(recipient common.Address, amount *big.Int) (*types.Transaction, error)

SendETH is a paid mutator transaction binding the contract method 0x64a197f3.

Solidity: function sendETH(address recipient, uint256 amount) returns()

func (*FcpCollateralTransactorSession) SetBaseCollateral added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactorSession) SetBaseCollateral(_baseCollateral *big.Int) (*types.Transaction, error)

SetBaseCollateral is a paid mutator transaction binding the contract method 0x7f58a7e5.

Solidity: function setBaseCollateral(uint256 _baseCollateral) returns()

func (*FcpCollateralTransactorSession) SetCollateralToken added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactorSession) SetCollateralToken(tokenAddress common.Address) (*types.Transaction, error)

SetCollateralToken is a paid mutator transaction binding the contract method 0x666181a9.

Solidity: function setCollateralToken(address tokenAddress) returns()

func (*FcpCollateralTransactorSession) SetSlashRatio added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactorSession) SetSlashRatio(_slashRatio *big.Int) (*types.Transaction, error)

SetSlashRatio is a paid mutator transaction binding the contract method 0xce3518aa.

Solidity: function setSlashRatio(uint256 _slashRatio) returns()

func (*FcpCollateralTransactorSession) SlashCollateral added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactorSession) SlashCollateral(taskUid string, cpAccount common.Address) (*types.Transaction, error)

SlashCollateral is a paid mutator transaction binding the contract method 0xdd98fff5.

Solidity: function slashCollateral(string taskUid, address cpAccount) returns()

func (*FcpCollateralTransactorSession) TransferOwnership added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactorSession) 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 (*FcpCollateralTransactorSession) UnlockCollateral added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactorSession) UnlockCollateral(taskUid string, amount *big.Int) (*types.Transaction, error)

UnlockCollateral is a paid mutator transaction binding the contract method 0x4b9f0bea.

Solidity: function unlockCollateral(string taskUid, uint256 amount) returns()

func (*FcpCollateralTransactorSession) UpgradeTo added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*FcpCollateralTransactorSession) UpgradeToAndCall added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*FcpCollateralTransactorSession) Withdraw added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactorSession) Withdraw(cpAccount common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(address cpAccount, uint256 amount) returns()

func (*FcpCollateralTransactorSession) WithdrawSlashedFunds added in v0.6.0

func (_FcpCollateral *FcpCollateralTransactorSession) WithdrawSlashedFunds(amount *big.Int) (*types.Transaction, error)

WithdrawSlashedFunds is a paid mutator transaction binding the contract method 0x2894493f.

Solidity: function withdrawSlashedFunds(uint256 amount) returns()

type FcpCollateralUpgraded added in v0.6.0

type FcpCollateralUpgraded struct {
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

FcpCollateralUpgraded represents a Upgraded event raised by the FcpCollateral contract.

type FcpCollateralUpgradedIterator added in v0.6.0

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

FcpCollateralUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the FcpCollateral contract.

func (*FcpCollateralUpgradedIterator) Close added in v0.6.0

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

func (*FcpCollateralUpgradedIterator) Error added in v0.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpCollateralUpgradedIterator) Next added in v0.6.0

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 FcpCollateralWithdraw added in v0.6.0

type FcpCollateralWithdraw struct {
	CpOwner        common.Address
	CpAccount      common.Address
	WithdrawAmount *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

FcpCollateralWithdraw represents a Withdraw event raised by the FcpCollateral contract.

type FcpCollateralWithdrawIterator added in v0.6.0

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

FcpCollateralWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the FcpCollateral contract.

func (*FcpCollateralWithdrawIterator) Close added in v0.6.0

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

func (*FcpCollateralWithdrawIterator) Error added in v0.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpCollateralWithdrawIterator) Next added in v0.6.0

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 FcpCollateralWithdrawSlash added in v0.6.0

type FcpCollateralWithdrawSlash struct {
	CollateralContratOwner common.Address
	Slashfund              *big.Int
	Raw                    types.Log // Blockchain specific contextual infos
}

FcpCollateralWithdrawSlash represents a WithdrawSlash event raised by the FcpCollateral contract.

type FcpCollateralWithdrawSlashIterator added in v0.6.0

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

FcpCollateralWithdrawSlashIterator is returned from FilterWithdrawSlash and is used to iterate over the raw logs and unpacked data for WithdrawSlash events raised by the FcpCollateral contract.

func (*FcpCollateralWithdrawSlashIterator) Close added in v0.6.0

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

func (*FcpCollateralWithdrawSlashIterator) Error added in v0.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpCollateralWithdrawSlashIterator) Next added in v0.6.0

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 FcpTaskManager added in v0.6.2

type FcpTaskManager struct {
	FcpTaskManagerCaller     // Read-only binding to the contract
	FcpTaskManagerTransactor // Write-only binding to the contract
	FcpTaskManagerFilterer   // Log filterer for contract events
}

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

func DeployFcpTaskManager added in v0.6.2

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

DeployFcpTaskManager deploys a new Ethereum contract, binding an instance of FcpTaskManager to it.

func NewFcpTaskManager added in v0.6.2

func NewFcpTaskManager(address common.Address, backend bind.ContractBackend) (*FcpTaskManager, error)

NewFcpTaskManager creates a new instance of FcpTaskManager, bound to a specific deployed contract.

type FcpTaskManagerAdminChanged added in v0.6.2

type FcpTaskManagerAdminChanged struct {
	PreviousAdmin common.Address
	NewAdmin      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

FcpTaskManagerAdminChanged represents a AdminChanged event raised by the FcpTaskManager contract.

type FcpTaskManagerAdminChangedIterator added in v0.6.2

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

FcpTaskManagerAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the FcpTaskManager contract.

func (*FcpTaskManagerAdminChangedIterator) Close added in v0.6.2

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

func (*FcpTaskManagerAdminChangedIterator) Error added in v0.6.2

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpTaskManagerAdminChangedIterator) Next added in v0.6.2

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 FcpTaskManagerBeaconUpgraded added in v0.6.2

type FcpTaskManagerBeaconUpgraded struct {
	Beacon common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

FcpTaskManagerBeaconUpgraded represents a BeaconUpgraded event raised by the FcpTaskManager contract.

type FcpTaskManagerBeaconUpgradedIterator added in v0.6.2

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

FcpTaskManagerBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the FcpTaskManager contract.

func (*FcpTaskManagerBeaconUpgradedIterator) Close added in v0.6.2

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

func (*FcpTaskManagerBeaconUpgradedIterator) Error added in v0.6.2

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpTaskManagerBeaconUpgradedIterator) Next added in v0.6.2

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 FcpTaskManagerCaller added in v0.6.2

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

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

func NewFcpTaskManagerCaller added in v0.6.2

func NewFcpTaskManagerCaller(address common.Address, caller bind.ContractCaller) (*FcpTaskManagerCaller, error)

NewFcpTaskManagerCaller creates a new read-only instance of FcpTaskManager, bound to a specific deployed contract.

func (*FcpTaskManagerCaller) ApWallet added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerCaller) ApWallet(opts *bind.CallOpts) (common.Address, error)

ApWallet is a free data retrieval call binding the contract method 0x4dc74d22.

Solidity: function apWallet() view returns(address)

func (*FcpTaskManagerCaller) ArWallet added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerCaller) ArWallet(opts *bind.CallOpts) (common.Address, error)

ArWallet is a free data retrieval call binding the contract method 0x69ab84f2.

Solidity: function arWallet() view returns(address)

func (*FcpTaskManagerCaller) CollateralContract added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerCaller) CollateralContract(opts *bind.CallOpts) (common.Address, error)

CollateralContract is a free data retrieval call binding the contract method 0xc6e1c7c9.

Solidity: function collateralContract() view returns(address)

func (*FcpTaskManagerCaller) GetTaskInfo added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerCaller) GetTaskInfo(opts *bind.CallOpts, taskUid string) (TaskManagerFullTaskInfo, error)

GetTaskInfo is a free data retrieval call binding the contract method 0x1b209463.

Solidity: function getTaskInfo(string taskUid) view returns((string,address[],address,uint256,uint256,uint256,uint256,uint256,uint8,uint8))

func (*FcpTaskManagerCaller) IsAdmin added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerCaller) IsAdmin(opts *bind.CallOpts, arg0 common.Address) (bool, error)

IsAdmin is a free data retrieval call binding the contract method 0x24d7806c.

Solidity: function isAdmin(address ) view returns(bool)

func (*FcpTaskManagerCaller) Owner added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerCaller) 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 (*FcpTaskManagerCaller) ProxiableUUID added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*FcpTaskManagerCaller) RewardToken added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerCaller) RewardToken(opts *bind.CallOpts) (common.Address, error)

RewardToken is a free data retrieval call binding the contract method 0xf7c618c1.

Solidity: function rewardToken() view returns(address)

func (*FcpTaskManagerCaller) Tasks added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerCaller) Tasks(opts *bind.CallOpts, arg0 string) (struct {
	TaskUid            string
	User               common.Address
	Reward             *big.Int
	StartTimestamp     *big.Int
	TerminateTimestamp *big.Int
	Duration           *big.Int
	TaskStatus         uint8
}, error)

Tasks is a free data retrieval call binding the contract method 0x58709cf2.

Solidity: function tasks(string ) view returns(string taskUid, address user, uint256 reward, uint256 startTimestamp, uint256 terminateTimestamp, uint256 duration, uint8 taskStatus)

func (*FcpTaskManagerCaller) Version added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerCaller) Version(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function version() pure returns(uint256)

type FcpTaskManagerCallerRaw added in v0.6.2

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

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

func (*FcpTaskManagerCallerRaw) Call added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerCallerRaw) 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 FcpTaskManagerCallerSession added in v0.6.2

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

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

func (*FcpTaskManagerCallerSession) ApWallet added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerCallerSession) ApWallet() (common.Address, error)

ApWallet is a free data retrieval call binding the contract method 0x4dc74d22.

Solidity: function apWallet() view returns(address)

func (*FcpTaskManagerCallerSession) ArWallet added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerCallerSession) ArWallet() (common.Address, error)

ArWallet is a free data retrieval call binding the contract method 0x69ab84f2.

Solidity: function arWallet() view returns(address)

func (*FcpTaskManagerCallerSession) CollateralContract added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerCallerSession) CollateralContract() (common.Address, error)

CollateralContract is a free data retrieval call binding the contract method 0xc6e1c7c9.

Solidity: function collateralContract() view returns(address)

func (*FcpTaskManagerCallerSession) GetTaskInfo added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerCallerSession) GetTaskInfo(taskUid string) (TaskManagerFullTaskInfo, error)

GetTaskInfo is a free data retrieval call binding the contract method 0x1b209463.

Solidity: function getTaskInfo(string taskUid) view returns((string,address[],address,uint256,uint256,uint256,uint256,uint256,uint8,uint8))

func (*FcpTaskManagerCallerSession) IsAdmin added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerCallerSession) IsAdmin(arg0 common.Address) (bool, error)

IsAdmin is a free data retrieval call binding the contract method 0x24d7806c.

Solidity: function isAdmin(address ) view returns(bool)

func (*FcpTaskManagerCallerSession) Owner added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*FcpTaskManagerCallerSession) ProxiableUUID added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerCallerSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*FcpTaskManagerCallerSession) RewardToken added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerCallerSession) RewardToken() (common.Address, error)

RewardToken is a free data retrieval call binding the contract method 0xf7c618c1.

Solidity: function rewardToken() view returns(address)

func (*FcpTaskManagerCallerSession) Tasks added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerCallerSession) Tasks(arg0 string) (struct {
	TaskUid            string
	User               common.Address
	Reward             *big.Int
	StartTimestamp     *big.Int
	TerminateTimestamp *big.Int
	Duration           *big.Int
	TaskStatus         uint8
}, error)

Tasks is a free data retrieval call binding the contract method 0x58709cf2.

Solidity: function tasks(string ) view returns(string taskUid, address user, uint256 reward, uint256 startTimestamp, uint256 terminateTimestamp, uint256 duration, uint8 taskStatus)

func (*FcpTaskManagerCallerSession) Version added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerCallerSession) Version() (*big.Int, error)

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

Solidity: function version() pure returns(uint256)

type FcpTaskManagerFilterer added in v0.6.2

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

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

func NewFcpTaskManagerFilterer added in v0.6.2

func NewFcpTaskManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*FcpTaskManagerFilterer, error)

NewFcpTaskManagerFilterer creates a new log filterer instance of FcpTaskManager, bound to a specific deployed contract.

func (*FcpTaskManagerFilterer) FilterAdminChanged added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*FcpTaskManagerAdminChangedIterator, error)

FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*FcpTaskManagerFilterer) FilterBeaconUpgraded added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*FcpTaskManagerBeaconUpgradedIterator, error)

FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*FcpTaskManagerFilterer) FilterInitialized added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) FilterInitialized(opts *bind.FilterOpts) (*FcpTaskManagerInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*FcpTaskManagerFilterer) FilterOwnershipTransferred added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*FcpTaskManagerOwnershipTransferredIterator, error)

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

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

func (*FcpTaskManagerFilterer) FilterRewardReleased added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) FilterRewardReleased(opts *bind.FilterOpts, taskUid []string, cpAccount []common.Address) (*FcpTaskManagerRewardReleasedIterator, error)

FilterRewardReleased is a free log retrieval operation binding the contract event 0x6504a330caacb9bebf5a13c7a7356d83a2ff093b07185671301738c1761475d2.

Solidity: event RewardReleased(string indexed taskUid, address indexed cpAccount, address beneficiary, uint256 rewardAmount)

func (*FcpTaskManagerFilterer) FilterTaskCompleted added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) FilterTaskCompleted(opts *bind.FilterOpts, taskUid []string) (*FcpTaskManagerTaskCompletedIterator, error)

FilterTaskCompleted is a free log retrieval operation binding the contract event 0x2ea2764b7d80d0107c1d2c0210ead4a6fdee0f86235483a041d9faffbf875880.

Solidity: event TaskCompleted(string indexed taskUid)

func (*FcpTaskManagerFilterer) FilterTaskCreated added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) FilterTaskCreated(opts *bind.FilterOpts, taskUid []string) (*FcpTaskManagerTaskCreatedIterator, error)

FilterTaskCreated is a free log retrieval operation binding the contract event 0x1455e6e35b1b89916dd3024a995f41593b0b27f0e7cb61b253a69ba2c2d37951.

Solidity: event TaskCreated(string indexed taskUid, address[] cpList, address user, uint256 reward, uint256 duration)

func (*FcpTaskManagerFilterer) FilterTaskExtended added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) FilterTaskExtended(opts *bind.FilterOpts, taskUid []string) (*FcpTaskManagerTaskExtendedIterator, error)

FilterTaskExtended is a free log retrieval operation binding the contract event 0xd1fa78153d824892404081883d06a6a4d9dd70c117aff5a8bf61c8961ffc941c.

Solidity: event TaskExtended(string indexed taskUid, uint256 addedDuration, uint256 totalDuration)

func (*FcpTaskManagerFilterer) FilterTaskTerminated added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) FilterTaskTerminated(opts *bind.FilterOpts, taskUid []string) (*FcpTaskManagerTaskTerminatedIterator, error)

FilterTaskTerminated is a free log retrieval operation binding the contract event 0x58136d68c79c10fb55282098b850a5a1c041b28af29cb65ea657a824f5bd6a36.

Solidity: event TaskTerminated(string indexed taskUid, uint256 terminateTimestamp)

func (*FcpTaskManagerFilterer) FilterURISubmitted added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) FilterURISubmitted(opts *bind.FilterOpts, taskUid []string) (*FcpTaskManagerURISubmittedIterator, error)

FilterURISubmitted is a free log retrieval operation binding the contract event 0x2b9a4b6cdefbc34e0fe2cf2e7c540e2382e53f5a2d4e7dfc6f26dc1c3ed3fe66.

Solidity: event URISubmitted(string indexed taskUid, address submitter, string uri)

func (*FcpTaskManagerFilterer) FilterUpgraded added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*FcpTaskManagerUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*FcpTaskManagerFilterer) ParseAdminChanged added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) ParseAdminChanged(log types.Log) (*FcpTaskManagerAdminChanged, error)

ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*FcpTaskManagerFilterer) ParseBeaconUpgraded added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) ParseBeaconUpgraded(log types.Log) (*FcpTaskManagerBeaconUpgraded, error)

ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*FcpTaskManagerFilterer) ParseInitialized added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) ParseInitialized(log types.Log) (*FcpTaskManagerInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*FcpTaskManagerFilterer) ParseOwnershipTransferred added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) ParseOwnershipTransferred(log types.Log) (*FcpTaskManagerOwnershipTransferred, error)

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

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

func (*FcpTaskManagerFilterer) ParseRewardReleased added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) ParseRewardReleased(log types.Log) (*FcpTaskManagerRewardReleased, error)

ParseRewardReleased is a log parse operation binding the contract event 0x6504a330caacb9bebf5a13c7a7356d83a2ff093b07185671301738c1761475d2.

Solidity: event RewardReleased(string indexed taskUid, address indexed cpAccount, address beneficiary, uint256 rewardAmount)

func (*FcpTaskManagerFilterer) ParseTaskCompleted added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) ParseTaskCompleted(log types.Log) (*FcpTaskManagerTaskCompleted, error)

ParseTaskCompleted is a log parse operation binding the contract event 0x2ea2764b7d80d0107c1d2c0210ead4a6fdee0f86235483a041d9faffbf875880.

Solidity: event TaskCompleted(string indexed taskUid)

func (*FcpTaskManagerFilterer) ParseTaskCreated added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) ParseTaskCreated(log types.Log) (*FcpTaskManagerTaskCreated, error)

ParseTaskCreated is a log parse operation binding the contract event 0x1455e6e35b1b89916dd3024a995f41593b0b27f0e7cb61b253a69ba2c2d37951.

Solidity: event TaskCreated(string indexed taskUid, address[] cpList, address user, uint256 reward, uint256 duration)

func (*FcpTaskManagerFilterer) ParseTaskExtended added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) ParseTaskExtended(log types.Log) (*FcpTaskManagerTaskExtended, error)

ParseTaskExtended is a log parse operation binding the contract event 0xd1fa78153d824892404081883d06a6a4d9dd70c117aff5a8bf61c8961ffc941c.

Solidity: event TaskExtended(string indexed taskUid, uint256 addedDuration, uint256 totalDuration)

func (*FcpTaskManagerFilterer) ParseTaskTerminated added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) ParseTaskTerminated(log types.Log) (*FcpTaskManagerTaskTerminated, error)

ParseTaskTerminated is a log parse operation binding the contract event 0x58136d68c79c10fb55282098b850a5a1c041b28af29cb65ea657a824f5bd6a36.

Solidity: event TaskTerminated(string indexed taskUid, uint256 terminateTimestamp)

func (*FcpTaskManagerFilterer) ParseURISubmitted added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) ParseURISubmitted(log types.Log) (*FcpTaskManagerURISubmitted, error)

ParseURISubmitted is a log parse operation binding the contract event 0x2b9a4b6cdefbc34e0fe2cf2e7c540e2382e53f5a2d4e7dfc6f26dc1c3ed3fe66.

Solidity: event URISubmitted(string indexed taskUid, address submitter, string uri)

func (*FcpTaskManagerFilterer) ParseUpgraded added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) ParseUpgraded(log types.Log) (*FcpTaskManagerUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*FcpTaskManagerFilterer) WatchAdminChanged added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *FcpTaskManagerAdminChanged) (event.Subscription, error)

WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*FcpTaskManagerFilterer) WatchBeaconUpgraded added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *FcpTaskManagerBeaconUpgraded, beacon []common.Address) (event.Subscription, error)

WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*FcpTaskManagerFilterer) WatchInitialized added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *FcpTaskManagerInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*FcpTaskManagerFilterer) WatchOwnershipTransferred added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *FcpTaskManagerOwnershipTransferred, 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 (*FcpTaskManagerFilterer) WatchRewardReleased added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) WatchRewardReleased(opts *bind.WatchOpts, sink chan<- *FcpTaskManagerRewardReleased, taskUid []string, cpAccount []common.Address) (event.Subscription, error)

WatchRewardReleased is a free log subscription operation binding the contract event 0x6504a330caacb9bebf5a13c7a7356d83a2ff093b07185671301738c1761475d2.

Solidity: event RewardReleased(string indexed taskUid, address indexed cpAccount, address beneficiary, uint256 rewardAmount)

func (*FcpTaskManagerFilterer) WatchTaskCompleted added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) WatchTaskCompleted(opts *bind.WatchOpts, sink chan<- *FcpTaskManagerTaskCompleted, taskUid []string) (event.Subscription, error)

WatchTaskCompleted is a free log subscription operation binding the contract event 0x2ea2764b7d80d0107c1d2c0210ead4a6fdee0f86235483a041d9faffbf875880.

Solidity: event TaskCompleted(string indexed taskUid)

func (*FcpTaskManagerFilterer) WatchTaskCreated added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) WatchTaskCreated(opts *bind.WatchOpts, sink chan<- *FcpTaskManagerTaskCreated, taskUid []string) (event.Subscription, error)

WatchTaskCreated is a free log subscription operation binding the contract event 0x1455e6e35b1b89916dd3024a995f41593b0b27f0e7cb61b253a69ba2c2d37951.

Solidity: event TaskCreated(string indexed taskUid, address[] cpList, address user, uint256 reward, uint256 duration)

func (*FcpTaskManagerFilterer) WatchTaskExtended added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) WatchTaskExtended(opts *bind.WatchOpts, sink chan<- *FcpTaskManagerTaskExtended, taskUid []string) (event.Subscription, error)

WatchTaskExtended is a free log subscription operation binding the contract event 0xd1fa78153d824892404081883d06a6a4d9dd70c117aff5a8bf61c8961ffc941c.

Solidity: event TaskExtended(string indexed taskUid, uint256 addedDuration, uint256 totalDuration)

func (*FcpTaskManagerFilterer) WatchTaskTerminated added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) WatchTaskTerminated(opts *bind.WatchOpts, sink chan<- *FcpTaskManagerTaskTerminated, taskUid []string) (event.Subscription, error)

WatchTaskTerminated is a free log subscription operation binding the contract event 0x58136d68c79c10fb55282098b850a5a1c041b28af29cb65ea657a824f5bd6a36.

Solidity: event TaskTerminated(string indexed taskUid, uint256 terminateTimestamp)

func (*FcpTaskManagerFilterer) WatchURISubmitted added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) WatchURISubmitted(opts *bind.WatchOpts, sink chan<- *FcpTaskManagerURISubmitted, taskUid []string) (event.Subscription, error)

WatchURISubmitted is a free log subscription operation binding the contract event 0x2b9a4b6cdefbc34e0fe2cf2e7c540e2382e53f5a2d4e7dfc6f26dc1c3ed3fe66.

Solidity: event URISubmitted(string indexed taskUid, address submitter, string uri)

func (*FcpTaskManagerFilterer) WatchUpgraded added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *FcpTaskManagerUpgraded, implementation []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

type FcpTaskManagerInitialized added in v0.6.2

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

FcpTaskManagerInitialized represents a Initialized event raised by the FcpTaskManager contract.

type FcpTaskManagerInitializedIterator added in v0.6.2

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

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

func (*FcpTaskManagerInitializedIterator) Close added in v0.6.2

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

func (*FcpTaskManagerInitializedIterator) Error added in v0.6.2

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpTaskManagerInitializedIterator) Next added in v0.6.2

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 FcpTaskManagerOwnershipTransferred added in v0.6.2

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

FcpTaskManagerOwnershipTransferred represents a OwnershipTransferred event raised by the FcpTaskManager contract.

type FcpTaskManagerOwnershipTransferredIterator added in v0.6.2

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

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

func (*FcpTaskManagerOwnershipTransferredIterator) Close added in v0.6.2

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

func (*FcpTaskManagerOwnershipTransferredIterator) Error added in v0.6.2

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpTaskManagerOwnershipTransferredIterator) Next added in v0.6.2

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 FcpTaskManagerRaw added in v0.6.2

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

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

func (*FcpTaskManagerRaw) Call added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerRaw) 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 (*FcpTaskManagerRaw) Transact added in v0.6.2

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

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

func (*FcpTaskManagerRaw) Transfer added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerRaw) 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 FcpTaskManagerRewardReleased added in v0.6.2

type FcpTaskManagerRewardReleased struct {
	TaskUid      common.Hash
	CpAccount    common.Address
	Beneficiary  common.Address
	RewardAmount *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

FcpTaskManagerRewardReleased represents a RewardReleased event raised by the FcpTaskManager contract.

type FcpTaskManagerRewardReleasedIterator added in v0.6.2

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

FcpTaskManagerRewardReleasedIterator is returned from FilterRewardReleased and is used to iterate over the raw logs and unpacked data for RewardReleased events raised by the FcpTaskManager contract.

func (*FcpTaskManagerRewardReleasedIterator) Close added in v0.6.2

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

func (*FcpTaskManagerRewardReleasedIterator) Error added in v0.6.2

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpTaskManagerRewardReleasedIterator) Next added in v0.6.2

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 FcpTaskManagerSession added in v0.6.2

type FcpTaskManagerSession struct {
	Contract     *FcpTaskManager   // 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
}

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

func (*FcpTaskManagerSession) AddAdmin added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerSession) AddAdmin(newAdmin common.Address) (*types.Transaction, error)

AddAdmin is a paid mutator transaction binding the contract method 0x70480275.

Solidity: function addAdmin(address newAdmin) returns()

func (*FcpTaskManagerSession) ApWallet added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerSession) ApWallet() (common.Address, error)

ApWallet is a free data retrieval call binding the contract method 0x4dc74d22.

Solidity: function apWallet() view returns(address)

func (*FcpTaskManagerSession) ArWallet added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerSession) ArWallet() (common.Address, error)

ArWallet is a free data retrieval call binding the contract method 0x69ab84f2.

Solidity: function arWallet() view returns(address)

func (*FcpTaskManagerSession) AssignTask added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerSession) AssignTask(taskUid string, cpAccountList []common.Address, user common.Address, reward *big.Int, collateral *big.Int, duration *big.Int) (*types.Transaction, error)

AssignTask is a paid mutator transaction binding the contract method 0x9a8afe9c.

Solidity: function assignTask(string taskUid, address[] cpAccountList, address user, uint256 reward, uint256 collateral, uint256 duration) returns()

func (*FcpTaskManagerSession) CollateralContract added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerSession) CollateralContract() (common.Address, error)

CollateralContract is a free data retrieval call binding the contract method 0xc6e1c7c9.

Solidity: function collateralContract() view returns(address)

func (*FcpTaskManagerSession) CompleteTask added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerSession) CompleteTask(taskUid string) (*types.Transaction, error)

CompleteTask is a paid mutator transaction binding the contract method 0x394c244b.

Solidity: function completeTask(string taskUid) returns()

func (*FcpTaskManagerSession) ExtendTask added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerSession) ExtendTask(taskUid string, extraDuration *big.Int, extraReward *big.Int) (*types.Transaction, error)

ExtendTask is a paid mutator transaction binding the contract method 0x3b97f5b3.

Solidity: function extendTask(string taskUid, uint256 extraDuration, uint256 extraReward) returns()

func (*FcpTaskManagerSession) GetTaskInfo added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerSession) GetTaskInfo(taskUid string) (TaskManagerFullTaskInfo, error)

GetTaskInfo is a free data retrieval call binding the contract method 0x1b209463.

Solidity: function getTaskInfo(string taskUid) view returns((string,address[],address,uint256,uint256,uint256,uint256,uint256,uint8,uint8))

func (*FcpTaskManagerSession) Initialize added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerSession) Initialize(ar common.Address, ap common.Address, collateralContractAddress common.Address, rewardTokenAddress common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address ar, address ap, address collateralContractAddress, address rewardTokenAddress) returns()

func (*FcpTaskManagerSession) IsAdmin added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerSession) IsAdmin(arg0 common.Address) (bool, error)

IsAdmin is a free data retrieval call binding the contract method 0x24d7806c.

Solidity: function isAdmin(address ) view returns(bool)

func (*FcpTaskManagerSession) Owner added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*FcpTaskManagerSession) ProxiableUUID added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*FcpTaskManagerSession) ReleaseReward added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerSession) ReleaseReward(taskUid string) (*types.Transaction, error)

ReleaseReward is a paid mutator transaction binding the contract method 0xfe8d3188.

Solidity: function releaseReward(string taskUid) returns()

func (*FcpTaskManagerSession) RemoveAdmin added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerSession) RemoveAdmin(admin common.Address) (*types.Transaction, error)

RemoveAdmin is a paid mutator transaction binding the contract method 0x1785f53c.

Solidity: function removeAdmin(address admin) returns()

func (*FcpTaskManagerSession) RenounceOwnership added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*FcpTaskManagerSession) RewardToken added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerSession) RewardToken() (common.Address, error)

RewardToken is a free data retrieval call binding the contract method 0xf7c618c1.

Solidity: function rewardToken() view returns(address)

func (*FcpTaskManagerSession) SetCollateralContract added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerSession) SetCollateralContract(newCollateralContract common.Address) (*types.Transaction, error)

SetCollateralContract is a paid mutator transaction binding the contract method 0xe941cd06.

Solidity: function setCollateralContract(address newCollateralContract) returns()

func (*FcpTaskManagerSession) SubmitResult added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerSession) SubmitResult(taskUid string, resultUri string) (*types.Transaction, error)

SubmitResult is a paid mutator transaction binding the contract method 0x1b622fa8.

Solidity: function submitResult(string taskUid, string resultUri) returns()

func (*FcpTaskManagerSession) Tasks added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerSession) Tasks(arg0 string) (struct {
	TaskUid            string
	User               common.Address
	Reward             *big.Int
	StartTimestamp     *big.Int
	TerminateTimestamp *big.Int
	Duration           *big.Int
	TaskStatus         uint8
}, error)

Tasks is a free data retrieval call binding the contract method 0x58709cf2.

Solidity: function tasks(string ) view returns(string taskUid, address user, uint256 reward, uint256 startTimestamp, uint256 terminateTimestamp, uint256 duration, uint8 taskStatus)

func (*FcpTaskManagerSession) TerminateTask added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerSession) TerminateTask(taskUid string, terminateTime *big.Int) (*types.Transaction, error)

TerminateTask is a paid mutator transaction binding the contract method 0xed7bb9d1.

Solidity: function terminateTask(string taskUid, uint256 terminateTime) returns()

func (*FcpTaskManagerSession) TransferOwnership added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerSession) 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 (*FcpTaskManagerSession) UpgradeTo added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*FcpTaskManagerSession) UpgradeToAndCall added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*FcpTaskManagerSession) Version added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerSession) Version() (*big.Int, error)

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

Solidity: function version() pure returns(uint256)

type FcpTaskManagerTaskCompleted added in v0.6.2

type FcpTaskManagerTaskCompleted struct {
	TaskUid common.Hash
	Raw     types.Log // Blockchain specific contextual infos
}

FcpTaskManagerTaskCompleted represents a TaskCompleted event raised by the FcpTaskManager contract.

type FcpTaskManagerTaskCompletedIterator added in v0.6.2

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

FcpTaskManagerTaskCompletedIterator is returned from FilterTaskCompleted and is used to iterate over the raw logs and unpacked data for TaskCompleted events raised by the FcpTaskManager contract.

func (*FcpTaskManagerTaskCompletedIterator) Close added in v0.6.2

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

func (*FcpTaskManagerTaskCompletedIterator) Error added in v0.6.2

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpTaskManagerTaskCompletedIterator) Next added in v0.6.2

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 FcpTaskManagerTaskCreated added in v0.6.2

type FcpTaskManagerTaskCreated struct {
	TaskUid  common.Hash
	CpList   []common.Address
	User     common.Address
	Reward   *big.Int
	Duration *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

FcpTaskManagerTaskCreated represents a TaskCreated event raised by the FcpTaskManager contract.

type FcpTaskManagerTaskCreatedIterator added in v0.6.2

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

FcpTaskManagerTaskCreatedIterator is returned from FilterTaskCreated and is used to iterate over the raw logs and unpacked data for TaskCreated events raised by the FcpTaskManager contract.

func (*FcpTaskManagerTaskCreatedIterator) Close added in v0.6.2

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

func (*FcpTaskManagerTaskCreatedIterator) Error added in v0.6.2

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpTaskManagerTaskCreatedIterator) Next added in v0.6.2

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 FcpTaskManagerTaskExtended added in v0.6.2

type FcpTaskManagerTaskExtended struct {
	TaskUid       common.Hash
	AddedDuration *big.Int
	TotalDuration *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

FcpTaskManagerTaskExtended represents a TaskExtended event raised by the FcpTaskManager contract.

type FcpTaskManagerTaskExtendedIterator added in v0.6.2

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

FcpTaskManagerTaskExtendedIterator is returned from FilterTaskExtended and is used to iterate over the raw logs and unpacked data for TaskExtended events raised by the FcpTaskManager contract.

func (*FcpTaskManagerTaskExtendedIterator) Close added in v0.6.2

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

func (*FcpTaskManagerTaskExtendedIterator) Error added in v0.6.2

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpTaskManagerTaskExtendedIterator) Next added in v0.6.2

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 FcpTaskManagerTaskTerminated added in v0.6.2

type FcpTaskManagerTaskTerminated struct {
	TaskUid            common.Hash
	TerminateTimestamp *big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

FcpTaskManagerTaskTerminated represents a TaskTerminated event raised by the FcpTaskManager contract.

type FcpTaskManagerTaskTerminatedIterator added in v0.6.2

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

FcpTaskManagerTaskTerminatedIterator is returned from FilterTaskTerminated and is used to iterate over the raw logs and unpacked data for TaskTerminated events raised by the FcpTaskManager contract.

func (*FcpTaskManagerTaskTerminatedIterator) Close added in v0.6.2

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

func (*FcpTaskManagerTaskTerminatedIterator) Error added in v0.6.2

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpTaskManagerTaskTerminatedIterator) Next added in v0.6.2

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 FcpTaskManagerTransactor added in v0.6.2

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

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

func NewFcpTaskManagerTransactor added in v0.6.2

func NewFcpTaskManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*FcpTaskManagerTransactor, error)

NewFcpTaskManagerTransactor creates a new write-only instance of FcpTaskManager, bound to a specific deployed contract.

func (*FcpTaskManagerTransactor) AddAdmin added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactor) AddAdmin(opts *bind.TransactOpts, newAdmin common.Address) (*types.Transaction, error)

AddAdmin is a paid mutator transaction binding the contract method 0x70480275.

Solidity: function addAdmin(address newAdmin) returns()

func (*FcpTaskManagerTransactor) AssignTask added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactor) AssignTask(opts *bind.TransactOpts, taskUid string, cpAccountList []common.Address, user common.Address, reward *big.Int, collateral *big.Int, duration *big.Int) (*types.Transaction, error)

AssignTask is a paid mutator transaction binding the contract method 0x9a8afe9c.

Solidity: function assignTask(string taskUid, address[] cpAccountList, address user, uint256 reward, uint256 collateral, uint256 duration) returns()

func (*FcpTaskManagerTransactor) CompleteTask added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactor) CompleteTask(opts *bind.TransactOpts, taskUid string) (*types.Transaction, error)

CompleteTask is a paid mutator transaction binding the contract method 0x394c244b.

Solidity: function completeTask(string taskUid) returns()

func (*FcpTaskManagerTransactor) ExtendTask added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactor) ExtendTask(opts *bind.TransactOpts, taskUid string, extraDuration *big.Int, extraReward *big.Int) (*types.Transaction, error)

ExtendTask is a paid mutator transaction binding the contract method 0x3b97f5b3.

Solidity: function extendTask(string taskUid, uint256 extraDuration, uint256 extraReward) returns()

func (*FcpTaskManagerTransactor) Initialize added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactor) Initialize(opts *bind.TransactOpts, ar common.Address, ap common.Address, collateralContractAddress common.Address, rewardTokenAddress common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address ar, address ap, address collateralContractAddress, address rewardTokenAddress) returns()

func (*FcpTaskManagerTransactor) ReleaseReward added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactor) ReleaseReward(opts *bind.TransactOpts, taskUid string) (*types.Transaction, error)

ReleaseReward is a paid mutator transaction binding the contract method 0xfe8d3188.

Solidity: function releaseReward(string taskUid) returns()

func (*FcpTaskManagerTransactor) RemoveAdmin added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactor) RemoveAdmin(opts *bind.TransactOpts, admin common.Address) (*types.Transaction, error)

RemoveAdmin is a paid mutator transaction binding the contract method 0x1785f53c.

Solidity: function removeAdmin(address admin) returns()

func (*FcpTaskManagerTransactor) RenounceOwnership added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*FcpTaskManagerTransactor) SetCollateralContract added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactor) SetCollateralContract(opts *bind.TransactOpts, newCollateralContract common.Address) (*types.Transaction, error)

SetCollateralContract is a paid mutator transaction binding the contract method 0xe941cd06.

Solidity: function setCollateralContract(address newCollateralContract) returns()

func (*FcpTaskManagerTransactor) SubmitResult added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactor) SubmitResult(opts *bind.TransactOpts, taskUid string, resultUri string) (*types.Transaction, error)

SubmitResult is a paid mutator transaction binding the contract method 0x1b622fa8.

Solidity: function submitResult(string taskUid, string resultUri) returns()

func (*FcpTaskManagerTransactor) TerminateTask added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactor) TerminateTask(opts *bind.TransactOpts, taskUid string, terminateTime *big.Int) (*types.Transaction, error)

TerminateTask is a paid mutator transaction binding the contract method 0xed7bb9d1.

Solidity: function terminateTask(string taskUid, uint256 terminateTime) returns()

func (*FcpTaskManagerTransactor) TransferOwnership added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactor) 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 (*FcpTaskManagerTransactor) UpgradeTo added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*FcpTaskManagerTransactor) UpgradeToAndCall added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type FcpTaskManagerTransactorRaw added in v0.6.2

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

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

func (*FcpTaskManagerTransactorRaw) Transact added in v0.6.2

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

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

func (*FcpTaskManagerTransactorRaw) Transfer added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactorRaw) 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 FcpTaskManagerTransactorSession added in v0.6.2

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

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

func (*FcpTaskManagerTransactorSession) AddAdmin added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactorSession) AddAdmin(newAdmin common.Address) (*types.Transaction, error)

AddAdmin is a paid mutator transaction binding the contract method 0x70480275.

Solidity: function addAdmin(address newAdmin) returns()

func (*FcpTaskManagerTransactorSession) AssignTask added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactorSession) AssignTask(taskUid string, cpAccountList []common.Address, user common.Address, reward *big.Int, collateral *big.Int, duration *big.Int) (*types.Transaction, error)

AssignTask is a paid mutator transaction binding the contract method 0x9a8afe9c.

Solidity: function assignTask(string taskUid, address[] cpAccountList, address user, uint256 reward, uint256 collateral, uint256 duration) returns()

func (*FcpTaskManagerTransactorSession) CompleteTask added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactorSession) CompleteTask(taskUid string) (*types.Transaction, error)

CompleteTask is a paid mutator transaction binding the contract method 0x394c244b.

Solidity: function completeTask(string taskUid) returns()

func (*FcpTaskManagerTransactorSession) ExtendTask added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactorSession) ExtendTask(taskUid string, extraDuration *big.Int, extraReward *big.Int) (*types.Transaction, error)

ExtendTask is a paid mutator transaction binding the contract method 0x3b97f5b3.

Solidity: function extendTask(string taskUid, uint256 extraDuration, uint256 extraReward) returns()

func (*FcpTaskManagerTransactorSession) Initialize added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactorSession) Initialize(ar common.Address, ap common.Address, collateralContractAddress common.Address, rewardTokenAddress common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address ar, address ap, address collateralContractAddress, address rewardTokenAddress) returns()

func (*FcpTaskManagerTransactorSession) ReleaseReward added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactorSession) ReleaseReward(taskUid string) (*types.Transaction, error)

ReleaseReward is a paid mutator transaction binding the contract method 0xfe8d3188.

Solidity: function releaseReward(string taskUid) returns()

func (*FcpTaskManagerTransactorSession) RemoveAdmin added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactorSession) RemoveAdmin(admin common.Address) (*types.Transaction, error)

RemoveAdmin is a paid mutator transaction binding the contract method 0x1785f53c.

Solidity: function removeAdmin(address admin) returns()

func (*FcpTaskManagerTransactorSession) RenounceOwnership added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*FcpTaskManagerTransactorSession) SetCollateralContract added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactorSession) SetCollateralContract(newCollateralContract common.Address) (*types.Transaction, error)

SetCollateralContract is a paid mutator transaction binding the contract method 0xe941cd06.

Solidity: function setCollateralContract(address newCollateralContract) returns()

func (*FcpTaskManagerTransactorSession) SubmitResult added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactorSession) SubmitResult(taskUid string, resultUri string) (*types.Transaction, error)

SubmitResult is a paid mutator transaction binding the contract method 0x1b622fa8.

Solidity: function submitResult(string taskUid, string resultUri) returns()

func (*FcpTaskManagerTransactorSession) TerminateTask added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactorSession) TerminateTask(taskUid string, terminateTime *big.Int) (*types.Transaction, error)

TerminateTask is a paid mutator transaction binding the contract method 0xed7bb9d1.

Solidity: function terminateTask(string taskUid, uint256 terminateTime) returns()

func (*FcpTaskManagerTransactorSession) TransferOwnership added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactorSession) 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 (*FcpTaskManagerTransactorSession) UpgradeTo added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*FcpTaskManagerTransactorSession) UpgradeToAndCall added in v0.6.2

func (_FcpTaskManager *FcpTaskManagerTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type FcpTaskManagerURISubmitted added in v0.6.2

type FcpTaskManagerURISubmitted struct {
	TaskUid   common.Hash
	Submitter common.Address
	Uri       string
	Raw       types.Log // Blockchain specific contextual infos
}

FcpTaskManagerURISubmitted represents a URISubmitted event raised by the FcpTaskManager contract.

type FcpTaskManagerURISubmittedIterator added in v0.6.2

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

FcpTaskManagerURISubmittedIterator is returned from FilterURISubmitted and is used to iterate over the raw logs and unpacked data for URISubmitted events raised by the FcpTaskManager contract.

func (*FcpTaskManagerURISubmittedIterator) Close added in v0.6.2

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

func (*FcpTaskManagerURISubmittedIterator) Error added in v0.6.2

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpTaskManagerURISubmittedIterator) Next added in v0.6.2

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 FcpTaskManagerUpgraded added in v0.6.2

type FcpTaskManagerUpgraded struct {
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

FcpTaskManagerUpgraded represents a Upgraded event raised by the FcpTaskManager contract.

type FcpTaskManagerUpgradedIterator added in v0.6.2

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

FcpTaskManagerUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the FcpTaskManager contract.

func (*FcpTaskManagerUpgradedIterator) Close added in v0.6.2

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

func (*FcpTaskManagerUpgradedIterator) Error added in v0.6.2

Error returns any retrieval or parsing error occurred during filtering.

func (*FcpTaskManagerUpgradedIterator) Next added in v0.6.2

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 Option

type Option func(*Stub)

func WithCpAccountAddress added in v0.5.1

func WithCpAccountAddress(cpAccountAddress string) Option

func WithPrivateKey

func WithPrivateKey(pk string) Option

type Stub

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

func NewCollateralStub

func NewCollateralStub(client *ethclient.Client, options ...Option) (*Stub, error)

func (*Stub) CollateralInfo

func (s *Stub) CollateralInfo() (models.CpCollateralInfoForFCP, error)

func (*Stub) Deposit

func (s *Stub) Deposit(amount *big.Int) (string, error)

func (*Stub) Withdraw

func (s *Stub) Withdraw(amount *big.Int) (string, error)

type SwanCreditCollateralCPInfo added in v0.6.0

type SwanCreditCollateralCPInfo struct {
	CpAccount        common.Address
	AvailableBalance *big.Int
	LockedCollateral *big.Int
	Status           string
}

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

type SwanCreditCollateralContractInfo added in v0.6.0

type SwanCreditCollateralContractInfo struct {
	SlashedFunds    *big.Int
	BaseCollateral  *big.Int
	CollateralRatio *big.Int
	SlashRatio      *big.Int
}

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

type SwanCreditCollateralTask added in v0.6.0

type SwanCreditCollateralTask struct {
	CpList           []common.Address
	Collateral       *big.Int
	CollateralStatus uint8
}

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

type TaskInfoOnChain added in v0.6.2

type TaskInfoOnChain struct {
	TaskUuid           string
	CpList             []string
	OwnerAddress       string
	Reward             *big.Int
	Collateral         *big.Int
	StartTimestamp     int64
	TerminateTimestamp int64
	Duration           int64
	TaskStatus         uint8
	CollateralStatus   uint8
}

type TaskManagerFullTaskInfo added in v0.6.2

type TaskManagerFullTaskInfo struct {
	TaskUid            string
	CpList             []common.Address
	User               common.Address
	Reward             *big.Int
	Collateral         *big.Int
	StartTimestamp     *big.Int
	TerminateTimestamp *big.Int
	Duration           *big.Int
	TaskStatus         uint8
	CollateralStatus   uint8
}

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

type TaskManagerStub added in v0.6.2

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

func NewTaskManagerStub added in v0.6.2

func NewTaskManagerStub(client *ethclient.Client) (*TaskManagerStub, error)

func (*TaskManagerStub) GetTaskInfo added in v0.6.2

func (s *TaskManagerStub) GetTaskInfo(taskUuid string) (models.TaskInfoOnChain, error)

Jump to

Keyboard shortcuts

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