diff --git a/deployment/artifacts/lynx.json b/deployment/artifacts/lynx.json index b3652332..97af7c9b 100644 --- a/deployment/artifacts/lynx.json +++ b/deployment/artifacts/lynx.json @@ -2294,6 +2294,375 @@ } }, "80002": { + "BetaProgramInitiator": { + "address": "0xf47dde316D994a050b8b4e5986e0790309979697", + "abi": [ + { + "type": "constructor", + "stateMutability": "nonpayable", + "inputs": [ + { + "name": "_coordinator", + "type": "address", + "internalType": "contract Coordinator" + }, + { + "name": "_executor", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "AddressEmptyCode", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "AddressInsufficientBalance", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "FailedInnerCall", + "inputs": [] + }, + { + "type": "error", + "name": "SafeERC20FailedOperation", + "inputs": [ + { + "name": "token", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "event", + "name": "FailedRequestRefunded", + "inputs": [ + { + "name": "requestIndex", + "type": "uint256", + "internalType": "uint256", + "indexed": true + }, + { + "name": "refundAmount", + "type": "uint256", + "internalType": "uint256", + "indexed": false + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "RequestCanceled", + "inputs": [ + { + "name": "sender", + "type": "address", + "internalType": "address", + "indexed": true + }, + { + "name": "requestIndex", + "type": "uint256", + "internalType": "uint256", + "indexed": true + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "RequestExecuted", + "inputs": [ + { + "name": "requestIndex", + "type": "uint256", + "internalType": "uint256", + "indexed": true + }, + { + "name": "ritualId", + "type": "uint256", + "internalType": "uint256", + "indexed": true + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "RequestRegistered", + "inputs": [ + { + "name": "sender", + "type": "address", + "internalType": "address", + "indexed": true + }, + { + "name": "requestIndex", + "type": "uint256", + "internalType": "uint256", + "indexed": true + }, + { + "name": "providers", + "type": "address[]", + "internalType": "address[]", + "indexed": false + }, + { + "name": "authority", + "type": "address", + "internalType": "address", + "indexed": false + }, + { + "name": "duration", + "type": "uint32", + "internalType": "uint32", + "indexed": false + }, + { + "name": "accessController", + "type": "address", + "internalType": "contract IEncryptionAuthorizer", + "indexed": false + }, + { + "name": "payment", + "type": "uint256", + "internalType": "uint256", + "indexed": false + } + ], + "anonymous": false + }, + { + "type": "function", + "name": "NO_RITUAL", + "stateMutability": "view", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint32", + "internalType": "uint32" + } + ] + }, + { + "type": "function", + "name": "cancelInitiationRequest", + "stateMutability": "nonpayable", + "inputs": [ + { + "name": "requestIndex", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [] + }, + { + "type": "function", + "name": "coordinator", + "stateMutability": "view", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract Coordinator" + } + ] + }, + { + "type": "function", + "name": "currency", + "stateMutability": "view", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract IERC20" + } + ] + }, + { + "type": "function", + "name": "executeInitiationRequest", + "stateMutability": "nonpayable", + "inputs": [ + { + "name": "requestIndex", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [] + }, + { + "type": "function", + "name": "executor", + "stateMutability": "view", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "function", + "name": "getProviders", + "stateMutability": "view", + "inputs": [ + { + "name": "requestIndex", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "address[]", + "internalType": "address[]" + } + ] + }, + { + "type": "function", + "name": "getRequestsLength", + "stateMutability": "view", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "function", + "name": "refundFailedRequest", + "stateMutability": "nonpayable", + "inputs": [ + { + "name": "requestIndex", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [] + }, + { + "type": "function", + "name": "registerInitiationRequest", + "stateMutability": "nonpayable", + "inputs": [ + { + "name": "providers", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "authority", + "type": "address", + "internalType": "address" + }, + { + "name": "duration", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "accessController", + "type": "address", + "internalType": "contract IEncryptionAuthorizer" + } + ], + "outputs": [ + { + "name": "requestIndex", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "function", + "name": "requests", + "stateMutability": "view", + "inputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "authority", + "type": "address", + "internalType": "address" + }, + { + "name": "duration", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "accessController", + "type": "address", + "internalType": "contract IEncryptionAuthorizer" + }, + { + "name": "sender", + "type": "address", + "internalType": "address" + }, + { + "name": "ritualId", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "payment", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ], + "tx_hash": "0xbc06258dbf24b6da9d45619a3048e6894a2779a198d4b7e6cdc48470e8e93ee6", + "block_number": 5199800, + "deployer": "0x3B42d26E19FF860bC4dEbB920DD8caA53F93c600" + }, "Coordinator": { "address": "0xE9e94499bB0f67b9DBD75506ec1735486DE57770", "abi": [