payresolver

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PayResolverABI = PayResolverMetaData.ABI

PayResolverABI is the input ABI used to generate the binding from. Deprecated: Use PayResolverMetaData.ABI instead.

View Source
var PayResolverBin = PayResolverMetaData.Bin

PayResolverBin is the compiled bytecode used for deploying new contracts. Deprecated: Use PayResolverMetaData.Bin instead.

View Source
var PayResolverMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"_registryAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_virtResolverAddr\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"payRegistry\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractIPayRegistry\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"resolvePaymentByConditions\",\"inputs\":[{\"name\":\"_resolvePayRequest\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"resolvePaymentByVouchedResult\",\"inputs\":[{\"name\":\"_vouchedPayResult\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"virtResolver\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractIVirtContractResolver\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"ResolvePayment\",\"inputs\":[{\"name\":\"payId\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"resolveDeadline\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"ECDSAInvalidSignature\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ECDSAInvalidSignatureLength\",\"inputs\":[{\"name\":\"length\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ECDSAInvalidSignatureS\",\"inputs\":[{\"name\":\"s\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]}]",
	Bin: "0x6080604052348015600e575f5ffd5b50604051612456380380612456833981016040819052602b916074565b5f80546001600160a01b039384166001600160a01b0319918216179091556001805492909316911617905560a0565b80516001600160a01b0381168114606f575f5ffd5b919050565b5f5f604083850312156084575f5ffd5b608b83605a565b9150609760208401605a565b90509250929050565b6123a9806100ad5f395ff3fe608060405234801561000f575f5ffd5b506004361061004a575f3560e01c80634367e45e1461004e57806353fc513f146100635780635fff88c814610091578063ead54c1b146100a4575b5f5ffd5b61006161005c366004612145565b6100b7565b005b5f54610075906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b61006161009f366004612145565b6101a7565b600154610075906001600160a01b031681565b5f6100f683838080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061037392505050565b90505f610105825f0151610488565b6080810151519091505f9081816005811115610123576101236121b3565b0361013d57610136838560200151610668565b9150610189565b6001816005811115610151576101516121b3565b03610164576101368385602001516108a9565b61016d81610af9565b156101815761013683856020015183610b4c565b6101896121c7565b8351805160209091012061019e848285610fb5565b50505050505050565b5f6101e683838080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061148692505050565b90505f6101f5825f0151611552565b90505f610204825f0151610488565b905080608001516020015160200151602001518260200151111561026f5760405162461bcd60e51b815260206004820152601a60248201527f457863656564206d6178207472616e7366657220616d6f756e7400000000000060448201526064015b60405180910390fd5b825180516020918201207f19457468657265756d205369676e6564204d6573736167653a0a3332000000005f908152601c91909152603c8120918501516102b79083906115e5565b90505f6102d18660400151846115e590919063ffffffff16565b905083602001516001600160a01b0316826001600160a01b031614801561030d575083604001516001600160a01b0316816001600160a01b0316145b61034d5760405162461bcd60e51b815260206004820152601160248201527010da1958dac81cda59dcc819985a5b1959607a1b6044820152606401610266565b84518051602091820120908601516103689086908390610fb5565b505050505050505050565b60408051808201909152606080825260208201525f6103a483604080518082019091525f8152602081019190915290565b90505f600284516103b591906121ef565b67ffffffffffffffff8111156103cd576103cd61220e565b6040519080825280602002602001820160405280156103f6578160200160208202803683370190505b5090505f805b6020840151518451101561047a576104138461160d565b905080600a0361042d576104268461167c565b85526103fc565b80601203610456575f61043f8561167c565b600584901b850160200152506001909101906103fc565b61047581600716600581111561046e5761046e6121b3565b859061171f565b6103fc565b508152602083015250919050565b61049061208f565b604080518082019091525f8082526020820184905283516104b3906002906121ef565b67ffffffffffffffff8111156104cb576104cb61220e565b6040519080825280602002602001820160405280156104f4578160200160208202803683370190505b5090505f805b6020840151518451101561065a576105118461160d565b90508060080361052b576105248461160d565b85526104fa565b8060120361054f5761053c846117ff565b6001600160a01b031660208601526104fa565b80601a0361057357610560846117ff565b6001600160a01b031660408601526104fa565b806022036105a4575f61058d6105888661167c565b61185d565b600584901b850160200152506001909101906104fa565b80602a036105c7576105bd6105b88561167c565b6119c8565b60808601526104fa565b806030036105e2576105d88461160d565b60a08601526104fa565b806038036105fd576105f38461160d565b60c08601526104fa565b806042036106215761060e846117ff565b6001600160a01b031660e08601526104fa565b8060480361063d576106328461160d565b6101008601526104fa565b61065581600716600581111561046e5761046e6121b3565b6104fa565b508152606083015250919050565b5f8080805b85606001515181101561087c575f8660600151828151811061069157610691612222565b602002602001015190505f60028111156106ad576106ad6121b3565b815160028111156106c0576106c06121b3565b0361071a5780602001518685815181106106dc576106dc612222565b602002602001015180519060200120146107085760405162461bcd60e51b815260040161026690612236565b836107128161225e565b945050610873565b60018151600281111561072f5761072f6121b3565b148061074d575060028151600281111561074b5761074b6121b3565b145b1561086b575f61075c82611a8f565b6080830151604051632f36f6a560e21b815291925082916001600160a01b0383169163bcdbda94916107919190600401612276565b602060405180830381865afa1580156107ac573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d091906122ab565b6107ec5760405162461bcd60e51b8152600401610266906122ca565b60a083015160405163ea4ba8eb60e01b81526001600160a01b0383169163ea4ba8eb9161081c9190600401612276565b602060405180830381865afa158015610837573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085b91906122ab565b61086457600194505b5050610873565b6108736121c7565b5060010161066d565b50801561088d575f925050506108a3565b8460800151602001516020015160200151925050505b92915050565b5f808080805b866060015151811015610ac3575f876060015182815181106108d3576108d3612222565b602002602001015190505f60028111156108ef576108ef6121b3565b81516002811115610902576109026121b3565b0361095c57806020015187868151811061091e5761091e612222565b6020026020010151805190602001201461094a5760405162461bcd60e51b815260040161026690612236565b846109548161225e565b955050610aba565b600181516002811115610971576109716121b3565b148061098f575060028151600281111561098d5761098d6121b3565b145b15610ab2575f61099e82611a8f565b6080830151604051632f36f6a560e21b815291925082916001600160a01b0383169163bcdbda94916109d39190600401612276565b602060405180830381865afa1580156109ee573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a1291906122ab565b610a2e5760405162461bcd60e51b8152600401610266906122ca565b60a083015160405163ea4ba8eb60e01b8152600197506001600160a01b0383169163ea4ba8eb91610a629190600401612276565b602060405180830381865afa158015610a7d573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aa191906122ab565b15610aab57600194505b5050610aba565b610aba6121c7565b506001016108af565b50811580610ace5750805b15610aee57856080015160200151602001516020015193505050506108a3565b5f93505050506108a3565b5f6003826005811115610b0e57610b0e6121b3565b1480610b2b57506004826005811115610b2957610b296121b3565b145b806108a357506005826005811115610b4557610b456121b3565b1492915050565b5f808080805b876060015151811015610f25575f88606001518281518110610b7657610b76612222565b602002602001015190505f6002811115610b9257610b926121b3565b81516002811115610ba557610ba56121b3565b03610bff578060200151888581518110610bc157610bc1612222565b60200260200101518051906020012014610bed5760405162461bcd60e51b815260040161026690612236565b83610bf78161225e565b945050610f1c565b600181516002811115610c1457610c146121b3565b1480610c325750600281516002811115610c3057610c306121b3565b145b15610f14575f610c4182611a8f565b6080830151604051632f36f6a560e21b815291925082916001600160a01b0383169163bcdbda9491610c769190600401612276565b602060405180830381865afa158015610c91573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cb591906122ab565b610cd15760405162461bcd60e51b8152600401610266906122ca565b6003896005811115610ce557610ce56121b3565b03610d6a5760a083015160405163ea4ba8eb60e01b81526001600160a01b0383169163ea4ba8eb91610d1a9190600401612276565b602060405180830381865afa158015610d35573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d599190612301565b610d639088612318565b9650610f09565b6004896005811115610d7e57610d7e6121b3565b03610dfb57610d6387826001600160a01b031663ea4ba8eb8660a001516040518263ffffffff1660e01b8152600401610db79190612276565b602060405180830381865afa158015610dd2573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610df69190612301565b611b83565b6005896005811115610e0f57610e0f6121b3565b03610f01578415610e9257610d6387826001600160a01b031663ea4ba8eb8660a001516040518263ffffffff1660e01b8152600401610e4e9190612276565b602060405180830381865afa158015610e69573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e8d9190612301565b611b92565b60a083015160405163ea4ba8eb60e01b81526001600160a01b0383169163ea4ba8eb91610ec29190600401612276565b602060405180830381865afa158015610edd573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d639190612301565b610f096121c7565b600194505050610f1c565b610f1c6121c7565b50600101610b52565b508015610f97578660800151602001516020015160200151831115610f8c5760405162461bcd60e51b815260206004820152601a60248201527f457863656564206d6178207472616e7366657220616d6f756e740000000000006044820152606401610266565b829350505050610fae565b866080015160200151602001516020015193505050505b9392505050565b46836101000151146110025760405162461bcd60e51b815260206004820152601660248201527557726f6e6720636861696e20696420666f722070617960501b6044820152606401610266565b60e08301516001600160a01b031630146110575760405162461bcd60e51b815260206004820152601660248201527557726f6e67207265736f6c76657220666f722070617960501b6044820152606401610266565b60a083015142908111156110c05760405162461bcd60e51b815260206004820152602a60248201527f50617373656420706179207265736f6c766520646561646c696e6520696e20636044820152696f6e64506179206d736760b01b6064820152608401610266565b5f6110cb8430611ba1565b5f80546040516304f61c0b60e31b815260048101849052929350909182916001600160a01b0316906327b0e058906024016040805180830381865afa158015611116573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061113a919061232b565b91509150805f148061114c5750808411155b6111a45760405162461bcd60e51b815260206004820152602360248201527f506173736564206f6e636861696e207265736f6c76652070617920646561646c604482015262696e6560e81b6064820152608401610266565b801561134e578185116111f95760405162461bcd60e51b815260206004820152601860248201527f4e657720616d6f756e74206973206e6f74206c617267657200000000000000006044820152606401610266565b866080015160200151602001516020015185036112b7575f54604051630e1e354960e41b81526004810188905260248101879052604481018690526001600160a01b039091169063e1e35490906064015f604051808303815f87803b158015611260575f5ffd5b505af1158015611272573d5f5f3e3d5ffd5b505060408051888152602081018890528693507fa87e293885636c5018108e8ee0e41d65206d1dfc0a9066f26f2a91a78b2beb179250015b60405180910390a261019e565b5f5460405163f8fb012f60e01b815260048101889052602481018790526001600160a01b039091169063f8fb012f906044015f604051808303815f87803b158015611300575f5ffd5b505af1158015611312573d5f5f3e3d5ffd5b505060408051888152602081018590528693507fa87e293885636c5018108e8ee0e41d65206d1dfc0a9066f26f2a91a78b2beb179250016112aa565b5f8760800151602001516020015160200151860361136d5750836113db565b61138a8860c00151866113809190612318565b8960a00151611b92565b90505f81116113db5760405162461bcd60e51b815260206004820152601960248201527f4e6577207265736f6c766520646561646c696e652069732030000000000000006044820152606401610266565b5f54604051630e1e354960e41b81526004810189905260248101889052604481018390526001600160a01b039091169063e1e35490906064015f604051808303815f87803b15801561142b575f5ffd5b505af115801561143d573d5f5f3e3d5ffd5b505060408051898152602081018590528793507fa87e293885636c5018108e8ee0e41d65206d1dfc0a9066f26f2a91a78b2beb1792500160405180910390a25050505050505050565b6114aa60405180606001604052806060815260200160608152602001606081525090565b604080518082019091525f808252602082018490525b6020820151518251101561154b576114d78261160d565b905080600a036114f1576114ea8261167c565b83526114c0565b8060120361150c576115028261167c565b60208401526114c0565b80601a036115275761151d8261167c565b60408401526114c0565b61154681600716600581111561153f5761153f6121b3565b839061171f565b6114c0565b5050919050565b604080518082018252606081525f6020808301829052835180850190945281845283018490529091905b6020820151518251101561154b576115938261160d565b905080600a036115ad576115a68261167c565b835261157c565b806012036115c8576115be82611bee565b602084015261157c565b6115e081600716600581111561153f5761153f6121b3565b61157c565b5f5f5f5f6115f38686611c44565b9250925092506116038282611c8d565b5090949350505050565b602080820151825181515f938301845b600a81101561004a57828410611631575f5ffd5b838201515f1a607f8116600783021b9690961795600190940193608081101561167357816009036116685760028110611668575f5ffd5b505050935250919050565b5060010161161d565b60605f6116888361160d565b90505f81845f015161169a9190612318565b90508360200151518111156116ad575f5ffd5b8167ffffffffffffffff8111156116c6576116c661220e565b6040519080825280601f01601f1916602001820160405280156116f0576020820181803683370190505b5060208086015186519295509181860191908301015f5b85811015611668578181015183820152602001611707565b5f816005811115611732576117326121b3565b03611745576117408261160d565b505050565b6002816005811115611759576117596121b3565b03611790575f6117688361160d565b905080835f0181815161177b9190612318565b90525060208301515183511115611740575f5ffd5b60018160058111156117a4576117a46121b3565b036117d4576008825f018181516117bb9190612318565b905250602082015151825111156117d0575f5ffd5b5050565b60058160058111156117e8576117e86121b3565b0361004a576004825f018181516117bb9190612318565b5f5f61180a8361160d565b905080601414611818575f5ffd5b825160208401515161182b826014612318565b1115611835575f5ffd5b6020808501518281019091015160601c9350611852826014612318565b909452509092915050565b61189c6040805160c08101909152805f81526020015f81526020015f6001600160a01b031681526020015f815260200160608152602001606081525090565b604080518082019091525f808252602082018490525b6020820151518251101561154b576118c98261160d565b90508060080361191b576118dc8261160d565b60028111156118ed576118ed6121b3565b83906002811115611900576119006121b3565b90816002811115611913576119136121b3565b9052506118b2565b806012036119365761192c82611d45565b60208401526118b2565b80601a0361195a57611947826117ff565b6001600160a01b031660408401526118b2565b806022036119755761196b82611d45565b60608401526118b2565b80602a03611990576119868261167c565b60808401526118b2565b806032036119ab576119a18261167c565b60a08401526118b2565b6119c381600716600581111561153f5761153f6121b3565b6118b2565b6119d06120f5565b604080518082019091525f808252602082018490525b6020820151518251101561154b576119fd8261160d565b905080600803611a4f57611a108261160d565b6005811115611a2157611a216121b3565b83906005811115611a3457611a346121b3565b90816005811115611a4757611a476121b3565b9052506119e6565b80601203611a7257611a68611a638361167c565b611d97565b60208401526119e6565b611a8a81600716600581111561153f5761153f6121b3565b6119e6565b5f600182516002811115611aa557611aa56121b3565b03611ab257506040015190565b600282516002811115611ac757611ac76121b3565b03611b42576001546060830151604051635c23bdf560e01b81526001600160a01b0390921691635c23bdf591611b039160040190815260200190565b602060405180830381865afa158015611b1e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a3919061234d565b60405162461bcd60e51b8152602060048201526016602482015275496e76616c696420636f6e646974696f6e207479706560501b6044820152606401610266565b5f828218828411028218610fae565b5f828218828410028218610fae565b5f8282604051602001611bd092919091825260601b6bffffffffffffffffffffffff1916602082015260340190565b60405160208183030381529060405280519060200120905092915050565b5f5f611bf98361160d565b90506020811115611c08575f5ffd5b82515f611c158383612318565b9050846020015151811115611c28575f5ffd5b602080860151929092018201519452036008029190911c919050565b5f5f5f8351604103611c7b576020840151604085015160608601515f1a611c6d88828585611e57565b955095509550505050611c86565b505081515f91506002905b9250925092565b5f826003811115611ca057611ca06121b3565b03611ca9575050565b6001826003811115611cbd57611cbd6121b3565b03611cdb5760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115611cef57611cef6121b3565b03611d105760405163fce698f760e01b815260048101829052602401610266565b6003826003811115611d2457611d246121b3565b036117d0576040516335e2f38360e21b815260048101829052602401610266565b5f5f611d508361160d565b905080602014611d5e575f5ffd5b82516020808501515190611d73908390612318565b1115611d7d575f5ffd5b602080850151828101820151945090611852908390612318565b604080516080810182525f81830181815260608301829052825282518084018452818152602080820183905280840191909152835180850190945281845283018490529091905b6020820151518251101561154b57611df58261160d565b905080600a03611e1757611e10611e0b8361167c565b611f1f565b8352611dde565b80601203611e3a57611e30611e2b8361167c565b611ff4565b6020840152611dde565b611e5281600716600581111561153f5761153f6121b3565b611dde565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115611e9057505f91506003905082611f15565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015611ee1573d5f5f3e3d5ffd5b5050604051601f1901519150506001600160a01b038116611f0c57505f925060019150829050611f15565b92505f91508190505b9450945094915050565b604080518082019091525f8082526020820152604080518082019091525f80825260208201849052505f5b6020820151518251101561154b57611f618261160d565b905080600803611fb357611f748261160d565b6002811115611f8557611f856121b3565b83906002811115611f9857611f986121b3565b90816002811115611fab57611fab6121b3565b905250611f4a565b80601203611fd757611fc4826117ff565b6001600160a01b03166020840152611f4a565b611fef81600716600581111561153f5761153f6121b3565b611f4a565b6040805180820182525f8082526020808301829052835180850190945281845283018490529091905b6020820151518251101561154b576120348261160d565b905080600a0361205757612047826117ff565b6001600160a01b0316835261201d565b806012036120725761206882611bee565b602084015261201d565b61208a81600716600581111561153f5761153f6121b3565b61201d565b6040518061012001604052805f81526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081526020016120ce6120f5565b81526020015f81526020015f81526020015f6001600160a01b031681526020015f81525090565b60408051808201909152805f8152602001612140604080516080810182525f818301818152606083018290528252825180840190935280835260208381019190915290919082015290565b905290565b5f5f60208385031215612156575f5ffd5b823567ffffffffffffffff81111561216c575f5ffd5b8301601f8101851361217c575f5ffd5b803567ffffffffffffffff811115612192575f5ffd5b8560208284010111156121a3575f5ffd5b6020919091019590945092505050565b634e487b7160e01b5f52602160045260245ffd5b634e487b7160e01b5f52600160045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b5f8261220957634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b6020808252600e908201526d57726f6e6720707265696d61676560901b604082015260600190565b5f6001820161226f5761226f6121db565b5060010190565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156122bb575f5ffd5b81518015158114610fae575f5ffd5b6020808252601a908201527f436f6e646974696f6e206973206e6f742066696e616c697a6564000000000000604082015260600190565b5f60208284031215612311575f5ffd5b5051919050565b808201808211156108a3576108a36121db565b5f5f6040838503121561233c575f5ffd5b505080516020909101519092909150565b5f6020828403121561235d575f5ffd5b81516001600160a01b0381168114610fae575f5ffdfea26469706673582212203f070bf1d575403cd87811f8ad219c23082bf0cf76c25ede8ec8f7d4f8ec140164736f6c634300081e0033",
}

PayResolverMetaData contains all meta data concerning the PayResolver contract.

Functions

This section is empty.

Types

type PayResolver

type PayResolver struct {
	PayResolverCaller     // Read-only binding to the contract
	PayResolverTransactor // Write-only binding to the contract
	PayResolverFilterer   // Log filterer for contract events
}

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

func DeployPayResolver

func DeployPayResolver(auth *bind.TransactOpts, backend bind.ContractBackend, _registryAddr common.Address, _virtResolverAddr common.Address) (common.Address, *types.Transaction, *PayResolver, error)

DeployPayResolver deploys a new Ethereum contract, binding an instance of PayResolver to it.

func NewPayResolver

func NewPayResolver(address common.Address, backend bind.ContractBackend) (*PayResolver, error)

NewPayResolver creates a new instance of PayResolver, bound to a specific deployed contract.

type PayResolverCaller

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

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

func NewPayResolverCaller

func NewPayResolverCaller(address common.Address, caller bind.ContractCaller) (*PayResolverCaller, error)

NewPayResolverCaller creates a new read-only instance of PayResolver, bound to a specific deployed contract.

func (*PayResolverCaller) PayRegistry

func (_PayResolver *PayResolverCaller) PayRegistry(opts *bind.CallOpts) (common.Address, error)

PayRegistry is a free data retrieval call binding the contract method 0x53fc513f.

Solidity: function payRegistry() view returns(address)

func (*PayResolverCaller) VirtResolver

func (_PayResolver *PayResolverCaller) VirtResolver(opts *bind.CallOpts) (common.Address, error)

VirtResolver is a free data retrieval call binding the contract method 0xead54c1b.

Solidity: function virtResolver() view returns(address)

type PayResolverCallerRaw

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

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

func (*PayResolverCallerRaw) Call

func (_PayResolver *PayResolverCallerRaw) 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 PayResolverCallerSession

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

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

func (*PayResolverCallerSession) PayRegistry

func (_PayResolver *PayResolverCallerSession) PayRegistry() (common.Address, error)

PayRegistry is a free data retrieval call binding the contract method 0x53fc513f.

Solidity: function payRegistry() view returns(address)

func (*PayResolverCallerSession) VirtResolver

func (_PayResolver *PayResolverCallerSession) VirtResolver() (common.Address, error)

VirtResolver is a free data retrieval call binding the contract method 0xead54c1b.

Solidity: function virtResolver() view returns(address)

type PayResolverFilterer

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

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

func NewPayResolverFilterer

func NewPayResolverFilterer(address common.Address, filterer bind.ContractFilterer) (*PayResolverFilterer, error)

NewPayResolverFilterer creates a new log filterer instance of PayResolver, bound to a specific deployed contract.

func (*PayResolverFilterer) FilterResolvePayment

func (_PayResolver *PayResolverFilterer) FilterResolvePayment(opts *bind.FilterOpts, payId [][32]byte) (*PayResolverResolvePaymentIterator, error)

FilterResolvePayment is a free log retrieval operation binding the contract event 0xa87e293885636c5018108e8ee0e41d65206d1dfc0a9066f26f2a91a78b2beb17.

Solidity: event ResolvePayment(bytes32 indexed payId, uint256 amount, uint256 resolveDeadline)

func (*PayResolverFilterer) ParseResolvePayment

func (_PayResolver *PayResolverFilterer) ParseResolvePayment(log types.Log) (*PayResolverResolvePayment, error)

ParseResolvePayment is a log parse operation binding the contract event 0xa87e293885636c5018108e8ee0e41d65206d1dfc0a9066f26f2a91a78b2beb17.

Solidity: event ResolvePayment(bytes32 indexed payId, uint256 amount, uint256 resolveDeadline)

func (*PayResolverFilterer) WatchResolvePayment

func (_PayResolver *PayResolverFilterer) WatchResolvePayment(opts *bind.WatchOpts, sink chan<- *PayResolverResolvePayment, payId [][32]byte) (event.Subscription, error)

WatchResolvePayment is a free log subscription operation binding the contract event 0xa87e293885636c5018108e8ee0e41d65206d1dfc0a9066f26f2a91a78b2beb17.

Solidity: event ResolvePayment(bytes32 indexed payId, uint256 amount, uint256 resolveDeadline)

type PayResolverRaw

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

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

func (*PayResolverRaw) Call

func (_PayResolver *PayResolverRaw) 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 (*PayResolverRaw) Transact

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

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

func (*PayResolverRaw) Transfer

func (_PayResolver *PayResolverRaw) 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 PayResolverResolvePayment

type PayResolverResolvePayment struct {
	PayId           [32]byte
	Amount          *big.Int
	ResolveDeadline *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

PayResolverResolvePayment represents a ResolvePayment event raised by the PayResolver contract.

type PayResolverResolvePaymentIterator

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

PayResolverResolvePaymentIterator is returned from FilterResolvePayment and is used to iterate over the raw logs and unpacked data for ResolvePayment events raised by the PayResolver contract.

func (*PayResolverResolvePaymentIterator) Close

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

func (*PayResolverResolvePaymentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PayResolverResolvePaymentIterator) Next

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

type PayResolverSession

type PayResolverSession struct {
	Contract     *PayResolver      // 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
}

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

func (*PayResolverSession) PayRegistry

func (_PayResolver *PayResolverSession) PayRegistry() (common.Address, error)

PayRegistry is a free data retrieval call binding the contract method 0x53fc513f.

Solidity: function payRegistry() view returns(address)

func (*PayResolverSession) ResolvePaymentByConditions

func (_PayResolver *PayResolverSession) ResolvePaymentByConditions(_resolvePayRequest []byte) (*types.Transaction, error)

ResolvePaymentByConditions is a paid mutator transaction binding the contract method 0x4367e45e.

Solidity: function resolvePaymentByConditions(bytes _resolvePayRequest) returns()

func (*PayResolverSession) ResolvePaymentByVouchedResult

func (_PayResolver *PayResolverSession) ResolvePaymentByVouchedResult(_vouchedPayResult []byte) (*types.Transaction, error)

ResolvePaymentByVouchedResult is a paid mutator transaction binding the contract method 0x5fff88c8.

Solidity: function resolvePaymentByVouchedResult(bytes _vouchedPayResult) returns()

func (*PayResolverSession) VirtResolver

func (_PayResolver *PayResolverSession) VirtResolver() (common.Address, error)

VirtResolver is a free data retrieval call binding the contract method 0xead54c1b.

Solidity: function virtResolver() view returns(address)

type PayResolverTransactor

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

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

func NewPayResolverTransactor

func NewPayResolverTransactor(address common.Address, transactor bind.ContractTransactor) (*PayResolverTransactor, error)

NewPayResolverTransactor creates a new write-only instance of PayResolver, bound to a specific deployed contract.

func (*PayResolverTransactor) ResolvePaymentByConditions

func (_PayResolver *PayResolverTransactor) ResolvePaymentByConditions(opts *bind.TransactOpts, _resolvePayRequest []byte) (*types.Transaction, error)

ResolvePaymentByConditions is a paid mutator transaction binding the contract method 0x4367e45e.

Solidity: function resolvePaymentByConditions(bytes _resolvePayRequest) returns()

func (*PayResolverTransactor) ResolvePaymentByVouchedResult

func (_PayResolver *PayResolverTransactor) ResolvePaymentByVouchedResult(opts *bind.TransactOpts, _vouchedPayResult []byte) (*types.Transaction, error)

ResolvePaymentByVouchedResult is a paid mutator transaction binding the contract method 0x5fff88c8.

Solidity: function resolvePaymentByVouchedResult(bytes _vouchedPayResult) returns()

type PayResolverTransactorRaw

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

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

func (*PayResolverTransactorRaw) Transact

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

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

func (*PayResolverTransactorRaw) Transfer

func (_PayResolver *PayResolverTransactorRaw) 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 PayResolverTransactorSession

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

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

func (*PayResolverTransactorSession) ResolvePaymentByConditions

func (_PayResolver *PayResolverTransactorSession) ResolvePaymentByConditions(_resolvePayRequest []byte) (*types.Transaction, error)

ResolvePaymentByConditions is a paid mutator transaction binding the contract method 0x4367e45e.

Solidity: function resolvePaymentByConditions(bytes _resolvePayRequest) returns()

func (*PayResolverTransactorSession) ResolvePaymentByVouchedResult

func (_PayResolver *PayResolverTransactorSession) ResolvePaymentByVouchedResult(_vouchedPayResult []byte) (*types.Transaction, error)

ResolvePaymentByVouchedResult is a paid mutator transaction binding the contract method 0x5fff88c8.

Solidity: function resolvePaymentByVouchedResult(bytes _vouchedPayResult) returns()

Jump to

Keyboard shortcuts

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