@palindromepay/sdk 1.9.7 → 1.9.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ { "abi": [{ "type": "constructor", "inputs": [{ "name": "_escrowContract", "type": "address", "internalType": "address" }, { "name": "_escrowId", "type": "uint256", "internalType": "uint256" }], "stateMutability": "nonpayable" }, { "type": "function", "name": "DOMAIN_SEPARATOR", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" }, { "type": "function", "name": "escrowContract", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" }, { "type": "function", "name": "escrowId", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" }, { "type": "function", "name": "getAuthorizationDigest", "inputs": [{ "name": "participant", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" }, { "type": "function", "name": "getBalance", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" }, { "type": "function", "name": "getValidSignatureCount", "inputs": [], "outputs": [{ "name": "count", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" }, { "type": "function", "name": "isSignatureValid", "inputs": [{ "name": "participant", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" }, { "type": "function", "name": "withdraw", "inputs": [], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "withdrawn", "inputs": [], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" }, { "type": "event", "name": "Withdrawn", "inputs": [{ "name": "escrowId", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "recipient", "type": "address", "indexed": true, "internalType": "address" }, { "name": "netAmount", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "feeReceiver", "type": "address", "indexed": true, "internalType": "address" }, { "name": "feeAmount", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false }, { "type": "error", "name": "AlreadyWithdrawn", "inputs": [] }, { "type": "error", "name": "FeeReceiverZero", "inputs": [] }, { "type": "error", "name": "InsufficientSignatures", "inputs": [] }, { "type": "error", "name": "InvalidEscrowState", "inputs": [] }, { "type": "error", "name": "InvalidSignature", "inputs": [] }, { "type": "error", "name": "OnlyParticipant", "inputs": [] }, { "type": "error", "name": "SignatureLengthInvalid", "inputs": [] }, { "type": "error", "name": "SignatureSInvalid", "inputs": [] }, { "type": "error", "name": "SignatureVInvalid", "inputs": [] }, { "type": "error", "name": "TokenAddressZero", "inputs": [] }, { "type": "error", "name": "WalletNotEmpty", "inputs": [] }], "bytecode": { "object": "0x61010080604052346101ce57604081611633803803809161002082856101d2565b8339810103126101ce5780516001600160a01b038116918282036101ce57602001519160015f551561019b5760805260a0524660e0526040516100646040826101d2565b601381527f50616c696e64726f6d6550617957616c6c657400000000000000000000000000602090910152604080517f87935900cf85ca6189e663d7248e1662ff19d0d4c4fd1ac66e148650615f0137916100bf90826101d2565b600181526020810190603160f81b82525190206040519060208201927f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f8452604083015260608201524660808201523060a082015260a0815261012360c0826101d2565b51902060c052604051611429908161020a82396080518181816101b3015281816106990152818161073601528181610a0f0152610b20015260a0518181816101830152818161062c0152818161066e015281816109dc01528181610aec0152610d1b015260c05181610e79015260e05181610d9f0152f35b60405162461bcd60e51b815260206004820152600b60248201526a457363726f77207a65726f60a81b6044820152606490fd5b5f80fd5b601f909101601f19168101906001600160401b038211908210176101f557604052565b634e487b7160e01b5f52604160045260245ffdfe60806040526004361015610011575f80fd5b5f3560e01c806312065fe0146100a4578063145d07051461009f5780632a5851a21461009a5780633644e515146100955780633ccfd60b146100905780635753d9891461008b57806393e74d7f14610086578063c80ec522146100815763e42a96e71461007c575f80fd5b610721565b6106ff565b61064f565b610615565b61014d565b610133565b61010c565b6100db565b346100c6575f3660031901126100c65760206100be6109cd565b604051908152f35b5f80fd5b6001600160a01b038116036100c657565b346100c65760203660031901126100c65760206101026004356100fd816100ca565b610add565b6040519015158152f35b346100c65760203660031901126100c65760206100be60043561012e816100ca565b610cee565b346100c6575f3660031901126100c65760206100be610d9d565b346100c6575f3660031901126100c65760025f54146105d05760025f5560015460ff166105c157604051633e8cf2cb60e11b81527f0000000000000000000000000000000000000000000000000000000000000000600482018190526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000165f83602481845afa928315610412575f9361059d575b50610120830151916101fa83610c37565b61020383610c37565b6003831493841580610589575b80610575575b6105665780516001600160a01b0316156105575760208101805190919061024d906001600160a01b03165b6001600160a01b031690565b33141580610537575b80610517575b61050857600261026b82610ec2565b106104f957610281600160ff1981541617600155565b8051610295906001600160a01b0316610241565b6040516370a0823160e01b81523060048201526001600160a01b0382169790969193916020886024818c5afa978815610412575f986104d4575b506102d990610c37565b156104685750604081015160049291906020906001600160a01b03169560405194858092632cfc019d60e21b82525afa928315610412575f93610437575b506001600160a01b038316958615610428577f2b50bbeab304785e1247f1e22da0321897c428768d93e80ab1811e9baa9559019361036861037b926103626101808a96015160ff1690565b9061109c565b94819891928680610417575b5050610f59565b6040805195865260208601929092526001600160a01b031693a45b6040516370a0823160e01b815230600482015290602090829060249082905afa908115610412575f916103e3575b506103d4576103d260015f55565b005b631fea47ef60e01b5f5260045ffd5b610405915060203d60201161040b575b6103fd8183610779565b8101906109be565b5f6103c4565b503d6103f3565b6109b3565b6104219183610f59565b5f86610374565b630665334760e11b5f5260045ffd5b61045a91935060203d602011610461575b6104528183610779565b810190610c46565b915f610317565b503d610448565b515f9594507f2b50bbeab304785e1247f1e22da0321897c428768d93e80ab1811e9baa955901926104cc9250906104ab9086906001600160a01b03168093610f59565b604080519586525f60208701526001600160a01b0390911694918291820190565b0390a4610396565b6102d99198506104f29060203d60201161040b576103fd8183610779565b97906102cf565b633724e34360e11b5f5260045ffd5b630eebd6cd60e21b5f5260045ffd5b50606081015161052f906001600160a01b0316610241565b33141561025c565b50604081015161054f906001600160a01b0316610241565b331415610256565b6381c609f760e01b5f5260045ffd5b635448814d60e11b5f5260045ffd5b5061057f84610c37565b6005841415610216565b5061059384610c37565b6004841415610210565b6105ba9193503d805f833e6105b28183610779565b810190610847565b915f6101e9565b636507689f60e01b5f5260045ffd5b60405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606490fd5b346100c6575f3660031901126100c65760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b346100c6575f3660031901126100c657604051633e8cf2cb60e11b81527f000000000000000000000000000000000000000000000000000000000000000060048201525f816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa8015610412576106da915f916106e5575b50610ec2565b604051908152602090f35b6106f991503d805f833e6105b28183610779565b5f6106d4565b346100c6575f3660031901126100c657602060ff600154166040519015158152f35b346100c6575f3660031901126100c6576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761079b57604052565b610765565b604051906107b061020083610779565b565b51906107b0826100ca565b519060068210156100c657565b519081151582036100c657565b519060ff821682036100c657565b67ffffffffffffffff811161079b57601f01601f191660200190565b81601f820112156100c657805190610818826107e5565b926108266040519485610779565b828452602083830101116100c657815f9260208093018386015e8301015290565b6020818303126100c65780519067ffffffffffffffff82116100c65701610200818303126100c6576108776107a0565b91610881826107b2565b835261088f602083016107b2565b60208401526108a0604083016107b2565b60408401526108b1606083016107b2565b60608401526108c2608083016107b2565b608084015260a082015160a084015260c082015160c084015260e082015160e08401526101008201516101008401526108fe61012083016107bd565b61012084015261091161014083016107ca565b61014084015261092461016083016107ca565b61016084015261093761018083016107d7565b6101808401526101a082015167ffffffffffffffff81116100c6578161095e918401610801565b6101a08401526101c082015167ffffffffffffffff81116100c65781610985918401610801565b6101c08401526101e082015167ffffffffffffffff81116100c6576109aa9201610801565b6101e082015290565b6040513d5f823e3d90fd5b908160209103126100c6575190565b604051633e8cf2cb60e11b81527f000000000000000000000000000000000000000000000000000000000000000060048201525f816024816001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000165afa801561041257610a50915f91610ac3575b50516001600160a01b031690565b6001600160a01b03811615610abe57610a71906001600160a01b0316610241565b6040516370a0823160e01b815230600482015290602090829060249082905afa908115610412575f91610aa2575090565b610abb915060203d60201161040b576103fd8183610779565b90565b505f90565b610ad791503d805f833e6105b28183610779565b5f610a42565b604051633e8cf2cb60e11b81527f00000000000000000000000000000000000000000000000000000000000000006004820152905f826024816001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000165afa918215610412575f92610c07575b50602082018051909190610b6c906001600160a01b0316610241565b6001600160a01b03909116908103610b9e57506101c091909101519051610abb91906001600160a01b03165b90610c5b565b604083018051909250610bb9906001600160a01b0316610241565b8103610bdd57506101a091909101519051610abb91906001600160a01b0316610b98565b60608301516001600160a01b031691508114610bf95750505f90565b6101e0610abb920151610c5b565b610c1c9192503d805f833e6105b28183610779565b905f610b50565b634e487b7160e01b5f52602160045260245ffd5b60061115610c4157565b610c23565b908160209103126100c65751610abb816100ca565b6041815103610ce8576001600160a01b038216918215610ce157602082015191606060408201519101515f1a926fa2a8918ca85bafe22016d0b997e4df60600160ff1b038211610ccd57601b84141580610cd6575b610ccd57610cc993610cc461024194610cee565b611110565b1490565b50505050505f90565b50601c841415610cb0565b5050505f90565b50505f90565b60405160208101917f783cf3fdc83d5b0c9e236f4e0bfa8f022a2090d21a4c53f5f99df0d607781fa183527f0000000000000000000000000000000000000000000000000000000000000000604083015230606083015260018060a01b0316608082015260808152610d6160a082610779565b519020610d6c610d9d565b9060405190602082019261190160f01b84526022830152604282015260428152610d97606282610779565b51902090565b7f00000000000000000000000000000000000000000000000000000000000000004614610e77576040610e69610d97601360208451610ddc8682610779565b828152017214185b1a5b991c9bdb5954185e55d85b1b195d606a1b81522092600160208251610e0b8482610779565b828152603160f81b91019081522090517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201908152604082019590955260608101919091524660808201523060a082015291829060c0820190565b03601f198101835282610779565b7f000000000000000000000000000000000000000000000000000000000000000090565b634e487b7160e01b5f52601160045260245ffd5b5f198114610ebd5760010190565b610e9b565b6101c081015160208201515f939291610ee4916001600160a01b031690610c5b565b610f50575b610f056101a082015160018060a01b0360408401511690610c5b565b610f3b575b6101e0810151606090910151610f2b916001600160a01b0390911690610c5b565b610f3157565b90610abb90610eaf565b91610f48610f2b91610eaf565b929050610f0a565b60019250610ee9565b9161100d915f806107b09560405194602086019463a9059cbb60e01b865260018060a01b03166024870152604486015260448552610f98606486610779565b60018060a01b03169260405194610fb0604087610779565b602086527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65646020870152519082855af13d1561103b573d91610ff1836107e5565b92610fff6040519485610779565b83523d5f602085013e611381565b8051908115918215611021575b505061113b565b6110349250602080918301019101611127565b5f8061101a565b606091611381565b1561104a57565b60405162461bcd60e51b815260206004820152601860248201527f416d6f756e7420746f6f20736d616c6c20666f722066656500000000000000006044820152606490fd5b91908203918211610ebd57565b9060ff166002811115611107576001190160ff8111610ebd5760ff905b16604d8111610ebd57600a0a606482029082820460641483151715610ebd576110fd9161271090049080821061110057505b80926110f8818310611043565b61108f565b91565b90506110eb565b5060ff5f6110b9565b91610abb939161111f9361119a565b919091611215565b908160209103126100c657610abb906107ca565b1561114257565b60405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608490fd5b6fa2a8918ca85bafe22016d0b997e4df60600160ff1b038411611200576020935f9360ff60809460405194855216868401526040830152606082015282805260015afa15610412575f516001600160a01b038116156111f857905f90565b505f90600190565b505050505f90600390565b60051115610c4157565b61121e8161120b565b806112265750565b61122f8161120b565b6001810361127c5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606490fd5b6112858161120b565b600281036112d25760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606490fd5b806112de60039261120b565b146112e557565b60405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608490fd5b1561133c57565b60405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606490fd5b919290156113a15750815115611395575090565b610abb903b1515611335565b8251909150156113b45750805190602001fd5b604460209160405192839162461bcd60e51b83528160048401528051918291826024860152018484015e5f828201840152601f01601f19168101030190fdfea2646970667358221220c986b269d3d0aa0280d589aeaa8e8479cbebb05a5fe43a65602749ad8a69379364736f6c634300081d0033", "sourceMap": "1809:14124:1:-:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;1809:14124:1;;;;;;;;;;;1716:1:3;1809:14124:1;-1:-1:-1;1716:1:3;5805:29:1;1809:14124;;5860:32;;5902:20;;5952:13;5933:32;;1809:14124;;;;;;:::i;:::-;2257:109;;;;1809:14124;2257:109;;;;1809:14124;;;6726:39;;1809:14124;;;;:::i;:::-;;2257:109;;1809:14124;2257:109;;;-1:-1:-1;;;2257:109:1;;;6783:21;;1809:14124;;6658:222;1809:14124;6658:222;;2257:109;;;;1809:14124;2257:109;;;;;;;5952:13;5860:32;2257:109;;;6861:4;5902:20;2257:109;;;5902:20;6658:222;;;;;;:::i;:::-;2257:109;6635:255;;6658:222;5975:52;1809:14124;;;;;;;;5860:32;1809:14124;;;;;;;;;;;;;;;;;;;;;;;;;5902:20;1809:14124;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6658:222;1809:14124;;;;;5933:32;1809:14124;;;;;;;;;-1:-1:-1;;;1809:14124:1;;;;;;;;;;;;-1:-1:-1;;;1809:14124:1;;;;;;;;-1:-1:-1;1809:14124:1;;;;;;;-1:-1:-1;;1809:14124:1;;;;-1:-1:-1;;;;;1809:14124:1;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;1809:14124:1;;;;;-1:-1:-1;1809:14124:1", "linkReferences": {} }, "deployedBytecode": { "object": "0x60806040526004361015610011575f80fd5b5f3560e01c806312065fe0146100a4578063145d07051461009f5780632a5851a21461009a5780633644e515146100955780633ccfd60b146100905780635753d9891461008b57806393e74d7f14610086578063c80ec522146100815763e42a96e71461007c575f80fd5b610721565b6106ff565b61064f565b610615565b61014d565b610133565b61010c565b6100db565b346100c6575f3660031901126100c65760206100be6109cd565b604051908152f35b5f80fd5b6001600160a01b038116036100c657565b346100c65760203660031901126100c65760206101026004356100fd816100ca565b610add565b6040519015158152f35b346100c65760203660031901126100c65760206100be60043561012e816100ca565b610cee565b346100c6575f3660031901126100c65760206100be610d9d565b346100c6575f3660031901126100c65760025f54146105d05760025f5560015460ff166105c157604051633e8cf2cb60e11b81527f0000000000000000000000000000000000000000000000000000000000000000600482018190526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000165f83602481845afa928315610412575f9361059d575b50610120830151916101fa83610c37565b61020383610c37565b6003831493841580610589575b80610575575b6105665780516001600160a01b0316156105575760208101805190919061024d906001600160a01b03165b6001600160a01b031690565b33141580610537575b80610517575b61050857600261026b82610ec2565b106104f957610281600160ff1981541617600155565b8051610295906001600160a01b0316610241565b6040516370a0823160e01b81523060048201526001600160a01b0382169790969193916020886024818c5afa978815610412575f986104d4575b506102d990610c37565b156104685750604081015160049291906020906001600160a01b03169560405194858092632cfc019d60e21b82525afa928315610412575f93610437575b506001600160a01b038316958615610428577f2b50bbeab304785e1247f1e22da0321897c428768d93e80ab1811e9baa9559019361036861037b926103626101808a96015160ff1690565b9061109c565b94819891928680610417575b5050610f59565b6040805195865260208601929092526001600160a01b031693a45b6040516370a0823160e01b815230600482015290602090829060249082905afa908115610412575f916103e3575b506103d4576103d260015f55565b005b631fea47ef60e01b5f5260045ffd5b610405915060203d60201161040b575b6103fd8183610779565b8101906109be565b5f6103c4565b503d6103f3565b6109b3565b6104219183610f59565b5f86610374565b630665334760e11b5f5260045ffd5b61045a91935060203d602011610461575b6104528183610779565b810190610c46565b915f610317565b503d610448565b515f9594507f2b50bbeab304785e1247f1e22da0321897c428768d93e80ab1811e9baa955901926104cc9250906104ab9086906001600160a01b03168093610f59565b604080519586525f60208701526001600160a01b0390911694918291820190565b0390a4610396565b6102d99198506104f29060203d60201161040b576103fd8183610779565b97906102cf565b633724e34360e11b5f5260045ffd5b630eebd6cd60e21b5f5260045ffd5b50606081015161052f906001600160a01b0316610241565b33141561025c565b50604081015161054f906001600160a01b0316610241565b331415610256565b6381c609f760e01b5f5260045ffd5b635448814d60e11b5f5260045ffd5b5061057f84610c37565b6005841415610216565b5061059384610c37565b6004841415610210565b6105ba9193503d805f833e6105b28183610779565b810190610847565b915f6101e9565b636507689f60e01b5f5260045ffd5b60405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606490fd5b346100c6575f3660031901126100c65760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b346100c6575f3660031901126100c657604051633e8cf2cb60e11b81527f000000000000000000000000000000000000000000000000000000000000000060048201525f816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa8015610412576106da915f916106e5575b50610ec2565b604051908152602090f35b6106f991503d805f833e6105b28183610779565b5f6106d4565b346100c6575f3660031901126100c657602060ff600154166040519015158152f35b346100c6575f3660031901126100c6576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761079b57604052565b610765565b604051906107b061020083610779565b565b51906107b0826100ca565b519060068210156100c657565b519081151582036100c657565b519060ff821682036100c657565b67ffffffffffffffff811161079b57601f01601f191660200190565b81601f820112156100c657805190610818826107e5565b926108266040519485610779565b828452602083830101116100c657815f9260208093018386015e8301015290565b6020818303126100c65780519067ffffffffffffffff82116100c65701610200818303126100c6576108776107a0565b91610881826107b2565b835261088f602083016107b2565b60208401526108a0604083016107b2565b60408401526108b1606083016107b2565b60608401526108c2608083016107b2565b608084015260a082015160a084015260c082015160c084015260e082015160e08401526101008201516101008401526108fe61012083016107bd565b61012084015261091161014083016107ca565b61014084015261092461016083016107ca565b61016084015261093761018083016107d7565b6101808401526101a082015167ffffffffffffffff81116100c6578161095e918401610801565b6101a08401526101c082015167ffffffffffffffff81116100c65781610985918401610801565b6101c08401526101e082015167ffffffffffffffff81116100c6576109aa9201610801565b6101e082015290565b6040513d5f823e3d90fd5b908160209103126100c6575190565b604051633e8cf2cb60e11b81527f000000000000000000000000000000000000000000000000000000000000000060048201525f816024816001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000165afa801561041257610a50915f91610ac3575b50516001600160a01b031690565b6001600160a01b03811615610abe57610a71906001600160a01b0316610241565b6040516370a0823160e01b815230600482015290602090829060249082905afa908115610412575f91610aa2575090565b610abb915060203d60201161040b576103fd8183610779565b90565b505f90565b610ad791503d805f833e6105b28183610779565b5f610a42565b604051633e8cf2cb60e11b81527f00000000000000000000000000000000000000000000000000000000000000006004820152905f826024816001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000165afa918215610412575f92610c07575b50602082018051909190610b6c906001600160a01b0316610241565b6001600160a01b03909116908103610b9e57506101c091909101519051610abb91906001600160a01b03165b90610c5b565b604083018051909250610bb9906001600160a01b0316610241565b8103610bdd57506101a091909101519051610abb91906001600160a01b0316610b98565b60608301516001600160a01b031691508114610bf95750505f90565b6101e0610abb920151610c5b565b610c1c9192503d805f833e6105b28183610779565b905f610b50565b634e487b7160e01b5f52602160045260245ffd5b60061115610c4157565b610c23565b908160209103126100c65751610abb816100ca565b6041815103610ce8576001600160a01b038216918215610ce157602082015191606060408201519101515f1a926fa2a8918ca85bafe22016d0b997e4df60600160ff1b038211610ccd57601b84141580610cd6575b610ccd57610cc993610cc461024194610cee565b611110565b1490565b50505050505f90565b50601c841415610cb0565b5050505f90565b50505f90565b60405160208101917f783cf3fdc83d5b0c9e236f4e0bfa8f022a2090d21a4c53f5f99df0d607781fa183527f0000000000000000000000000000000000000000000000000000000000000000604083015230606083015260018060a01b0316608082015260808152610d6160a082610779565b519020610d6c610d9d565b9060405190602082019261190160f01b84526022830152604282015260428152610d97606282610779565b51902090565b7f00000000000000000000000000000000000000000000000000000000000000004614610e77576040610e69610d97601360208451610ddc8682610779565b828152017214185b1a5b991c9bdb5954185e55d85b1b195d606a1b81522092600160208251610e0b8482610779565b828152603160f81b91019081522090517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201908152604082019590955260608101919091524660808201523060a082015291829060c0820190565b03601f198101835282610779565b7f000000000000000000000000000000000000000000000000000000000000000090565b634e487b7160e01b5f52601160045260245ffd5b5f198114610ebd5760010190565b610e9b565b6101c081015160208201515f939291610ee4916001600160a01b031690610c5b565b610f50575b610f056101a082015160018060a01b0360408401511690610c5b565b610f3b575b6101e0810151606090910151610f2b916001600160a01b0390911690610c5b565b610f3157565b90610abb90610eaf565b91610f48610f2b91610eaf565b929050610f0a565b60019250610ee9565b9161100d915f806107b09560405194602086019463a9059cbb60e01b865260018060a01b03166024870152604486015260448552610f98606486610779565b60018060a01b03169260405194610fb0604087610779565b602086527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65646020870152519082855af13d1561103b573d91610ff1836107e5565b92610fff6040519485610779565b83523d5f602085013e611381565b8051908115918215611021575b505061113b565b6110349250602080918301019101611127565b5f8061101a565b606091611381565b1561104a57565b60405162461bcd60e51b815260206004820152601860248201527f416d6f756e7420746f6f20736d616c6c20666f722066656500000000000000006044820152606490fd5b91908203918211610ebd57565b9060ff166002811115611107576001190160ff8111610ebd5760ff905b16604d8111610ebd57600a0a606482029082820460641483151715610ebd576110fd9161271090049080821061110057505b80926110f8818310611043565b61108f565b91565b90506110eb565b5060ff5f6110b9565b91610abb939161111f9361119a565b919091611215565b908160209103126100c657610abb906107ca565b1561114257565b60405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608490fd5b6fa2a8918ca85bafe22016d0b997e4df60600160ff1b038411611200576020935f9360ff60809460405194855216868401526040830152606082015282805260015afa15610412575f516001600160a01b038116156111f857905f90565b505f90600190565b505050505f90600390565b60051115610c4157565b61121e8161120b565b806112265750565b61122f8161120b565b6001810361127c5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606490fd5b6112858161120b565b600281036112d25760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606490fd5b806112de60039261120b565b146112e557565b60405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608490fd5b1561133c57565b60405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606490fd5b919290156113a15750815115611395575090565b610abb903b1515611335565b8251909150156113b45750805190602001fd5b604460209160405192839162461bcd60e51b83528160048401528051918291826024860152018484015e5f828201840152601f01601f19168101030190fdfea2646970667358221220c986b269d3d0aa0280d589aeaa8e8479cbebb05a5fe43a65602749ad8a69379364736f6c634300081d0033", "sourceMap": "1809:14124:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;;;;;-1:-1:-1;;1809:14124:1;;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;1809:14124:1;;;;;:::o;:::-;;;;;;-1:-1:-1;;1809:14124:1;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;;1809:14124:1;;;;;14728:27;1809:14124;;;;;:::i;:::-;14728:27;:::i;1809:14124::-;;;;;;-1:-1:-1;;1809:14124:1;;;;;14397:18;;:::i;1809:14124::-;;;;;;-1:-1:-1;;1809:14124:1;;;;1759:1:3;1809:14124:1;;2468:19:3;1759:1;;;1809:14124:1;1759:1:3;11248:9:1;1809:14124;;;11244:40;;1809:14124;;-1:-1:-1;;;11399:26:1;;11416:8;1809:14124;11399:26;;1809:14124;;;-1:-1:-1;;;;;11334:14:1;1809:14124;-1:-1:-1;1809:14124:1;;;;11399:26;;;;;;;1809:14124;11399:26;;;1809:14124;11510:10;;;;1809:14124;;;;;:::i;:::-;;;;:::i;:::-;11556:29;11547:38;;;;;:92;;;1809:14124;11547:146;;;1809:14124;11530:226;;1809:14124;;-1:-1:-1;;;;;1809:14124:1;11804:24;11800:55;;11949:10;;;1809:14124;;11949:10;;;11935:24;;-1:-1:-1;;;;;1809:14124:1;;-1:-1:-1;;;;;1809:14124:1;;;11935:24;:10;:24;;:65;;;1809:14124;11935:107;;;1809:14124;11918:184;;1759:1:3;12168:27:1;;;:::i;:::-;12209:13;12205:50;;12317:16;11248:9;1809:14124;;;;;;11248:9;1809:14124;;12317:16;1809:14124;;12359:18;;-1:-1:-1;;;;;1809:14124:1;;;12359:18;1809:14124;;-1:-1:-1;;;12405:30:1;;12429:4;1809:14124;12405:30;;1809:14124;-1:-1:-1;;;;;1809:14124:1;;;;;;;;11949:10;1809:14124;;;;12405:30;;;;;;;1809:14124;12405:30;;;1809:14124;12500:17;1809:14124;12500:17;1809:14124;:::i;:::-;12532:38;;;-1:-1:-1;1809:14124:1;12647:11;;1809:14124;;;12647:11;;11949:10;;-1:-1:-1;;;;;1809:14124:1;;;;;;;;;;;12689:20;;;;;;;;;1809:14124;12689:20;;;12528:975;-1:-1:-1;;;;;;1809:14124:1;;;12727:19;;12723:49;;13124:59;12839:18;12812:46;13094:9;12839:18;1809:14124;12839:18;;;;1809:14124;;;;;;12812:46;;:::i;:::-;12921:13;;;;;;;12917:88;;12528:975;13094:9;;;:::i;:::-;1809:14124;;;;;;;;;;;;;-1:-1:-1;;;;;1809:14124:1;;13124:59;12528:975;1809:14124;;-1:-1:-1;;;13566:30:1;;12429:4;1809:14124;13566:30;;1809:14124;;11949:10;;1809:14124;;;;;;13566:30;;;;;;;1809:14124;13566:30;;;12528:975;13566:35;13562:64;;2292:1:3;1716;2809:22;1759:1;2629:209;2292:1;1809:14124:1;13562:64;13610:16;;;1809:14124;13610:16;1809:14124;;13610:16;13566:30;;;;11949:10;13566:30;11949:10;13566:30;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;:::i;12917:88::-;12980:9;;;;:::i;:::-;12917:88;;;;12723:49;12755:17;;;1809:14124;12755:17;1809:14124;;12755:17;12689:20;;;;;11949:10;12689:20;11949:10;12689:20;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;12528:975;1809:14124;;;;-1:-1:-1;13436:56:1;;;;-1:-1:-1;1809:14124:1;13406:9;;1809:14124;;-1:-1:-1;;;;;1809:14124:1;13348:13;;13406:9;:::i;:::-;1809:14124;;;;;;;;;;;-1:-1:-1;;;;;1809:14124:1;;;;;;;;;;;13436:56;;;;12528:975;;12405:30;1809:14124;12405:30;;;;;11949:10;12405:30;11949:10;12405:30;;;;;;;:::i;:::-;;;;;12205:50;12231:24;;;1809:14124;12231:24;1809:14124;;12231:24;11918:184;12074:17;;;1809:14124;12074:17;1809:14124;;12074:17;11935:107;-1:-1:-1;12030:12:1;;;1809:14124;12016:26;;-1:-1:-1;;;;;1809:14124:1;;;12016:26;11935:10;12016:26;;11935:107;;:65;-1:-1:-1;1809:14124:1;11989:11;;1809:14124;11975:25;;-1:-1:-1;;;;;1809:14124:1;;;11975:25;11935:10;11975:25;;11935:65;;11800:55;11837:18;;;1809:14124;11837:18;1809:14124;;11837:18;11530:226;11725:20;;;1809:14124;11725:20;1809:14124;;11725:20;11547:146;1809:14124;;;;:::i;:::-;11664:29;11655:38;;;11547:146;;:92;1809:14124;;;;:::i;:::-;;11601:38;;;11547:92;;11399:26;;;;;;;1809:14124;11399:26;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;11244:40;11266:18;;;1809:14124;11266:18;1809:14124;;11266:18;1759:1:3;1809:14124:1;;-1:-1:-1;;;1759:1:3;;;1809:14124:1;1759:1:3;;;;;;;;;;;;;;;;1809:14124:1;;;;;;-1:-1:-1;;1809:14124:1;;;;;;;2944:33;1809:14124;;;;;;;;;-1:-1:-1;;1809:14124:1;;;;;;-1:-1:-1;;;15043:50:1;;15084:8;1809:14124;15043:50;;1809:14124;-1:-1:-1;1809:14124:1;15043:50;1809:14124;15058:14;-1:-1:-1;;;;;1809:14124:1;15043:50;;;;;;15110:27;15043:50;1809:14124;15043:50;;;1809:14124;15110:27;;:::i;:::-;1809:14124;;;;;;;;15043:50;;;;;;1809:14124;15043:50;;;;;;:::i;:::-;;;;1809:14124;;;;;;-1:-1:-1;;1809:14124:1;;;;;;3434:21;1809:14124;;;;;;;;;;;;;;;;-1:-1:-1;;1809:14124:1;;;;;;2845:39;-1:-1:-1;;;;;1809:14124:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;;:::i;:::-;:::o;:::-;;;;;;:::i;:::-;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;1809:14124:1;;;;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;1809:14124:1;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;13928:282::-;1809:14124;;-1:-1:-1;;;14044:50:1;;14085:8;14044:50;;;1809:14124;-1:-1:-1;1809:14124:1;;;-1:-1:-1;;;;;14059:14:1;1809:14124;14044:50;;;;;;1809:14124;14044:50;1809:14124;14044:50;;;13928:282;-1:-1:-1;1809:14124:1;-1:-1:-1;;;;;1809:14124:1;;;;-1:-1:-1;;;;;1809:14124:1;;14109:24;14105:38;;14160:28;;-1:-1:-1;;;;;1809:14124:1;14160:18;1809:14124;14160:28;1809:14124;;-1:-1:-1;;;14160:43:1;;14197:4;14044:50;14160:43;;1809:14124;;14160:43;;1809:14124;;;;;;14160:43;;;;;;;1809:14124;14160:43;;;14153:50;13928:282;:::o;14160:43::-;;;;;;;;;;;;;;:::i;:::-;13928:282;:::o;14105:38::-;14135:8;1809:14124;14135:8;:::o;14044:50::-;;;;;;1809:14124;14044:50;;;;;;:::i;:::-;;;;15344:587;1809:14124;;-1:-1:-1;;;15482:50:1;;15523:8;15482:50;;;1809:14124;;-1:-1:-1;1809:14124:1;;;-1:-1:-1;;;;;15497:14:1;1809:14124;15482:50;;;;;;;1809:14124;15482:50;;;15344:587;-1:-1:-1;15562:10:1;;;1809:14124;;15562:10;;1809:14124;15547:25;;-1:-1:-1;;;;;1809:14124:1;;;15547:25;-1:-1:-1;;;;;1809:14124:1;;;;15547:25;;;;-1:-1:-1;15613:19:1;;;;;;1809:14124;;15595:50;;15613:19;-1:-1:-1;;;;;1809:14124:1;;15595:50;;:::i;15543:360::-;1809:14124;15681:11;;1809:14124;;15681:11;;-1:-1:-1;15666:26:1;;-1:-1:-1;;;;;1809:14124:1;;;15666:26;;;15681:11;;-1:-1:-1;15733:20:1;;;;;;1809:14124;;15715:52;;15733:20;-1:-1:-1;;;;;1809:14124:1;;;15662:241;15803:12;;;1809:14124;-1:-1:-1;;;;;1809:14124:1;;-1:-1:-1;15788:27:1;;15784:119;;15662:241;;1809:14124;15344:587;:::o;15784:119::-;15856:21;15838:54;15856:21;;;15838:54;:::i;15482:50::-;;;;;;;1809:14124;15482:50;;;;;;:::i;:::-;;;;;1809:14124;;;;;;;;;;;;;;-1:-1:-1;1809:14124:1;;;:::o;:::-;;:::i;:::-;;;;;;;;;;;;;:::i;7954:908::-;8114:2;1809:14124;;8094:22;8090:40;;-1:-1:-1;;;;;1809:14124:1;;;8144:28;;8140:46;;8253:164;;;;;;;;;;;;;1809:14124;8253:164;8503:91;-1:-1:-1;;;;;8503:91:1;;8486:131;;8665:2;8660:7;;;:18;;;7954:908;8656:36;;8828:27;8720:30;;8780;8720;;:::i;:::-;8780;:::i;8828:27::-;;7954:908;:::o;8656:36::-;8680:12;;;;;1809:14124;8680:12;:::o;8660:18::-;8671:7;8676:2;8671:7;;;8660:18;;8140:46;8174:12;;;1809:14124;8174:12;:::o;8090:40::-;8118:12;;1809:14124;8118:12;:::o;7264:416::-;1809:14124;;7395:157;;;1809:14124;2504:99;1809:14124;;7470:8;1809:14124;2504:99;;1809:14124;7504:4;2504:99;;;1809:14124;;;;;;;2504:99;;;1809:14124;2504:99;7395:157;;;;;;:::i;:::-;1809:14124;7372:190;;7632:18;;:::i;:::-;1809:14124;;;7603:60;7395:157;7603:60;;2504:99;;;;;;;;;1809:14124;2504:99;;;1809:14124;2504:99;7603:60;;;;;;:::i;:::-;1809:14124;7580:93;;7264:416;:::o;6333:213::-;6424:16;6407:13;:33;6403:95;;1809:14124;6658:222;;2257:109;;1809:14124;;;;;;:::i;:::-;2257:109;;;;-1:-1:-1;;;2257:109:1;;6726:39;2257:109;;;1809:14124;;;;;;:::i;:::-;2257:109;;;-1:-1:-1;;;2257:109:1;;;;;6783:21;1809:14124;;2257:109;;6658:222;;1809:14124;;;2257:109;;;1809:14124;;;;2257:109;;;1809:14124;;;;6407:13;2257:109;;;1809:14124;6861:4;2257:109;;;1809:14124;;;;2257:109;;;;;6658:222;;1809:14124;;6658:222;;;;;;:::i;6403:95::-;6463:24;6456:31;:::o;1809:14124::-;;;;;;;;;;;;;-1:-1:-1;;1809:14124:1;;;;;;;:::o;:::-;;:::i;9037:426::-;9191:19;;;;9212:10;;;1809:14124;;;9037:426;;9173:50;;-1:-1:-1;;;;;1809:14124:1;;9173:50;:::i;:::-;9169:88;;9037:426;9270:52;9288:20;;;;1809:14124;;;;;9310:11;;;1809:14124;;9270:52;;:::i;:::-;9266:90;;9037:426;9387:21;;;;9410:12;;;;1809:14124;9369:54;;-1:-1:-1;;;;;1809:14124:1;;;;9369:54;:::i;:::-;9365:92;;9037:426::o;9365:92::-;9439:7;;;;:::i;9266:90::-;9338:7;;9369:54;9338:7;;:::i;:::-;9266:90;;;;;9169:88;1809:14124;;-1:-1:-1;9169:88:1;;941:175:8;;5535:69:9;941:175:8;-1:-1:-1;941:175:8;5720:111;941:175;1809:14124:1;;1050:58:8;;;;1809:14124:1;;;;1050:58:8;;1809:14124:1;;;;;;1050:58:8;;;1809:14124:1;;;;;;1050:58:8;;;;;;:::i;:::-;1809:14124:1;;;;;;2257:109;1809:14124;;;;;;;:::i;:::-;1050:58:8;2257:109:1;;1809:14124;1050:58:8;1809:14124:1;;;5487:31:9;;;;;;1809:14124:1;;;;;2257:109;;;;:::i;:::-;1809:14124;;;;;;;:::i;:::-;2257:109;;1809:14124;-1:-1:-1;1050:58:8;1809:14124:1;;;5535:69:9;:::i;:::-;1809:14124:1;;5728:22:8;;;:56;;;;;1809:14124:1;5720:111:8;;;:::i;5728:56::-;5754:30;;;1050:58;5754:30;;;;;;;;:::i;:::-;5728:56;;;;1809:14124:1;;;5535:69:9;:::i;2194:6:1:-;;;;:::o;:::-;1809:14124;;-1:-1:-1;;;2194:6:1;;;;;;;;;;;1759:1:3;2194:6:1;1759:1:3;;;2194:6:1;;;;;;;;;;;;;;:::o;9974:620::-;;1809:14124;;10231:1;10215:17;;10231:1;;;-1:-1:-1;;1809:14124:1;;;;;;;10215:41;;1809:14124;;;;;;;;2142:3;;;;;;;;;;;;;;;10569:18;;2194:6;;;10434:48;:23;;;;;:48;;10422:60;10500:18;10492:55;10500:18;;;10492:55;:::i;:::-;10569:18;:::i;:::-;9974:620;:::o;10434:48::-;;;;;10215:41;;1809:14124;-1:-1:-1;10215:41:1;;6598:232:12;;6791:5;6598:232;;6744:25;6598:232;6744:25;:::i;:::-;6791:5;;;;:::i;1809:14124:1:-;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;-1:-1:-1;;;1809:14124:1;;;;;;;;;;;1759:1:3;1809:14124:1;1759:1:3;;;1809:14124:1;-1:-1:-1;;;1809:14124:1;;;;;;;5009:1456:12;-1:-1:-1;;;;;6008:79:12;;6004:161;;1809:14124:1;;-1:-1:-1;1809:14124:1;;;;;;;;;;;;;;;;;;;;;;6276:24:12;;;;;;;;;-1:-1:-1;6276:24:12;-1:-1:-1;;;;;1809:14124:1;;6314:20:12;6310:101;;6421:37;-1:-1:-1;5009:1456:12;:::o;6310:101::-;6350:50;-1:-1:-1;6350:50:12;6276:24;6350:50;:::o;6004:161::-;6103:51;;;;6119:1;6103:51;6123:30;6103:51;:::o;1809:14124:1:-;;-1:-1:-1;1809:14124:1;;;:::o;570:511:12:-;1809:14124:1;;;:::i;:::-;638:29:12;;;683:7;:::o;634:441::-;1809:14124:1;;;:::i;:::-;743:29:12;734:38;;743:29;;1809:14124:1;;-1:-1:-1;;;788:34:12;;1809:14124:1;788:34:12;;;1809:14124:1;;;;;1759:1:3;1809:14124:1;1759:1:3;;;1809:14124:1;;;788:34:12;730:345;1809:14124:1;;;:::i;:::-;852:35:12;843:44;;852:35;;1809:14124:1;;-1:-1:-1;;;903:41:12;;1809:14124:1;903:41:12;;;1809:14124:1;;;;;1759:1:3;1809:14124:1;1759:1:3;;;1809:14124:1;;;788:34:12;839:236;1809:14124:1;;974:30:12;1809:14124:1;;:::i;:::-;965:39:12;961:114;;570:511::o;961:114::-;1809:14124:1;;-1:-1:-1;;;1020:44:12;;1809:14124:1;1020:44:12;;;1809:14124:1;;;;;1759:1:3;1809:14124:1;1759:1:3;;;1809:14124:1;-1:-1:-1;;;1809:14124:1;;;;;;788:34:12;1809:14124:1;;;;:::o;:::-;;;-1:-1:-1;;;1809:14124:1;;;;;;;;;;;1759:1:3;1809:14124:1;1759:1:3;;;1809:14124:1;;;;7671:628:9;;;;7875:418;;;1809:14124:1;;;7906:22:9;7902:286;;8201:17;;:::o;7902:286::-;8113:60;;1702:19;:23;;8113:60;:::i;7875:418::-;1809:14124:1;;;;-1:-1:-1;8980:21:9;:17;;9152:142;;;;;;;8976:379;1759:1:3;1809:14124:1;;;;1759:1:3;;;;;;9324:20:9;;;;;;1809:14124:1;;;;;;;;;;1759:1:3;1809:14124:1;1759:1:3;;;1809:14124:1;9000:1:9;1809:14124:1;;;;;;;;-1:-1:-1;;1809:14124:1;;;9324:20:9;;;", "linkReferences": {}, "immutableReferences": { "3258": [{ "start": 435, "length": 32 }, { "start": 1689, "length": 32 }, { "start": 1846, "length": 32 }, { "start": 2575, "length": 32 }, { "start": 2848, "length": 32 }], "3261": [{ "start": 387, "length": 32 }, { "start": 1580, "length": 32 }, { "start": 1646, "length": 32 }, { "start": 2524, "length": 32 }, { "start": 2796, "length": 32 }, { "start": 3355, "length": 32 }], "3264": [{ "start": 3705, "length": 32 }], "3267": [{ "start": 3487, "length": 32 }] } }, "methodIdentifiers": { "DOMAIN_SEPARATOR()": "3644e515", "escrowContract()": "e42a96e7", "escrowId()": "5753d989", "getAuthorizationDigest(address)": "2a5851a2", "getBalance()": "12065fe0", "getValidSignatureCount()": "93e74d7f", "isSignatureValid(address)": "145d0705", "withdraw()": "3ccfd60b", "withdrawn()": "c80ec522" }, "rawMetadata": "{\"compiler\":{\"version\":\"0.8.29+commit.ab55807c\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_escrowContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_escrowId\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyWithdrawn\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeReceiverZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientSignatures\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidEscrowState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyParticipant\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SignatureLengthInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SignatureSInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SignatureVInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenAddressZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WalletNotEmpty\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"escrowId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"netAmount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"feeReceiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"}],\"name\":\"Withdrawn\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"escrowContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"escrowId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"participant\",\"type\":\"address\"}],\"name\":\"getAuthorizationDigest\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getValidSignatureCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"count\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"participant\",\"type\":\"address\"}],\"name\":\"isSignatureValid\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawn\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Palindrome Pay\",\"details\":\"Holds funds for a single escrow deal. Requires 2 of 3 participant signatures (buyer, seller, arbiter) to withdraw funds. Signatures are collected by the escrow contract during the deal lifecycle and cryptographically verified here at withdrawal time. The recipient and fee structure are determined by the escrow state: - COMPLETE: seller receives funds minus 1% fee - REFUNDED/CANCELED: buyer receives full refund (no fee)\",\"events\":{\"Withdrawn(uint256,address,uint256,address,uint256)\":{\"params\":{\"escrowId\":\"The escrow ID\",\"feeAmount\":\"Fee amount (0 for refunds)\",\"feeReceiver\":\"Address receiving the fee (address(0) if no fee)\",\"netAmount\":\"Amount sent to recipient\",\"recipient\":\"The address receiving the funds\"}}},\"kind\":\"dev\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"returns\":{\"_0\":\"The domain separator\"}},\"constructor\":{\"params\":{\"_escrowContract\":\"The escrow contract address\",\"_escrowId\":\"The escrow ID this wallet belongs to\"}},\"getAuthorizationDigest(address)\":{\"params\":{\"participant\":\"The participant's address\"},\"returns\":{\"_0\":\"The EIP-712 digest to sign\"}},\"getBalance()\":{\"returns\":{\"_0\":\"The token balance\"}},\"getValidSignatureCount()\":{\"returns\":{\"count\":\"Number of valid signatures (0-3)\"}},\"isSignatureValid(address)\":{\"params\":{\"participant\":\"The participant to check\"},\"returns\":{\"_0\":\"True if the participant's signature is valid\"}},\"withdraw()\":{\"details\":\"Requires: - Escrow state is COMPLETE, REFUNDED, or CANCELED - At least 2 of 3 valid participant signatures - Called by a participant (buyer, seller, or arbiter) For COMPLETE: seller receives amount minus 1% fee For REFUNDED/CANCELED: buyer receives full amount\"}},\"stateVariables\":{\"FEE_BPS\":{\"details\":\"1% fee (100 basis points)\"},\"INITIAL_CHAIN_ID\":{\"details\":\"Chain ID at deployment for domain separator validation\"},\"INITIAL_DOMAIN_SEPARATOR\":{\"details\":\"Cached domain separator for gas optimization\"},\"WALLET_AUTHORIZATION_TYPEHASH\":{\"details\":\"The message participants sign to authorize wallet operations\"}},\"title\":\"PalindromePayWallet\",\"version\":1},\"userdoc\":{\"errors\":{\"AlreadyWithdrawn()\":[{\"notice\":\"Thrown when funds have already been withdrawn\"}],\"FeeReceiverZero()\":[{\"notice\":\"Thrown when fee receiver address is zero\"}],\"InsufficientSignatures()\":[{\"notice\":\"Thrown when fewer than 2 valid signatures are present\"}],\"InvalidEscrowState()\":[{\"notice\":\"Thrown when escrow is not in a final state (COMPLETE, REFUNDED, CANCELED)\"}],\"InvalidSignature()\":[{\"notice\":\"Thrown when a signature is invalid\"}],\"OnlyParticipant()\":[{\"notice\":\"Thrown when caller is not a participant\"}],\"SignatureLengthInvalid()\":[{\"notice\":\"Thrown when signature length is not 65 bytes\"}],\"SignatureSInvalid()\":[{\"notice\":\"Thrown when signature 's' value is in upper half of curve\"}],\"SignatureVInvalid()\":[{\"notice\":\"Thrown when signature 'v' value is not 27 or 28\"}],\"TokenAddressZero()\":[{\"notice\":\"Thrown when token address is zero\"}],\"WalletNotEmpty()\":[{\"notice\":\"Thrown when wallet is not empty after withdrawal\"}]},\"events\":{\"Withdrawn(uint256,address,uint256,address,uint256)\":{\"notice\":\"Emitted when funds are withdrawn from the wallet\"}},\"kind\":\"user\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"notice\":\"Returns the EIP-712 domain separator\"},\"constructor\":{\"notice\":\"Creates a new escrow wallet\"},\"escrowContract()\":{\"notice\":\"The escrow contract that controls this wallet\"},\"escrowId()\":{\"notice\":\"The escrow ID this wallet belongs to\"},\"getAuthorizationDigest(address)\":{\"notice\":\"Returns the digest a participant should sign\"},\"getBalance()\":{\"notice\":\"Returns the current token balance in the wallet\"},\"getValidSignatureCount()\":{\"notice\":\"Returns the number of valid signatures currently stored\"},\"isSignatureValid(address)\":{\"notice\":\"Checks if a participant's stored signature is valid\"},\"withdraw()\":{\"notice\":\"Withdraws funds from the wallet\"},\"withdrawn()\":{\"notice\":\"Whether funds have been withdrawn\"}},\"notice\":\"2-of-3 multisig wallet for escrow fund release\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/PalindromePayWallet.sol\":\"PalindromePayWallet\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@openzeppelin/=node_modules/@openzeppelin/\",\":forge-std/=node_modules/forge-std/src/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"contracts/PalindromePayWallet.sol\":{\"keccak256\":\"0xdb4c31c76f3c04bbc29d5b6b7ba8c1418e2a5a95f987a86de7572c97f1df56bc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91faf310990de099b9a9e7f8684753df93eda94a1168444acd440aa8d3e65c8e\",\"dweb:/ipfs/QmXm56TwEYsgcNjqQ3PbjLwkx98Xi9ZSbVTi3r85F5BnR9\"]},\"node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol\":{\"keccak256\":\"0xa535a5df777d44e945dd24aa43a11e44b024140fc340ad0dfe42acf4002aade1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://41319e7f621f2dc3733511332c4fd032f8e32ad2aa7fd6f665c19741d9941a34\",\"dweb:/ipfs/QmcYR3bd862GD1Bc7jwrU9bGxrhUu5na1oP964bDCu2id1\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x287b55befed2961a7eabd7d7b1b2839cbca8a5b80ef8dcbb25ed3d4c2002c305\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bd39944e8fc06be6dbe2dd1d8449b5336e23c6a7ba3e8e9ae5ae0f37f35283f5\",\"dweb:/ipfs/QmPV3FGYjVwvKSgAXKUN3r9T9GwniZz83CxBpM7vyj2G53\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol\":{\"keccak256\":\"0xb264c03a3442eb37a68ad620cefd1182766b58bee6cec40343480392d6b14d69\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://28879d01fd22c07b44f006612775f8577defbe459cb01685c5e25cd518c91a71\",\"dweb:/ipfs/QmVgfkwv2Fxw6hhTcDUZhE7NkoSKjab3ipM7UaRbt6uXb5\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\":{\"keccak256\":\"0xabefac93435967b4d36a4fabcbdbb918d1f0b7ae3c3d85bc30923b326c927ed1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9d213d3befca47da33f6db0310826bcdb148299805c10d77175ecfe1d06a9a68\",\"dweb:/ipfs/QmRgCn6SP1hbBkExUADFuDo8xkT4UU47yjNF5FhCeRbQmS\"]},\"node_modules/@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x006dd67219697fe68d7fbfdea512e7c4cb64a43565ed86171d67e844982da6fa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2455248c8ddd9cc6a7af76a13973cddf222072427e7b0e2a7d1aff345145e931\",\"dweb:/ipfs/QmfYjnjRbWqYpuxurqveE6HtzsY1Xx323J428AKQgtBJZm\"]},\"node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x3088eb2868e8d13d89d16670b5f8612c4ab9ff8956272837d8e90106c59c14a0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b81d9ff6559ea5c47fc573e17ece6d9ba5d6839e213e6ebc3b4c5c8fe4199d7f\",\"dweb:/ipfs/QmPCW1bFisUzJkyjroY3yipwfism9RRCigCcK1hbXtVM8n\"]},\"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0x809bc3edb4bcbef8263fa616c1b60ee0004b50a8a1bfa164d8f57fd31f520c58\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8b93a1e39a4a19eba1600b92c96f435442db88cac91e315c8291547a2a7bcfe2\",\"dweb:/ipfs/QmTm34KVe6uZBZwq8dZDNWwPcm24qBJdxqL3rPxBJ4LrMv\"]},\"node_modules/@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xe4455ac1eb7fc497bb7402579e7b4d64d928b846fce7d2b6fde06d366f21c2b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cc8841b3cd48ad125e2f46323c8bad3aa0e88e399ec62acb9e57efa7e7c8058c\",\"dweb:/ipfs/QmSqE4mXHA2BXW58deDbXE8MTcsL5JSKNDbm23sVQxRLPS\"]},\"node_modules/@openzeppelin/contracts/utils/math/SignedMath.sol\":{\"keccak256\":\"0xf92515413956f529d95977adc9b0567d583c6203fc31ab1c23824c35187e3ddc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c50fcc459e49a9858b6d8ad5f911295cb7c9ab57567845a250bf0153f84a95c7\",\"dweb:/ipfs/QmcEW85JRzvDkQggxiBBLVAasXWdkhEysqypj9EaB6H2g6\"]}},\"version\":1}", "metadata": { "compiler": { "version": "0.8.29+commit.ab55807c" }, "language": "Solidity", "output": { "abi": [{ "inputs": [{ "internalType": "address", "name": "_escrowContract", "type": "address" }, { "internalType": "uint256", "name": "_escrowId", "type": "uint256" }], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "type": "error", "name": "AlreadyWithdrawn" }, { "inputs": [], "type": "error", "name": "FeeReceiverZero" }, { "inputs": [], "type": "error", "name": "InsufficientSignatures" }, { "inputs": [], "type": "error", "name": "InvalidEscrowState" }, { "inputs": [], "type": "error", "name": "InvalidSignature" }, { "inputs": [], "type": "error", "name": "OnlyParticipant" }, { "inputs": [], "type": "error", "name": "SignatureLengthInvalid" }, { "inputs": [], "type": "error", "name": "SignatureSInvalid" }, { "inputs": [], "type": "error", "name": "SignatureVInvalid" }, { "inputs": [], "type": "error", "name": "TokenAddressZero" }, { "inputs": [], "type": "error", "name": "WalletNotEmpty" }, { "inputs": [{ "internalType": "uint256", "name": "escrowId", "type": "uint256", "indexed": true }, { "internalType": "address", "name": "recipient", "type": "address", "indexed": true }, { "internalType": "uint256", "name": "netAmount", "type": "uint256", "indexed": false }, { "internalType": "address", "name": "feeReceiver", "type": "address", "indexed": true }, { "internalType": "uint256", "name": "feeAmount", "type": "uint256", "indexed": false }], "type": "event", "name": "Withdrawn", "anonymous": false }, { "inputs": [], "stateMutability": "view", "type": "function", "name": "DOMAIN_SEPARATOR", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }] }, { "inputs": [], "stateMutability": "view", "type": "function", "name": "escrowContract", "outputs": [{ "internalType": "address", "name": "", "type": "address" }] }, { "inputs": [], "stateMutability": "view", "type": "function", "name": "escrowId", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }] }, { "inputs": [{ "internalType": "address", "name": "participant", "type": "address" }], "stateMutability": "view", "type": "function", "name": "getAuthorizationDigest", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }] }, { "inputs": [], "stateMutability": "view", "type": "function", "name": "getBalance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }] }, { "inputs": [], "stateMutability": "view", "type": "function", "name": "getValidSignatureCount", "outputs": [{ "internalType": "uint256", "name": "count", "type": "uint256" }] }, { "inputs": [{ "internalType": "address", "name": "participant", "type": "address" }], "stateMutability": "view", "type": "function", "name": "isSignatureValid", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }] }, { "inputs": [], "stateMutability": "nonpayable", "type": "function", "name": "withdraw" }, { "inputs": [], "stateMutability": "view", "type": "function", "name": "withdrawn", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }] }], "devdoc": { "kind": "dev", "methods": { "DOMAIN_SEPARATOR()": { "returns": { "_0": "The domain separator" } }, "constructor": { "params": { "_escrowContract": "The escrow contract address", "_escrowId": "The escrow ID this wallet belongs to" } }, "getAuthorizationDigest(address)": { "params": { "participant": "The participant's address" }, "returns": { "_0": "The EIP-712 digest to sign" } }, "getBalance()": { "returns": { "_0": "The token balance" } }, "getValidSignatureCount()": { "returns": { "count": "Number of valid signatures (0-3)" } }, "isSignatureValid(address)": { "params": { "participant": "The participant to check" }, "returns": { "_0": "True if the participant's signature is valid" } }, "withdraw()": { "details": "Requires: - Escrow state is COMPLETE, REFUNDED, or CANCELED - At least 2 of 3 valid participant signatures - Called by a participant (buyer, seller, or arbiter) For COMPLETE: seller receives amount minus 1% fee For REFUNDED/CANCELED: buyer receives full amount" } }, "version": 1 }, "userdoc": { "kind": "user", "methods": { "DOMAIN_SEPARATOR()": { "notice": "Returns the EIP-712 domain separator" }, "constructor": { "notice": "Creates a new escrow wallet" }, "escrowContract()": { "notice": "The escrow contract that controls this wallet" }, "escrowId()": { "notice": "The escrow ID this wallet belongs to" }, "getAuthorizationDigest(address)": { "notice": "Returns the digest a participant should sign" }, "getBalance()": { "notice": "Returns the current token balance in the wallet" }, "getValidSignatureCount()": { "notice": "Returns the number of valid signatures currently stored" }, "isSignatureValid(address)": { "notice": "Checks if a participant's stored signature is valid" }, "withdraw()": { "notice": "Withdraws funds from the wallet" }, "withdrawn()": { "notice": "Whether funds have been withdrawn" } }, "version": 1 } }, "settings": { "remappings": ["@openzeppelin/=node_modules/@openzeppelin/", "forge-std/=node_modules/forge-std/src/", "hardhat/=node_modules/hardhat/"], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "bytecodeHash": "ipfs" }, "compilationTarget": { "contracts/PalindromePayWallet.sol": "PalindromePayWallet" }, "evmVersion": "cancun", "libraries": {}, "viaIR": true }, "sources": { "contracts/PalindromePayWallet.sol": { "keccak256": "0xdb4c31c76f3c04bbc29d5b6b7ba8c1418e2a5a95f987a86de7572c97f1df56bc", "urls": ["bzz-raw://91faf310990de099b9a9e7f8684753df93eda94a1168444acd440aa8d3e65c8e", "dweb:/ipfs/QmXm56TwEYsgcNjqQ3PbjLwkx98Xi9ZSbVTi3r85F5BnR9"], "license": "MIT" }, "node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol": { "keccak256": "0xa535a5df777d44e945dd24aa43a11e44b024140fc340ad0dfe42acf4002aade1", "urls": ["bzz-raw://41319e7f621f2dc3733511332c4fd032f8e32ad2aa7fd6f665c19741d9941a34", "dweb:/ipfs/QmcYR3bd862GD1Bc7jwrU9bGxrhUu5na1oP964bDCu2id1"], "license": "MIT" }, "node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol": { "keccak256": "0x287b55befed2961a7eabd7d7b1b2839cbca8a5b80ef8dcbb25ed3d4c2002c305", "urls": ["bzz-raw://bd39944e8fc06be6dbe2dd1d8449b5336e23c6a7ba3e8e9ae5ae0f37f35283f5", "dweb:/ipfs/QmPV3FGYjVwvKSgAXKUN3r9T9GwniZz83CxBpM7vyj2G53"], "license": "MIT" }, "node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol": { "keccak256": "0xb264c03a3442eb37a68ad620cefd1182766b58bee6cec40343480392d6b14d69", "urls": ["bzz-raw://28879d01fd22c07b44f006612775f8577defbe459cb01685c5e25cd518c91a71", "dweb:/ipfs/QmVgfkwv2Fxw6hhTcDUZhE7NkoSKjab3ipM7UaRbt6uXb5"], "license": "MIT" }, "node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol": { "keccak256": "0xabefac93435967b4d36a4fabcbdbb918d1f0b7ae3c3d85bc30923b326c927ed1", "urls": ["bzz-raw://9d213d3befca47da33f6db0310826bcdb148299805c10d77175ecfe1d06a9a68", "dweb:/ipfs/QmRgCn6SP1hbBkExUADFuDo8xkT4UU47yjNF5FhCeRbQmS"], "license": "MIT" }, "node_modules/@openzeppelin/contracts/utils/Address.sol": { "keccak256": "0x006dd67219697fe68d7fbfdea512e7c4cb64a43565ed86171d67e844982da6fa", "urls": ["bzz-raw://2455248c8ddd9cc6a7af76a13973cddf222072427e7b0e2a7d1aff345145e931", "dweb:/ipfs/QmfYjnjRbWqYpuxurqveE6HtzsY1Xx323J428AKQgtBJZm"], "license": "MIT" }, "node_modules/@openzeppelin/contracts/utils/Strings.sol": { "keccak256": "0x3088eb2868e8d13d89d16670b5f8612c4ab9ff8956272837d8e90106c59c14a0", "urls": ["bzz-raw://b81d9ff6559ea5c47fc573e17ece6d9ba5d6839e213e6ebc3b4c5c8fe4199d7f", "dweb:/ipfs/QmPCW1bFisUzJkyjroY3yipwfism9RRCigCcK1hbXtVM8n"], "license": "MIT" }, "node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol": { "keccak256": "0x809bc3edb4bcbef8263fa616c1b60ee0004b50a8a1bfa164d8f57fd31f520c58", "urls": ["bzz-raw://8b93a1e39a4a19eba1600b92c96f435442db88cac91e315c8291547a2a7bcfe2", "dweb:/ipfs/QmTm34KVe6uZBZwq8dZDNWwPcm24qBJdxqL3rPxBJ4LrMv"], "license": "MIT" }, "node_modules/@openzeppelin/contracts/utils/math/Math.sol": { "keccak256": "0xe4455ac1eb7fc497bb7402579e7b4d64d928b846fce7d2b6fde06d366f21c2b3", "urls": ["bzz-raw://cc8841b3cd48ad125e2f46323c8bad3aa0e88e399ec62acb9e57efa7e7c8058c", "dweb:/ipfs/QmSqE4mXHA2BXW58deDbXE8MTcsL5JSKNDbm23sVQxRLPS"], "license": "MIT" }, "node_modules/@openzeppelin/contracts/utils/math/SignedMath.sol": { "keccak256": "0xf92515413956f529d95977adc9b0567d583c6203fc31ab1c23824c35187e3ddc", "urls": ["bzz-raw://c50fcc459e49a9858b6d8ad5f911295cb7c9ab57567845a250bf0153f84a95c7", "dweb:/ipfs/QmcEW85JRzvDkQggxiBBLVAasXWdkhEysqypj9EaB6H2g6"], "license": "MIT" } }, "version": 1 }, "id": 1 }
@@ -0,0 +1,310 @@
1
+ {
2
+ "_format": "hh3-artifact-1",
3
+ "contractName": "USDT",
4
+ "sourceName": "contracts/USDT.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "string",
10
+ "name": "name",
11
+ "type": "string"
12
+ },
13
+ {
14
+ "internalType": "string",
15
+ "name": "symbol",
16
+ "type": "string"
17
+ },
18
+ {
19
+ "internalType": "uint256",
20
+ "name": "initialSupply",
21
+ "type": "uint256"
22
+ },
23
+ {
24
+ "internalType": "uint8",
25
+ "name": "decimals_",
26
+ "type": "uint8"
27
+ }
28
+ ],
29
+ "stateMutability": "nonpayable",
30
+ "type": "constructor"
31
+ },
32
+ {
33
+ "anonymous": false,
34
+ "inputs": [
35
+ {
36
+ "indexed": true,
37
+ "internalType": "address",
38
+ "name": "owner",
39
+ "type": "address"
40
+ },
41
+ {
42
+ "indexed": true,
43
+ "internalType": "address",
44
+ "name": "spender",
45
+ "type": "address"
46
+ },
47
+ {
48
+ "indexed": false,
49
+ "internalType": "uint256",
50
+ "name": "value",
51
+ "type": "uint256"
52
+ }
53
+ ],
54
+ "name": "Approval",
55
+ "type": "event"
56
+ },
57
+ {
58
+ "anonymous": false,
59
+ "inputs": [
60
+ {
61
+ "indexed": true,
62
+ "internalType": "address",
63
+ "name": "from",
64
+ "type": "address"
65
+ },
66
+ {
67
+ "indexed": true,
68
+ "internalType": "address",
69
+ "name": "to",
70
+ "type": "address"
71
+ },
72
+ {
73
+ "indexed": false,
74
+ "internalType": "uint256",
75
+ "name": "value",
76
+ "type": "uint256"
77
+ }
78
+ ],
79
+ "name": "Transfer",
80
+ "type": "event"
81
+ },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "address",
86
+ "name": "owner",
87
+ "type": "address"
88
+ },
89
+ {
90
+ "internalType": "address",
91
+ "name": "spender",
92
+ "type": "address"
93
+ }
94
+ ],
95
+ "name": "allowance",
96
+ "outputs": [
97
+ {
98
+ "internalType": "uint256",
99
+ "name": "",
100
+ "type": "uint256"
101
+ }
102
+ ],
103
+ "stateMutability": "view",
104
+ "type": "function"
105
+ },
106
+ {
107
+ "inputs": [
108
+ {
109
+ "internalType": "address",
110
+ "name": "spender",
111
+ "type": "address"
112
+ },
113
+ {
114
+ "internalType": "uint256",
115
+ "name": "amount",
116
+ "type": "uint256"
117
+ }
118
+ ],
119
+ "name": "approve",
120
+ "outputs": [
121
+ {
122
+ "internalType": "bool",
123
+ "name": "",
124
+ "type": "bool"
125
+ }
126
+ ],
127
+ "stateMutability": "nonpayable",
128
+ "type": "function"
129
+ },
130
+ {
131
+ "inputs": [
132
+ {
133
+ "internalType": "address",
134
+ "name": "account",
135
+ "type": "address"
136
+ }
137
+ ],
138
+ "name": "balanceOf",
139
+ "outputs": [
140
+ {
141
+ "internalType": "uint256",
142
+ "name": "",
143
+ "type": "uint256"
144
+ }
145
+ ],
146
+ "stateMutability": "view",
147
+ "type": "function"
148
+ },
149
+ {
150
+ "inputs": [],
151
+ "name": "decimals",
152
+ "outputs": [
153
+ {
154
+ "internalType": "uint8",
155
+ "name": "",
156
+ "type": "uint8"
157
+ }
158
+ ],
159
+ "stateMutability": "view",
160
+ "type": "function"
161
+ },
162
+ {
163
+ "inputs": [
164
+ {
165
+ "internalType": "address",
166
+ "name": "spender",
167
+ "type": "address"
168
+ },
169
+ {
170
+ "internalType": "uint256",
171
+ "name": "subtractedValue",
172
+ "type": "uint256"
173
+ }
174
+ ],
175
+ "name": "decreaseAllowance",
176
+ "outputs": [
177
+ {
178
+ "internalType": "bool",
179
+ "name": "",
180
+ "type": "bool"
181
+ }
182
+ ],
183
+ "stateMutability": "nonpayable",
184
+ "type": "function"
185
+ },
186
+ {
187
+ "inputs": [
188
+ {
189
+ "internalType": "address",
190
+ "name": "spender",
191
+ "type": "address"
192
+ },
193
+ {
194
+ "internalType": "uint256",
195
+ "name": "addedValue",
196
+ "type": "uint256"
197
+ }
198
+ ],
199
+ "name": "increaseAllowance",
200
+ "outputs": [
201
+ {
202
+ "internalType": "bool",
203
+ "name": "",
204
+ "type": "bool"
205
+ }
206
+ ],
207
+ "stateMutability": "nonpayable",
208
+ "type": "function"
209
+ },
210
+ {
211
+ "inputs": [],
212
+ "name": "name",
213
+ "outputs": [
214
+ {
215
+ "internalType": "string",
216
+ "name": "",
217
+ "type": "string"
218
+ }
219
+ ],
220
+ "stateMutability": "view",
221
+ "type": "function"
222
+ },
223
+ {
224
+ "inputs": [],
225
+ "name": "symbol",
226
+ "outputs": [
227
+ {
228
+ "internalType": "string",
229
+ "name": "",
230
+ "type": "string"
231
+ }
232
+ ],
233
+ "stateMutability": "view",
234
+ "type": "function"
235
+ },
236
+ {
237
+ "inputs": [],
238
+ "name": "totalSupply",
239
+ "outputs": [
240
+ {
241
+ "internalType": "uint256",
242
+ "name": "",
243
+ "type": "uint256"
244
+ }
245
+ ],
246
+ "stateMutability": "view",
247
+ "type": "function"
248
+ },
249
+ {
250
+ "inputs": [
251
+ {
252
+ "internalType": "address",
253
+ "name": "to",
254
+ "type": "address"
255
+ },
256
+ {
257
+ "internalType": "uint256",
258
+ "name": "amount",
259
+ "type": "uint256"
260
+ }
261
+ ],
262
+ "name": "transfer",
263
+ "outputs": [
264
+ {
265
+ "internalType": "bool",
266
+ "name": "",
267
+ "type": "bool"
268
+ }
269
+ ],
270
+ "stateMutability": "nonpayable",
271
+ "type": "function"
272
+ },
273
+ {
274
+ "inputs": [
275
+ {
276
+ "internalType": "address",
277
+ "name": "from",
278
+ "type": "address"
279
+ },
280
+ {
281
+ "internalType": "address",
282
+ "name": "to",
283
+ "type": "address"
284
+ },
285
+ {
286
+ "internalType": "uint256",
287
+ "name": "amount",
288
+ "type": "uint256"
289
+ }
290
+ ],
291
+ "name": "transferFrom",
292
+ "outputs": [
293
+ {
294
+ "internalType": "bool",
295
+ "name": "",
296
+ "type": "bool"
297
+ }
298
+ ],
299
+ "stateMutability": "nonpayable",
300
+ "type": "function"
301
+ }
302
+ ],
303
+ "bytecode": "0x6080604052346103e557610cc680380380610019816103e9565b9283398101906080818303126103e55780516001600160401b0381116103e5578261004591830161040e565b602082015190926001600160401b0382116103e55761006591830161040e565b906060604082015191015160ff81168091036103e55783516001600160401b0381116102f657600354600181811c911680156103db575b60208210146102d857601f8111610378575b50602094601f8211600114610315579481929394955f9261030a575b50508160011b915f199060031b1c1916176003555b82516001600160401b0381116102f657600454600181811c911680156102ec575b60208210146102d857601f8111610275575b506020601f821160011461021257819293945f92610207575b50508160011b915f199060031b1c1916176004555b60ff19600554161760055533156101c2576002548181018091116101ae57600255335f525f60205260405f208181540190556040519081525f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60203393a360405161086690816104608239f35b634e487b7160e01b5f52601160045260245ffd5b60405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606490fd5b015190505f8061012b565b601f1982169060045f52805f20915f5b81811061025d57509583600195969710610245575b505050811b01600455610140565b01515f1960f88460031b161c191690555f8080610237565b9192602060018192868b015181550194019201610222565b60045f527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b601f830160051c810191602084106102ce575b601f0160051c01905b8181106102c35750610112565b5f81556001016102b6565b90915081906102ad565b634e487b7160e01b5f52602260045260245ffd5b90607f1690610100565b634e487b7160e01b5f52604160045260245ffd5b015190505f806100ca565b601f1982169560035f52805f20915f5b88811061036057508360019596979810610348575b505050811b016003556100df565b01515f1960f88460031b161c191690555f808061033a565b91926020600181928685015181550194019201610325565b60035f527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b601f830160051c810191602084106103d1575b601f0160051c01905b8181106103c657506100ae565b5f81556001016103b9565b90915081906103b0565b90607f169061009c565b5f80fd5b6040519190601f01601f191682016001600160401b038111838210176102f657604052565b81601f820112156103e5578051906001600160401b0382116102f65761043d601f8301601f19166020016103e9565b92828452602083830101116103e557815f9260208093018386015e830101529056fe6080806040526004361015610012575f80fd5b5f3560e01c90816306fdde031461049157508063095ea7b31461046b57806318160ddd1461044e57806323b872dd14610391578063313ce56714610371578063395093511461030f57806370a08231146102d857806395d89b41146101bd578063a457c2d71461011a578063a9059cbb146100e95763dd62ed3e14610095575f80fd5b346100e55760403660031901126100e5576100ae61058a565b6100b66105a0565b6001600160a01b039182165f908152600160209081526040808320949093168252928352819020549051908152f35b5f80fd5b346100e55760403660031901126100e55761010f61010561058a565b60243590336106ba565b602060405160018152f35b346100e55760403660031901126100e55761013361058a565b60243590335f52600160205260405f2060018060a01b0382165f5260205260405f20549180831061016a5761010f920390336105b6565b60405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608490fd5b346100e5575f3660031901126100e5576040515f6004548060011c906001811680156102ce575b6020831081146102ba5782855290811561029e5750600114610249575b50819003601f01601f191681019067ffffffffffffffff8211818310176102355761023182918260405282610560565b0390f35b634e487b7160e01b5f52604160045260245ffd5b905060045f527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5f905b82821061028857506020915082010182610201565b6001816020925483858801015201910190610273565b90506020925060ff191682840152151560051b82010182610201565b634e487b7160e01b5f52602260045260245ffd5b91607f16916101e4565b346100e55760203660031901126100e5576001600160a01b036102f961058a565b165f525f602052602060405f2054604051908152f35b346100e55760403660031901126100e55761032861058a565b335f52600160205260405f2060018060a01b0382165f5260205260405f2054602435810180911161035d5761010f91336105b6565b634e487b7160e01b5f52601160045260245ffd5b346100e5575f3660031901126100e557602060ff60055416604051908152f35b346100e55760603660031901126100e5576103aa61058a565b6103b26105a0565b6001600160a01b0382165f9081526001602081815260408084203385529091529091205492604435929184016103ed575b61010f93506106ba565b828410610409576104048361010f950333836105b6565b6103e3565b60405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606490fd5b346100e5575f3660031901126100e5576020600254604051908152f35b346100e55760403660031901126100e55761010f61048761058a565b60243590336105b6565b346100e5575f3660031901126100e5575f6003548060011c90600181168015610556575b6020831081146102ba5782855290811561029e57506001146105015750819003601f01601f191681019067ffffffffffffffff8211818310176102355761023182918260405282610560565b905060035f527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5f905b82821061054057506020915082010182610201565b600181602092548385880101520191019061052b565b91607f16916104b5565b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b03821682036100e557565b602435906001600160a01b03821682036100e557565b6001600160a01b0316908115610669576001600160a01b03169182156106195760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591835f526001825260405f20855f5282528060405f2055604051908152a3565b60405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608490fd5b60405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b6001600160a01b03169081156107dd576001600160a01b031691821561078c57815f525f60205260405f205481811061073857817fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92602092855f525f84520360405f2055845f525f825260405f20818154019055604051908152a3565b60405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b60405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b60405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608490fdfea2646970667358221220bce923690e3dfb6fc75832e3d3634323afacc968229e16a652e326a713e1085564736f6c634300081d0033",
304
+ "deployedBytecode": "0x6080806040526004361015610012575f80fd5b5f3560e01c90816306fdde031461049157508063095ea7b31461046b57806318160ddd1461044e57806323b872dd14610391578063313ce56714610371578063395093511461030f57806370a08231146102d857806395d89b41146101bd578063a457c2d71461011a578063a9059cbb146100e95763dd62ed3e14610095575f80fd5b346100e55760403660031901126100e5576100ae61058a565b6100b66105a0565b6001600160a01b039182165f908152600160209081526040808320949093168252928352819020549051908152f35b5f80fd5b346100e55760403660031901126100e55761010f61010561058a565b60243590336106ba565b602060405160018152f35b346100e55760403660031901126100e55761013361058a565b60243590335f52600160205260405f2060018060a01b0382165f5260205260405f20549180831061016a5761010f920390336105b6565b60405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608490fd5b346100e5575f3660031901126100e5576040515f6004548060011c906001811680156102ce575b6020831081146102ba5782855290811561029e5750600114610249575b50819003601f01601f191681019067ffffffffffffffff8211818310176102355761023182918260405282610560565b0390f35b634e487b7160e01b5f52604160045260245ffd5b905060045f527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5f905b82821061028857506020915082010182610201565b6001816020925483858801015201910190610273565b90506020925060ff191682840152151560051b82010182610201565b634e487b7160e01b5f52602260045260245ffd5b91607f16916101e4565b346100e55760203660031901126100e5576001600160a01b036102f961058a565b165f525f602052602060405f2054604051908152f35b346100e55760403660031901126100e55761032861058a565b335f52600160205260405f2060018060a01b0382165f5260205260405f2054602435810180911161035d5761010f91336105b6565b634e487b7160e01b5f52601160045260245ffd5b346100e5575f3660031901126100e557602060ff60055416604051908152f35b346100e55760603660031901126100e5576103aa61058a565b6103b26105a0565b6001600160a01b0382165f9081526001602081815260408084203385529091529091205492604435929184016103ed575b61010f93506106ba565b828410610409576104048361010f950333836105b6565b6103e3565b60405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606490fd5b346100e5575f3660031901126100e5576020600254604051908152f35b346100e55760403660031901126100e55761010f61048761058a565b60243590336105b6565b346100e5575f3660031901126100e5575f6003548060011c90600181168015610556575b6020831081146102ba5782855290811561029e57506001146105015750819003601f01601f191681019067ffffffffffffffff8211818310176102355761023182918260405282610560565b905060035f527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5f905b82821061054057506020915082010182610201565b600181602092548385880101520191019061052b565b91607f16916104b5565b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b03821682036100e557565b602435906001600160a01b03821682036100e557565b6001600160a01b0316908115610669576001600160a01b03169182156106195760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591835f526001825260405f20855f5282528060405f2055604051908152a3565b60405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608490fd5b60405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b6001600160a01b03169081156107dd576001600160a01b031691821561078c57815f525f60205260405f205481811061073857817fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92602092855f525f84520360405f2055845f525f825260405f20818154019055604051908152a3565b60405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b60405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b60405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608490fdfea2646970667358221220bce923690e3dfb6fc75832e3d3634323afacc968229e16a652e326a713e1085564736f6c634300081d0033",
305
+ "linkReferences": {},
306
+ "deployedLinkReferences": {},
307
+ "immutableReferences": {},
308
+ "inputSourceName": "project/contracts/USDT.sol",
309
+ "buildInfoId": "solc-0_8_29-d5ce28419b2177623fb6ada2f553ffc06a4253d1"
310
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./types/escrow";
2
+ export * from "./PalindromePaySDK";
package/dist/index.js ADDED
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types/escrow"), exports);
18
+ __exportStar(require("./PalindromePaySDK"), exports);
@@ -0,0 +1,21 @@
1
+ /**
2
+ * ESCROW QUERIES
3
+ */
4
+ export declare const ALL_ESCROWS_QUERY: import("graphql/language/ast").DocumentNode;
5
+ export declare const ESCROWS_BY_BUYER_QUERY: import("graphql/language/ast").DocumentNode;
6
+ export declare const ESCROWS_BY_SELLER_QUERY: import("graphql/language/ast").DocumentNode;
7
+ export declare const ESCROW_DETAIL_QUERY: import("graphql/language/ast").DocumentNode;
8
+ /**
9
+ * DISPUTE QUERIES
10
+ */
11
+ export declare const DISPUTE_MESSAGES_BY_ESCROW_QUERY: import("graphql/language/ast").DocumentNode;
12
+ export declare const ALL_DISPUTED_ESCROWS_QUERY: import("graphql/language/ast").DocumentNode;
13
+ export declare const ESCROW_WITH_DISPUTE_DETAILS_QUERY: import("graphql/language/ast").DocumentNode;
14
+ export declare const DISPUTED_ESCROWS_BY_BUYER_QUERY: import("graphql/language/ast").DocumentNode;
15
+ export declare const DISPUTED_ESCROWS_BY_SELLER_QUERY: import("graphql/language/ast").DocumentNode;
16
+ export declare const ESCROWS_PENDING_ARBITER_REVIEW_QUERY: import("graphql/language/ast").DocumentNode;
17
+ export declare const DISPUTE_MESSAGES_BY_ROLE_QUERY: import("graphql/language/ast").DocumentNode;
18
+ export declare const RECENT_DISPUTE_ACTIVITY_QUERY: import("graphql/language/ast").DocumentNode;
19
+ export declare const HAS_SUBMITTED_EVIDENCE_QUERY: import("graphql/language/ast").DocumentNode;
20
+ export declare const DISPUTE_SUBMISSION_STATUS_QUERY: import("graphql/language/ast").DocumentNode;
21
+ export declare const DISPUTED_ESCROW_EVENTS_QUERY: import("graphql/language/ast").DocumentNode;