@enclave-e3/contracts 0.1.4 → 0.1.6
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.
- package/README.md +46 -2
- package/artifacts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.json +135 -0
- package/artifacts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/artifacts.d.ts +27 -0
- package/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy.json +77 -0
- package/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +126 -0
- package/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/artifacts.d.ts +43 -0
- package/artifacts/build-info/solc-0_8_28-5150b9e6b6cf4df4986fccba97bea37a16fdfebc.json +311 -0
- package/artifacts/build-info/solc-0_8_28-5150b9e6b6cf4df4986fccba97bea37a16fdfebc.output.json +1 -0
- package/artifacts/contracts/Enclave.sol/Enclave.json +239 -147
- package/artifacts/contracts/Enclave.sol/artifacts.d.ts +6 -6
- package/artifacts/contracts/interfaces/IBondingRegistry.sol/IBondingRegistry.json +881 -0
- package/artifacts/contracts/interfaces/IBondingRegistry.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/interfaces/ICiphernodeRegistry.sol/ICiphernodeRegistry.json +326 -10
- package/artifacts/contracts/interfaces/ICiphernodeRegistry.sol/artifacts.d.ts +2 -2
- package/artifacts/contracts/interfaces/IComputeProvider.sol/IComputeProvider.json +1 -1
- package/artifacts/contracts/interfaces/IComputeProvider.sol/artifacts.d.ts +1 -1
- package/artifacts/contracts/interfaces/IDecryptionVerifier.sol/IDecryptionVerifier.json +1 -1
- package/artifacts/contracts/interfaces/IDecryptionVerifier.sol/artifacts.d.ts +1 -1
- package/artifacts/contracts/interfaces/IE3Program.sol/IE3Program.json +21 -3
- package/artifacts/contracts/interfaces/IE3Program.sol/artifacts.d.ts +2 -2
- package/artifacts/contracts/interfaces/IEnclave.sol/IEnclave.json +247 -27
- package/artifacts/contracts/interfaces/IEnclave.sol/artifacts.d.ts +2 -2
- package/artifacts/contracts/interfaces/{IRegistryFilter.sol/IRegistryFilter.json → ISlashVerifier.sol/ISlashVerifier.json} +10 -10
- package/artifacts/contracts/interfaces/ISlashVerifier.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/interfaces/ISlashingManager.sol/ISlashingManager.json +759 -0
- package/artifacts/contracts/interfaces/ISlashingManager.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/lib/ExitQueueLib.sol/ExitQueueLib.json +116 -0
- package/artifacts/contracts/lib/ExitQueueLib.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/registry/BondingRegistry.sol/BondingRegistry.json +1217 -0
- package/artifacts/contracts/registry/BondingRegistry.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/registry/CiphernodeRegistryOwnable.sol/CiphernodeRegistryOwnable.json +351 -57
- package/artifacts/contracts/registry/CiphernodeRegistryOwnable.sol/artifacts.d.ts +6 -6
- package/artifacts/contracts/slashing/SlashingManager.sol/SlashingManager.json +1107 -0
- package/artifacts/contracts/slashing/SlashingManager.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistry.json +328 -12
- package/artifacts/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistryEmptyKey.json +328 -12
- package/artifacts/contracts/test/MockCiphernodeRegistry.sol/artifacts.d.ts +8 -8
- package/artifacts/contracts/test/MockComputeProvider.sol/MockComputeProvider.json +4 -4
- package/artifacts/contracts/test/MockComputeProvider.sol/artifacts.d.ts +4 -4
- package/artifacts/contracts/test/MockDecryptionVerifier.sol/MockDecryptionVerifier.json +3 -3
- package/artifacts/contracts/test/MockDecryptionVerifier.sol/artifacts.d.ts +3 -3
- package/artifacts/contracts/test/MockE3Program.sol/MockE3Program.json +26 -32
- package/artifacts/contracts/test/MockE3Program.sol/artifacts.d.ts +4 -4
- package/artifacts/contracts/test/MockSlashingVerifier.sol/MockSlashingVerifier.json +38 -0
- package/artifacts/contracts/test/MockSlashingVerifier.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/test/MockStableToken.sol/MockUSDC.json +425 -0
- package/artifacts/contracts/test/MockStableToken.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/token/EnclaveTicketToken.sol/EnclaveTicketToken.json +1222 -0
- package/artifacts/contracts/token/EnclaveTicketToken.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/token/EnclaveToken.sol/EnclaveToken.json +1460 -0
- package/artifacts/contracts/token/EnclaveToken.sol/artifacts.d.ts +27 -0
- package/artifacts/poseidon-solidity/PoseidonT3.sol/PoseidonT3.json +3 -3
- package/artifacts/poseidon-solidity/PoseidonT3.sol/artifacts.d.ts +3 -3
- package/contracts/Enclave.sol +230 -81
- package/contracts/interfaces/IBondingRegistry.sol +446 -0
- package/contracts/interfaces/ICiphernodeRegistry.sol +153 -9
- package/contracts/interfaces/IComputeProvider.sol +12 -2
- package/contracts/interfaces/IDecryptionVerifier.sol +11 -6
- package/contracts/interfaces/IE3.sol +21 -17
- package/contracts/interfaces/IE3Program.sol +30 -17
- package/contracts/interfaces/IEnclave.sol +95 -21
- package/contracts/interfaces/ISlashVerifier.sol +23 -0
- package/contracts/interfaces/ISlashingManager.sol +426 -0
- package/contracts/lib/ExitQueueLib.sol +490 -0
- package/contracts/registry/BondingRegistry.sol +737 -0
- package/contracts/registry/CiphernodeRegistryOwnable.sol +393 -26
- package/contracts/slashing/SlashingManager.sol +367 -0
- package/contracts/test/MockCiphernodeRegistry.sol +118 -24
- package/contracts/test/MockComputeProvider.sol +2 -2
- package/contracts/test/MockE3Program.sol +17 -14
- package/contracts/test/MockSlashingVerifier.sol +19 -0
- package/contracts/test/MockStableToken.sol +28 -0
- package/contracts/token/EnclaveTicketToken.sol +243 -0
- package/contracts/token/EnclaveToken.sol +267 -0
- package/dist/hardhat.config.d.ts.map +1 -1
- package/dist/hardhat.config.js +35 -16
- package/dist/ignition/modules/{mockInputValidator.d.ts → bondingRegistry.d.ts} +1 -1
- package/dist/ignition/modules/bondingRegistry.d.ts.map +1 -0
- package/dist/ignition/modules/bondingRegistry.js +35 -0
- package/dist/ignition/modules/ciphernodeRegistry.d.ts.map +1 -1
- package/dist/ignition/modules/ciphernodeRegistry.js +12 -2
- package/dist/ignition/modules/enclave.d.ts.map +1 -1
- package/dist/ignition/modules/enclave.js +16 -7
- package/dist/ignition/modules/{naiveRegistryFilter.d.ts → enclaveTicketToken.d.ts} +1 -1
- package/dist/ignition/modules/enclaveTicketToken.d.ts.map +1 -0
- package/dist/ignition/modules/enclaveTicketToken.js +17 -0
- package/dist/ignition/modules/enclaveToken.d.ts +3 -0
- package/dist/ignition/modules/enclaveToken.d.ts.map +1 -0
- package/dist/ignition/modules/{mockInputValidator.js → enclaveToken.js} +4 -4
- package/dist/ignition/modules/mockCiphernodeRegistry.d.ts.map +1 -1
- package/dist/ignition/modules/mockCiphernodeRegistry.js +0 -1
- package/dist/ignition/modules/mockCiphernodeRegistryEmptyKey.d.ts.map +1 -1
- package/dist/ignition/modules/mockCiphernodeRegistryEmptyKey.js +0 -1
- package/dist/ignition/modules/mockComputeProvider.d.ts.map +1 -1
- package/dist/ignition/modules/mockComputeProvider.js +0 -1
- package/dist/ignition/modules/mockDecryptionVerifier.d.ts.map +1 -1
- package/dist/ignition/modules/mockDecryptionVerifier.js +0 -1
- package/dist/ignition/modules/mockE3Program.d.ts.map +1 -1
- package/dist/ignition/modules/mockE3Program.js +1 -3
- package/dist/ignition/modules/mockSlashingVerifier.d.ts +3 -0
- package/dist/ignition/modules/mockSlashingVerifier.d.ts.map +1 -0
- package/dist/ignition/modules/mockSlashingVerifier.js +10 -0
- package/dist/ignition/modules/mockStableToken.d.ts +3 -0
- package/dist/ignition/modules/mockStableToken.d.ts.map +1 -0
- package/dist/ignition/modules/mockStableToken.js +11 -0
- package/dist/ignition/modules/poseidonT3.d.ts.map +1 -1
- package/dist/ignition/modules/poseidonT3.js +0 -1
- package/dist/ignition/modules/slashingManager.d.ts +3 -0
- package/dist/ignition/modules/slashingManager.d.ts.map +1 -0
- package/dist/ignition/modules/slashingManager.js +16 -0
- package/dist/scripts/cleanIgnitionState.d.ts +12 -0
- package/dist/scripts/cleanIgnitionState.d.ts.map +1 -0
- package/dist/scripts/cleanIgnitionState.js +41 -0
- package/dist/scripts/deployAndSave/bondingRegistry.d.ts +38 -0
- package/dist/scripts/deployAndSave/bondingRegistry.d.ts.map +1 -0
- package/dist/scripts/deployAndSave/bondingRegistry.js +133 -0
- package/dist/scripts/deployAndSave/ciphernodeRegistryOwnable.d.ts +11 -1
- package/dist/scripts/deployAndSave/ciphernodeRegistryOwnable.d.ts.map +1 -1
- package/dist/scripts/deployAndSave/ciphernodeRegistryOwnable.js +76 -19
- package/dist/scripts/deployAndSave/enclave.d.ts +16 -2
- package/dist/scripts/deployAndSave/enclave.d.ts.map +1 -1
- package/dist/scripts/deployAndSave/enclave.js +89 -22
- package/dist/scripts/deployAndSave/enclaveTicketToken.d.ts +20 -0
- package/dist/scripts/deployAndSave/enclaveTicketToken.d.ts.map +1 -0
- package/dist/scripts/deployAndSave/enclaveTicketToken.js +41 -0
- package/dist/scripts/deployAndSave/enclaveToken.d.ts +18 -0
- package/dist/scripts/deployAndSave/enclaveToken.d.ts.map +1 -0
- package/dist/scripts/deployAndSave/enclaveToken.js +57 -0
- package/dist/scripts/deployAndSave/mockComputeProvider.d.ts.map +1 -1
- package/dist/scripts/deployAndSave/mockComputeProvider.js +5 -5
- package/dist/scripts/deployAndSave/mockDecryptionVerifier.d.ts.map +1 -1
- package/dist/scripts/deployAndSave/mockDecryptionVerifier.js +5 -5
- package/dist/scripts/deployAndSave/mockProgram.d.ts +1 -2
- package/dist/scripts/deployAndSave/mockProgram.d.ts.map +1 -1
- package/dist/scripts/deployAndSave/mockProgram.js +7 -19
- package/dist/scripts/deployAndSave/mockStableToken.d.ts +18 -0
- package/dist/scripts/deployAndSave/mockStableToken.d.ts.map +1 -0
- package/dist/scripts/deployAndSave/mockStableToken.js +36 -0
- package/dist/scripts/deployAndSave/poseidonT3.d.ts +11 -0
- package/dist/scripts/deployAndSave/poseidonT3.d.ts.map +1 -0
- package/dist/scripts/deployAndSave/poseidonT3.js +41 -0
- package/dist/scripts/deployAndSave/slashingManager.d.ts +19 -0
- package/dist/scripts/deployAndSave/slashingManager.d.ts.map +1 -0
- package/dist/scripts/deployAndSave/slashingManager.js +38 -0
- package/dist/scripts/deployEnclave.d.ts.map +1 -1
- package/dist/scripts/deployEnclave.js +109 -23
- package/dist/scripts/deployMocks.d.ts +0 -1
- package/dist/scripts/deployMocks.d.ts.map +1 -1
- package/dist/scripts/deployMocks.js +3 -6
- package/dist/scripts/index.d.ts +7 -2
- package/dist/scripts/index.d.ts.map +1 -1
- package/dist/scripts/index.js +7 -2
- package/dist/scripts/proxy.d.ts +22 -0
- package/dist/scripts/proxy.d.ts.map +1 -0
- package/dist/scripts/proxy.js +36 -0
- package/dist/scripts/runVerification.d.ts +2 -0
- package/dist/scripts/runVerification.d.ts.map +1 -0
- package/dist/scripts/runVerification.js +16 -0
- package/dist/scripts/upgrade/bondingRegistry.d.ts +6 -0
- package/dist/scripts/upgrade/bondingRegistry.d.ts.map +1 -0
- package/dist/scripts/upgrade/bondingRegistry.js +49 -0
- package/dist/scripts/upgrade/ciphernodeRegistryOwnable.d.ts +6 -0
- package/dist/scripts/upgrade/ciphernodeRegistryOwnable.d.ts.map +1 -0
- package/dist/scripts/upgrade/ciphernodeRegistryOwnable.js +52 -0
- package/dist/scripts/upgrade/enclave.d.ts +6 -0
- package/dist/scripts/upgrade/enclave.d.ts.map +1 -0
- package/dist/scripts/upgrade/enclave.js +49 -0
- package/dist/scripts/utils.d.ts +51 -2
- package/dist/scripts/utils.d.ts.map +1 -1
- package/dist/scripts/utils.js +67 -4
- package/dist/scripts/verify.d.ts +6 -0
- package/dist/scripts/verify.d.ts.map +1 -0
- package/dist/scripts/verify.js +142 -0
- package/dist/tasks/ciphernode.d.ts +2 -0
- package/dist/tasks/ciphernode.d.ts.map +1 -1
- package/dist/tasks/ciphernode.js +290 -19
- package/dist/tasks/enclave.d.ts.map +1 -1
- package/dist/tasks/enclave.js +76 -31
- package/dist/test/Enclave.spec.js +377 -370
- package/dist/test/Registry/BondingRegistry.spec.d.ts +2 -0
- package/dist/test/Registry/BondingRegistry.spec.d.ts.map +1 -0
- package/dist/test/Registry/BondingRegistry.spec.js +684 -0
- package/dist/test/Registry/CiphernodeRegistryOwnable.spec.d.ts.map +1 -0
- package/dist/test/Registry/CiphernodeRegistryOwnable.spec.js +374 -0
- package/dist/test/Slashing/SlashingManager.spec.d.ts +2 -0
- package/dist/test/Slashing/SlashingManager.spec.d.ts.map +1 -0
- package/dist/test/Slashing/SlashingManager.spec.js +672 -0
- package/dist/types/@openzeppelin/contracts/index.d.ts +3 -0
- package/dist/types/@openzeppelin/contracts/index.d.ts.map +1 -0
- package/dist/types/@openzeppelin/contracts/proxy/index.d.ts +3 -0
- package/dist/types/@openzeppelin/contracts/proxy/index.d.ts.map +1 -0
- package/dist/types/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.d.ts +97 -0
- package/dist/types/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.d.ts.map +1 -0
- package/dist/types/{contracts/registry/NaiveRegistryFilter.js → @openzeppelin/contracts/proxy/transparent/ProxyAdmin.js} +0 -4
- package/dist/types/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy.d.ts +81 -0
- package/dist/types/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy.d.ts.map +1 -0
- package/dist/types/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy.js +12 -0
- package/dist/types/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.d.ts +52 -0
- package/dist/types/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.d.ts.map +1 -0
- package/dist/types/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.js +8 -0
- package/dist/types/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/index.d.ts +3 -0
- package/dist/types/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/index.d.ts.map +1 -0
- package/dist/types/@openzeppelin/contracts/proxy/transparent/index.d.ts +4 -0
- package/dist/types/@openzeppelin/contracts/proxy/transparent/index.d.ts.map +1 -0
- package/dist/types/@openzeppelin/index.d.ts +3 -0
- package/dist/types/@openzeppelin/index.d.ts.map +1 -0
- package/dist/types/contracts/Enclave.d.ts +126 -53
- package/dist/types/contracts/Enclave.d.ts.map +1 -1
- package/dist/types/contracts/Enclave.js +12 -0
- package/dist/types/contracts/index.d.ts +6 -0
- package/dist/types/contracts/index.d.ts.map +1 -1
- package/dist/types/contracts/interfaces/IBondingRegistry.d.ts +622 -0
- package/dist/types/contracts/interfaces/IBondingRegistry.d.ts.map +1 -0
- package/dist/types/contracts/interfaces/IBondingRegistry.js +24 -0
- package/dist/types/contracts/interfaces/ICiphernodeRegistry.d.ts +245 -15
- package/dist/types/contracts/interfaces/ICiphernodeRegistry.d.ts.map +1 -1
- package/dist/types/contracts/interfaces/ICiphernodeRegistry.js +16 -0
- package/dist/types/contracts/interfaces/IE3Program.d.ts +20 -10
- package/dist/types/contracts/interfaces/IE3Program.d.ts.map +1 -1
- package/dist/types/contracts/interfaces/IEnclave.d.ts +149 -20
- package/dist/types/contracts/interfaces/IEnclave.d.ts.map +1 -1
- package/dist/types/contracts/interfaces/IEnclave.js +12 -0
- package/dist/types/contracts/interfaces/{IRegistryFilter.d.ts → ISlashVerifier.d.ts} +16 -16
- package/dist/types/contracts/interfaces/ISlashVerifier.d.ts.map +1 -0
- package/dist/types/contracts/interfaces/ISlashVerifier.js +1 -0
- package/dist/types/contracts/interfaces/ISlashingManager.d.ts +384 -0
- package/dist/types/contracts/interfaces/ISlashingManager.d.ts.map +1 -0
- package/dist/types/contracts/interfaces/ISlashingManager.js +24 -0
- package/dist/types/contracts/interfaces/index.d.ts +3 -2
- package/dist/types/contracts/interfaces/index.d.ts.map +1 -1
- package/dist/types/contracts/lib/ExitQueueLib.d.ts +73 -0
- package/dist/types/contracts/lib/ExitQueueLib.d.ts.map +1 -0
- package/dist/types/contracts/lib/ExitQueueLib.js +12 -0
- package/dist/types/contracts/lib/index.d.ts +2 -0
- package/dist/types/contracts/lib/index.d.ts.map +1 -0
- package/dist/types/contracts/lib/index.js +1 -0
- package/dist/types/contracts/registry/BondingRegistry.d.ts +821 -0
- package/dist/types/contracts/registry/BondingRegistry.d.ts.map +1 -0
- package/dist/types/contracts/registry/BondingRegistry.js +44 -0
- package/dist/types/contracts/registry/CiphernodeRegistryOwnable.d.ts +194 -34
- package/dist/types/contracts/registry/CiphernodeRegistryOwnable.d.ts.map +1 -1
- package/dist/types/contracts/registry/CiphernodeRegistryOwnable.js +20 -0
- package/dist/types/contracts/registry/index.d.ts +1 -1
- package/dist/types/contracts/registry/index.d.ts.map +1 -1
- package/dist/types/contracts/slashing/SlashingManager.d.ts +592 -0
- package/dist/types/contracts/slashing/SlashingManager.d.ts.map +1 -0
- package/dist/types/contracts/slashing/SlashingManager.js +36 -0
- package/dist/types/contracts/slashing/index.d.ts +2 -0
- package/dist/types/contracts/slashing/index.d.ts.map +1 -0
- package/dist/types/contracts/slashing/index.js +1 -0
- package/dist/types/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistry.d.ts +247 -17
- package/dist/types/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistry.d.ts.map +1 -1
- package/dist/types/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistry.js +16 -0
- package/dist/types/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistryEmptyKey.d.ts +247 -17
- package/dist/types/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistryEmptyKey.d.ts.map +1 -1
- package/dist/types/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistryEmptyKey.js +16 -0
- package/dist/types/contracts/test/MockE3Program.d.ts +20 -14
- package/dist/types/contracts/test/MockE3Program.d.ts.map +1 -1
- package/dist/types/contracts/test/{MockInputValidator.d.ts → MockSlashingVerifier.d.ts} +15 -15
- package/dist/types/contracts/test/MockSlashingVerifier.d.ts.map +1 -0
- package/dist/types/contracts/test/MockSlashingVerifier.js +1 -0
- package/dist/types/contracts/test/MockStableToken.sol/MockUSDC.d.ts +227 -0
- package/dist/types/contracts/test/MockStableToken.sol/MockUSDC.d.ts.map +1 -0
- package/dist/types/contracts/test/MockStableToken.sol/MockUSDC.js +12 -0
- package/dist/types/contracts/test/MockStableToken.sol/index.d.ts +2 -0
- package/dist/types/contracts/test/MockStableToken.sol/index.d.ts.map +1 -0
- package/dist/types/contracts/test/MockStableToken.sol/index.js +1 -0
- package/dist/types/contracts/test/index.d.ts +3 -3
- package/dist/types/contracts/test/index.d.ts.map +1 -1
- package/dist/types/contracts/token/EnclaveTicketToken.d.ts +574 -0
- package/dist/types/contracts/token/EnclaveTicketToken.d.ts.map +1 -0
- package/dist/types/contracts/token/EnclaveTicketToken.js +24 -0
- package/dist/types/contracts/token/EnclaveToken.d.ts +775 -0
- package/dist/types/contracts/token/EnclaveToken.d.ts.map +1 -0
- package/dist/types/contracts/token/EnclaveToken.js +48 -0
- package/dist/types/contracts/token/index.d.ts +3 -0
- package/dist/types/contracts/token/index.d.ts.map +1 -0
- package/dist/types/contracts/token/index.js +1 -0
- package/dist/types/factories/@openzeppelin/contracts/index.d.ts +2 -0
- package/dist/types/factories/@openzeppelin/contracts/index.d.ts.map +1 -0
- package/dist/types/factories/@openzeppelin/contracts/index.js +4 -0
- package/dist/types/factories/@openzeppelin/contracts/proxy/index.d.ts +2 -0
- package/dist/types/factories/@openzeppelin/contracts/proxy/index.d.ts.map +1 -0
- package/dist/types/factories/@openzeppelin/contracts/proxy/index.js +4 -0
- package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.d.ts +118 -0
- package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.d.ts.map +1 -0
- package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.js +157 -0
- package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy__factory.d.ts +57 -0
- package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy__factory.d.ts.map +1 -0
- package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy__factory.js +78 -0
- package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy__factory.d.ts +105 -0
- package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy__factory.d.ts.map +1 -0
- package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy__factory.js +141 -0
- package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/index.d.ts +3 -0
- package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/index.d.ts.map +1 -0
- package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/index.js +5 -0
- package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/index.d.ts +3 -0
- package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/index.d.ts.map +1 -0
- package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/index.js +5 -0
- package/dist/types/factories/@openzeppelin/index.d.ts +2 -0
- package/dist/types/factories/@openzeppelin/index.d.ts.map +1 -0
- package/dist/types/factories/@openzeppelin/index.js +4 -0
- package/dist/types/factories/contracts/Enclave__factory.d.ts +190 -104
- package/dist/types/factories/contracts/Enclave__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/Enclave__factory.js +241 -134
- package/dist/types/factories/contracts/index.d.ts +3 -0
- package/dist/types/factories/contracts/index.d.ts.map +1 -1
- package/dist/types/factories/contracts/index.js +3 -0
- package/dist/types/factories/contracts/interfaces/IBondingRegistry__factory.d.ts +678 -0
- package/dist/types/factories/contracts/interfaces/IBondingRegistry__factory.d.ts.map +1 -0
- package/dist/types/factories/contracts/interfaces/IBondingRegistry__factory.js +882 -0
- package/dist/types/factories/contracts/interfaces/ICiphernodeRegistry__factory.d.ts +253 -9
- package/dist/types/factories/contracts/interfaces/ICiphernodeRegistry__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/interfaces/ICiphernodeRegistry__factory.js +325 -9
- package/dist/types/factories/contracts/interfaces/IE3Program__factory.d.ts +16 -2
- package/dist/types/factories/contracts/interfaces/IE3Program__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/interfaces/IE3Program__factory.js +20 -2
- package/dist/types/factories/contracts/interfaces/IEnclave__factory.d.ts +190 -24
- package/dist/types/factories/contracts/interfaces/IEnclave__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/interfaces/IEnclave__factory.js +246 -26
- package/dist/types/factories/contracts/interfaces/ISlashVerifier__factory.d.ts +26 -0
- package/dist/types/factories/contracts/interfaces/ISlashVerifier__factory.d.ts.map +1 -0
- package/dist/types/factories/contracts/interfaces/{IRegistryFilter__factory.js → ISlashVerifier__factory.js} +7 -7
- package/dist/types/factories/contracts/interfaces/ISlashingManager__factory.d.ts +594 -0
- package/dist/types/factories/contracts/interfaces/ISlashingManager__factory.d.ts.map +1 -0
- package/dist/types/factories/contracts/interfaces/ISlashingManager__factory.js +760 -0
- package/dist/types/factories/contracts/interfaces/index.d.ts +3 -2
- package/dist/types/factories/contracts/interfaces/index.d.ts.map +1 -1
- package/dist/types/factories/contracts/interfaces/index.js +3 -2
- package/dist/types/factories/contracts/lib/ExitQueueLib__factory.d.ts +107 -0
- package/dist/types/factories/contracts/lib/ExitQueueLib__factory.d.ts.map +1 -0
- package/dist/types/factories/contracts/lib/ExitQueueLib__factory.js +138 -0
- package/dist/types/factories/contracts/lib/index.d.ts +2 -0
- package/dist/types/factories/contracts/lib/index.d.ts.map +1 -0
- package/dist/types/factories/contracts/lib/index.js +4 -0
- package/dist/types/factories/contracts/registry/BondingRegistry__factory.d.ts +958 -0
- package/dist/types/factories/contracts/registry/BondingRegistry__factory.d.ts.map +1 -0
- package/dist/types/factories/contracts/registry/BondingRegistry__factory.js +1239 -0
- package/dist/types/factories/contracts/registry/CiphernodeRegistryOwnable__factory.d.ts +272 -40
- package/dist/types/factories/contracts/registry/CiphernodeRegistryOwnable__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/registry/CiphernodeRegistryOwnable__factory.js +343 -49
- package/dist/types/factories/contracts/registry/index.d.ts +1 -1
- package/dist/types/factories/contracts/registry/index.d.ts.map +1 -1
- package/dist/types/factories/contracts/registry/index.js +1 -1
- package/dist/types/factories/contracts/slashing/SlashingManager__factory.d.ts +879 -0
- package/dist/types/factories/contracts/slashing/SlashingManager__factory.d.ts.map +1 -0
- package/dist/types/factories/contracts/slashing/SlashingManager__factory.js +1129 -0
- package/dist/types/factories/contracts/slashing/index.d.ts +2 -0
- package/dist/types/factories/contracts/slashing/index.d.ts.map +1 -0
- package/dist/types/factories/contracts/slashing/index.js +4 -0
- package/dist/types/factories/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistryEmptyKey__factory.d.ts +254 -10
- package/dist/types/factories/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistryEmptyKey__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistryEmptyKey__factory.js +326 -10
- package/dist/types/factories/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistry__factory.d.ts +254 -10
- package/dist/types/factories/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistry__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistry__factory.js +326 -10
- package/dist/types/factories/contracts/test/MockComputeProvider__factory.d.ts +2 -2
- package/dist/types/factories/contracts/test/MockComputeProvider__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/test/MockComputeProvider__factory.js +2 -2
- package/dist/types/factories/contracts/test/MockDecryptionVerifier__factory.d.ts +1 -1
- package/dist/types/factories/contracts/test/MockDecryptionVerifier__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/test/MockDecryptionVerifier__factory.js +1 -1
- package/dist/types/factories/contracts/test/MockE3Program__factory.d.ts +23 -27
- package/dist/types/factories/contracts/test/MockE3Program__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/test/MockE3Program__factory.js +28 -34
- package/dist/types/factories/contracts/test/MockSlashingVerifier__factory.d.ts +43 -0
- package/dist/types/factories/contracts/test/MockSlashingVerifier__factory.d.ts.map +1 -0
- package/dist/types/factories/contracts/test/MockSlashingVerifier__factory.js +60 -0
- package/dist/types/factories/contracts/test/MockStableToken.sol/MockUSDC__factory.d.ts +338 -0
- package/dist/types/factories/contracts/test/MockStableToken.sol/MockUSDC__factory.d.ts.map +1 -0
- package/dist/types/factories/contracts/test/MockStableToken.sol/MockUSDC__factory.js +447 -0
- package/dist/types/factories/contracts/test/MockStableToken.sol/index.d.ts +2 -0
- package/dist/types/factories/contracts/test/MockStableToken.sol/index.d.ts.map +1 -0
- package/dist/types/factories/contracts/test/MockStableToken.sol/index.js +4 -0
- package/dist/types/factories/contracts/test/index.d.ts +2 -2
- package/dist/types/factories/contracts/test/index.d.ts.map +1 -1
- package/dist/types/factories/contracts/test/index.js +2 -2
- package/dist/types/factories/contracts/token/EnclaveTicketToken__factory.d.ts +894 -0
- package/dist/types/factories/contracts/token/EnclaveTicketToken__factory.d.ts.map +1 -0
- package/dist/types/factories/contracts/token/EnclaveTicketToken__factory.js +1175 -0
- package/dist/types/factories/contracts/token/EnclaveToken__factory.d.ts +1101 -0
- package/dist/types/factories/contracts/token/EnclaveToken__factory.d.ts.map +1 -0
- package/dist/types/factories/contracts/token/EnclaveToken__factory.js +1439 -0
- package/dist/types/factories/contracts/token/index.d.ts +3 -0
- package/dist/types/factories/contracts/token/index.d.ts.map +1 -0
- package/dist/types/factories/contracts/token/index.js +5 -0
- package/dist/types/factories/index.d.ts +1 -0
- package/dist/types/factories/index.d.ts.map +1 -1
- package/dist/types/factories/index.js +1 -0
- package/dist/types/factories/poseidon-solidity/PoseidonT3__factory.d.ts +1 -1
- package/dist/types/factories/poseidon-solidity/PoseidonT3__factory.d.ts.map +1 -1
- package/dist/types/factories/poseidon-solidity/PoseidonT3__factory.js +1 -1
- package/dist/types/index.d.ts +28 -12
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +13 -6
- package/package.json +30 -21
- package/LICENSE.md +0 -165
- package/artifacts/build-info/solc-0_8_27-9aea5e3f6e25811e781e96c22e8edaf1eb1a01c5.json +0 -130
- package/artifacts/build-info/solc-0_8_27-9aea5e3f6e25811e781e96c22e8edaf1eb1a01c5.output.json +0 -1
- package/artifacts/contracts/interfaces/IInputValidator.sol/IInputValidator.json +0 -38
- package/artifacts/contracts/interfaces/IInputValidator.sol/artifacts.d.ts +0 -27
- package/artifacts/contracts/interfaces/IRegistryFilter.sol/artifacts.d.ts +0 -27
- package/artifacts/contracts/registry/NaiveRegistryFilter.sol/NaiveRegistryFilter.json +0 -309
- package/artifacts/contracts/registry/NaiveRegistryFilter.sol/artifacts.d.ts +0 -27
- package/artifacts/contracts/test/MockInputValidator.sol/MockInputValidator.json +0 -43
- package/artifacts/contracts/test/MockInputValidator.sol/artifacts.d.ts +0 -27
- package/artifacts/contracts/test/MockRegistryFilter.sol/IRegistry.json +0 -37
- package/artifacts/contracts/test/MockRegistryFilter.sol/MockNaiveRegistryFilter.json +0 -262
- package/artifacts/contracts/test/MockRegistryFilter.sol/artifacts.d.ts +0 -43
- package/contracts/interfaces/IInputValidator.sol +0 -18
- package/contracts/interfaces/IRegistryFilter.sol +0 -13
- package/contracts/registry/NaiveRegistryFilter.sol +0 -124
- package/contracts/test/MockInputValidator.sol +0 -29
- package/contracts/test/MockRegistryFilter.sol +0 -117
- package/dist/ignition/modules/mockInputValidator.d.ts.map +0 -1
- package/dist/ignition/modules/naiveRegistryFilter.d.ts.map +0 -1
- package/dist/ignition/modules/naiveRegistryFilter.js +0 -16
- package/dist/scripts/deployAndSave/mockInputValidator.d.ts +0 -6
- package/dist/scripts/deployAndSave/mockInputValidator.d.ts.map +0 -1
- package/dist/scripts/deployAndSave/mockInputValidator.js +0 -18
- package/dist/scripts/deployAndSave/naiveRegistryFilter.d.ts +0 -11
- package/dist/scripts/deployAndSave/naiveRegistryFilter.d.ts.map +0 -1
- package/dist/scripts/deployAndSave/naiveRegistryFilter.js +0 -41
- package/dist/test/CiphernodeRegistry/CiphernodeRegistryOwnable.spec.d.ts.map +0 -1
- package/dist/test/CiphernodeRegistry/CiphernodeRegistryOwnable.spec.js +0 -279
- package/dist/test/CiphernodeRegistry/NaiveRegistryFilter.spec.d.ts +0 -2
- package/dist/test/CiphernodeRegistry/NaiveRegistryFilter.spec.d.ts.map +0 -1
- package/dist/test/CiphernodeRegistry/NaiveRegistryFilter.spec.js +0 -160
- package/dist/types/contracts/interfaces/IInputValidator.d.ts +0 -36
- package/dist/types/contracts/interfaces/IInputValidator.d.ts.map +0 -1
- package/dist/types/contracts/interfaces/IRegistryFilter.d.ts.map +0 -1
- package/dist/types/contracts/registry/NaiveRegistryFilter.d.ts +0 -187
- package/dist/types/contracts/registry/NaiveRegistryFilter.d.ts.map +0 -1
- package/dist/types/contracts/test/MockInputValidator.d.ts.map +0 -1
- package/dist/types/contracts/test/MockRegistryFilter.sol/IRegistry.d.ts +0 -38
- package/dist/types/contracts/test/MockRegistryFilter.sol/IRegistry.d.ts.map +0 -1
- package/dist/types/contracts/test/MockRegistryFilter.sol/MockNaiveRegistryFilter.d.ts +0 -163
- package/dist/types/contracts/test/MockRegistryFilter.sol/MockNaiveRegistryFilter.d.ts.map +0 -1
- package/dist/types/contracts/test/MockRegistryFilter.sol/MockNaiveRegistryFilter.js +0 -8
- package/dist/types/contracts/test/MockRegistryFilter.sol/index.d.ts +0 -3
- package/dist/types/contracts/test/MockRegistryFilter.sol/index.d.ts.map +0 -1
- package/dist/types/factories/contracts/interfaces/IInputValidator__factory.d.ts +0 -26
- package/dist/types/factories/contracts/interfaces/IInputValidator__factory.d.ts.map +0 -1
- package/dist/types/factories/contracts/interfaces/IInputValidator__factory.js +0 -39
- package/dist/types/factories/contracts/interfaces/IRegistryFilter__factory.d.ts +0 -26
- package/dist/types/factories/contracts/interfaces/IRegistryFilter__factory.d.ts.map +0 -1
- package/dist/types/factories/contracts/registry/NaiveRegistryFilter__factory.d.ts +0 -251
- package/dist/types/factories/contracts/registry/NaiveRegistryFilter__factory.d.ts.map +0 -1
- package/dist/types/factories/contracts/registry/NaiveRegistryFilter__factory.js +0 -331
- package/dist/types/factories/contracts/test/MockInputValidator__factory.d.ts +0 -47
- package/dist/types/factories/contracts/test/MockInputValidator__factory.d.ts.map +0 -1
- package/dist/types/factories/contracts/test/MockInputValidator__factory.js +0 -65
- package/dist/types/factories/contracts/test/MockRegistryFilter.sol/IRegistry__factory.d.ts +0 -26
- package/dist/types/factories/contracts/test/MockRegistryFilter.sol/IRegistry__factory.d.ts.map +0 -1
- package/dist/types/factories/contracts/test/MockRegistryFilter.sol/IRegistry__factory.js +0 -38
- package/dist/types/factories/contracts/test/MockRegistryFilter.sol/MockNaiveRegistryFilter__factory.d.ts +0 -216
- package/dist/types/factories/contracts/test/MockRegistryFilter.sol/MockNaiveRegistryFilter__factory.d.ts.map +0 -1
- package/dist/types/factories/contracts/test/MockRegistryFilter.sol/MockNaiveRegistryFilter__factory.js +0 -284
- package/dist/types/factories/contracts/test/MockRegistryFilter.sol/index.d.ts +0 -3
- package/dist/types/factories/contracts/test/MockRegistryFilter.sol/index.d.ts.map +0 -1
- package/dist/types/factories/contracts/test/MockRegistryFilter.sol/index.js +0 -5
- /package/dist/test/{CiphernodeRegistry → Registry}/CiphernodeRegistryOwnable.spec.d.ts +0 -0
- /package/dist/types/{contracts/test/MockRegistryFilter.sol → @openzeppelin/contracts}/index.js +0 -0
- /package/dist/types/{contracts/interfaces/IInputValidator.js → @openzeppelin/contracts/proxy/index.js} +0 -0
- /package/dist/types/{contracts/interfaces/IRegistryFilter.js → @openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/index.js} +0 -0
- /package/dist/types/{contracts/test/MockInputValidator.js → @openzeppelin/contracts/proxy/transparent/index.js} +0 -0
- /package/dist/types/{contracts/test/MockRegistryFilter.sol/IRegistry.js → @openzeppelin/index.js} +0 -0
|
@@ -11,6 +11,16 @@ export declare class IEnclave__factory {
|
|
|
11
11
|
}];
|
|
12
12
|
readonly name: "AllowedE3ProgramsParamsSet";
|
|
13
13
|
readonly type: "event";
|
|
14
|
+
}, {
|
|
15
|
+
readonly anonymous: false;
|
|
16
|
+
readonly inputs: readonly [{
|
|
17
|
+
readonly indexed: false;
|
|
18
|
+
readonly internalType: "address";
|
|
19
|
+
readonly name: "bondingRegistry";
|
|
20
|
+
readonly type: "address";
|
|
21
|
+
}];
|
|
22
|
+
readonly name: "BondingRegistrySet";
|
|
23
|
+
readonly type: "event";
|
|
14
24
|
}, {
|
|
15
25
|
readonly anonymous: false;
|
|
16
26
|
readonly inputs: readonly [{
|
|
@@ -121,9 +131,9 @@ export declare class IEnclave__factory {
|
|
|
121
131
|
readonly name: "e3ProgramParams";
|
|
122
132
|
readonly type: "bytes";
|
|
123
133
|
}, {
|
|
124
|
-
readonly internalType: "
|
|
125
|
-
readonly name: "
|
|
126
|
-
readonly type: "
|
|
134
|
+
readonly internalType: "bytes";
|
|
135
|
+
readonly name: "customParams";
|
|
136
|
+
readonly type: "bytes";
|
|
127
137
|
}, {
|
|
128
138
|
readonly internalType: "contract IDecryptionVerifier";
|
|
129
139
|
readonly name: "decryptionVerifier";
|
|
@@ -145,11 +155,6 @@ export declare class IEnclave__factory {
|
|
|
145
155
|
readonly internalType: "struct E3";
|
|
146
156
|
readonly name: "e3";
|
|
147
157
|
readonly type: "tuple";
|
|
148
|
-
}, {
|
|
149
|
-
readonly indexed: false;
|
|
150
|
-
readonly internalType: "address";
|
|
151
|
-
readonly name: "filter";
|
|
152
|
-
readonly type: "address";
|
|
153
158
|
}, {
|
|
154
159
|
readonly indexed: true;
|
|
155
160
|
readonly internalType: "contract IE3Program";
|
|
@@ -178,6 +183,16 @@ export declare class IEnclave__factory {
|
|
|
178
183
|
}];
|
|
179
184
|
readonly name: "EncryptionSchemeEnabled";
|
|
180
185
|
readonly type: "event";
|
|
186
|
+
}, {
|
|
187
|
+
readonly anonymous: false;
|
|
188
|
+
readonly inputs: readonly [{
|
|
189
|
+
readonly indexed: false;
|
|
190
|
+
readonly internalType: "address";
|
|
191
|
+
readonly name: "feeToken";
|
|
192
|
+
readonly type: "address";
|
|
193
|
+
}];
|
|
194
|
+
readonly name: "FeeTokenSet";
|
|
195
|
+
readonly type: "event";
|
|
181
196
|
}, {
|
|
182
197
|
readonly anonymous: false;
|
|
183
198
|
readonly inputs: readonly [{
|
|
@@ -228,6 +243,26 @@ export declare class IEnclave__factory {
|
|
|
228
243
|
}];
|
|
229
244
|
readonly name: "PlaintextOutputPublished";
|
|
230
245
|
readonly type: "event";
|
|
246
|
+
}, {
|
|
247
|
+
readonly anonymous: false;
|
|
248
|
+
readonly inputs: readonly [{
|
|
249
|
+
readonly indexed: true;
|
|
250
|
+
readonly internalType: "uint256";
|
|
251
|
+
readonly name: "e3Id";
|
|
252
|
+
readonly type: "uint256";
|
|
253
|
+
}, {
|
|
254
|
+
readonly indexed: false;
|
|
255
|
+
readonly internalType: "address[]";
|
|
256
|
+
readonly name: "nodes";
|
|
257
|
+
readonly type: "address[]";
|
|
258
|
+
}, {
|
|
259
|
+
readonly indexed: false;
|
|
260
|
+
readonly internalType: "uint256[]";
|
|
261
|
+
readonly name: "amounts";
|
|
262
|
+
readonly type: "uint256[]";
|
|
263
|
+
}];
|
|
264
|
+
readonly name: "RewardsDistributed";
|
|
265
|
+
readonly type: "event";
|
|
231
266
|
}, {
|
|
232
267
|
readonly inputs: readonly [{
|
|
233
268
|
readonly internalType: "uint256";
|
|
@@ -260,6 +295,20 @@ export declare class IEnclave__factory {
|
|
|
260
295
|
}];
|
|
261
296
|
readonly stateMutability: "nonpayable";
|
|
262
297
|
readonly type: "function";
|
|
298
|
+
}, {
|
|
299
|
+
readonly inputs: readonly [{
|
|
300
|
+
readonly internalType: "bytes32";
|
|
301
|
+
readonly name: "encryptionSchemeId";
|
|
302
|
+
readonly type: "bytes32";
|
|
303
|
+
}];
|
|
304
|
+
readonly name: "disableEncryptionScheme";
|
|
305
|
+
readonly outputs: readonly [{
|
|
306
|
+
readonly internalType: "bool";
|
|
307
|
+
readonly name: "success";
|
|
308
|
+
readonly type: "bool";
|
|
309
|
+
}];
|
|
310
|
+
readonly stateMutability: "nonpayable";
|
|
311
|
+
readonly type: "function";
|
|
263
312
|
}, {
|
|
264
313
|
readonly inputs: readonly [{
|
|
265
314
|
readonly internalType: "contract IE3Program";
|
|
@@ -274,6 +323,20 @@ export declare class IEnclave__factory {
|
|
|
274
323
|
}];
|
|
275
324
|
readonly stateMutability: "nonpayable";
|
|
276
325
|
readonly type: "function";
|
|
326
|
+
}, {
|
|
327
|
+
readonly inputs: readonly [{
|
|
328
|
+
readonly internalType: "bytes32";
|
|
329
|
+
readonly name: "encryptionSchemeId";
|
|
330
|
+
readonly type: "bytes32";
|
|
331
|
+
}];
|
|
332
|
+
readonly name: "getDecryptionVerifier";
|
|
333
|
+
readonly outputs: readonly [{
|
|
334
|
+
readonly internalType: "contract IDecryptionVerifier";
|
|
335
|
+
readonly name: "";
|
|
336
|
+
readonly type: "address";
|
|
337
|
+
}];
|
|
338
|
+
readonly stateMutability: "view";
|
|
339
|
+
readonly type: "function";
|
|
277
340
|
}, {
|
|
278
341
|
readonly inputs: readonly [{
|
|
279
342
|
readonly internalType: "uint256";
|
|
@@ -319,9 +382,9 @@ export declare class IEnclave__factory {
|
|
|
319
382
|
readonly name: "e3ProgramParams";
|
|
320
383
|
readonly type: "bytes";
|
|
321
384
|
}, {
|
|
322
|
-
readonly internalType: "
|
|
323
|
-
readonly name: "
|
|
324
|
-
readonly type: "
|
|
385
|
+
readonly internalType: "bytes";
|
|
386
|
+
readonly name: "customParams";
|
|
387
|
+
readonly type: "bytes";
|
|
325
388
|
}, {
|
|
326
389
|
readonly internalType: "contract IDecryptionVerifier";
|
|
327
390
|
readonly name: "decryptionVerifier";
|
|
@@ -347,14 +410,43 @@ export declare class IEnclave__factory {
|
|
|
347
410
|
readonly type: "function";
|
|
348
411
|
}, {
|
|
349
412
|
readonly inputs: readonly [{
|
|
350
|
-
readonly
|
|
351
|
-
|
|
352
|
-
|
|
413
|
+
readonly components: readonly [{
|
|
414
|
+
readonly internalType: "uint32[2]";
|
|
415
|
+
readonly name: "threshold";
|
|
416
|
+
readonly type: "uint32[2]";
|
|
417
|
+
}, {
|
|
418
|
+
readonly internalType: "uint256[2]";
|
|
419
|
+
readonly name: "startWindow";
|
|
420
|
+
readonly type: "uint256[2]";
|
|
421
|
+
}, {
|
|
422
|
+
readonly internalType: "uint256";
|
|
423
|
+
readonly name: "duration";
|
|
424
|
+
readonly type: "uint256";
|
|
425
|
+
}, {
|
|
426
|
+
readonly internalType: "contract IE3Program";
|
|
427
|
+
readonly name: "e3Program";
|
|
428
|
+
readonly type: "address";
|
|
429
|
+
}, {
|
|
430
|
+
readonly internalType: "bytes";
|
|
431
|
+
readonly name: "e3ProgramParams";
|
|
432
|
+
readonly type: "bytes";
|
|
433
|
+
}, {
|
|
434
|
+
readonly internalType: "bytes";
|
|
435
|
+
readonly name: "computeProviderParams";
|
|
436
|
+
readonly type: "bytes";
|
|
437
|
+
}, {
|
|
438
|
+
readonly internalType: "bytes";
|
|
439
|
+
readonly name: "customParams";
|
|
440
|
+
readonly type: "bytes";
|
|
441
|
+
}];
|
|
442
|
+
readonly internalType: "struct IEnclave.E3RequestParams";
|
|
443
|
+
readonly name: "e3Params";
|
|
444
|
+
readonly type: "tuple";
|
|
353
445
|
}];
|
|
354
|
-
readonly name: "
|
|
446
|
+
readonly name: "getE3Quote";
|
|
355
447
|
readonly outputs: readonly [{
|
|
356
448
|
readonly internalType: "uint256";
|
|
357
|
-
readonly name: "
|
|
449
|
+
readonly name: "fee";
|
|
358
450
|
readonly type: "uint256";
|
|
359
451
|
}];
|
|
360
452
|
readonly stateMutability: "view";
|
|
@@ -424,10 +516,6 @@ export declare class IEnclave__factory {
|
|
|
424
516
|
}, {
|
|
425
517
|
readonly inputs: readonly [{
|
|
426
518
|
readonly components: readonly [{
|
|
427
|
-
readonly internalType: "address";
|
|
428
|
-
readonly name: "filter";
|
|
429
|
-
readonly type: "address";
|
|
430
|
-
}, {
|
|
431
519
|
readonly internalType: "uint32[2]";
|
|
432
520
|
readonly name: "threshold";
|
|
433
521
|
readonly type: "uint32[2]";
|
|
@@ -451,6 +539,10 @@ export declare class IEnclave__factory {
|
|
|
451
539
|
readonly internalType: "bytes";
|
|
452
540
|
readonly name: "computeProviderParams";
|
|
453
541
|
readonly type: "bytes";
|
|
542
|
+
}, {
|
|
543
|
+
readonly internalType: "bytes";
|
|
544
|
+
readonly name: "customParams";
|
|
545
|
+
readonly type: "bytes";
|
|
454
546
|
}];
|
|
455
547
|
readonly internalType: "struct IEnclave.E3RequestParams";
|
|
456
548
|
readonly name: "requestParams";
|
|
@@ -499,9 +591,9 @@ export declare class IEnclave__factory {
|
|
|
499
591
|
readonly name: "e3ProgramParams";
|
|
500
592
|
readonly type: "bytes";
|
|
501
593
|
}, {
|
|
502
|
-
readonly internalType: "
|
|
503
|
-
readonly name: "
|
|
504
|
-
readonly type: "
|
|
594
|
+
readonly internalType: "bytes";
|
|
595
|
+
readonly name: "customParams";
|
|
596
|
+
readonly type: "bytes";
|
|
505
597
|
}, {
|
|
506
598
|
readonly internalType: "contract IDecryptionVerifier";
|
|
507
599
|
readonly name: "decryptionVerifier";
|
|
@@ -523,7 +615,81 @@ export declare class IEnclave__factory {
|
|
|
523
615
|
readonly name: "e3";
|
|
524
616
|
readonly type: "tuple";
|
|
525
617
|
}];
|
|
526
|
-
readonly stateMutability: "
|
|
618
|
+
readonly stateMutability: "nonpayable";
|
|
619
|
+
readonly type: "function";
|
|
620
|
+
}, {
|
|
621
|
+
readonly inputs: readonly [{
|
|
622
|
+
readonly internalType: "contract IBondingRegistry";
|
|
623
|
+
readonly name: "_bondingRegistry";
|
|
624
|
+
readonly type: "address";
|
|
625
|
+
}];
|
|
626
|
+
readonly name: "setBondingRegistry";
|
|
627
|
+
readonly outputs: readonly [{
|
|
628
|
+
readonly internalType: "bool";
|
|
629
|
+
readonly name: "success";
|
|
630
|
+
readonly type: "bool";
|
|
631
|
+
}];
|
|
632
|
+
readonly stateMutability: "nonpayable";
|
|
633
|
+
readonly type: "function";
|
|
634
|
+
}, {
|
|
635
|
+
readonly inputs: readonly [{
|
|
636
|
+
readonly internalType: "contract ICiphernodeRegistry";
|
|
637
|
+
readonly name: "_ciphernodeRegistry";
|
|
638
|
+
readonly type: "address";
|
|
639
|
+
}];
|
|
640
|
+
readonly name: "setCiphernodeRegistry";
|
|
641
|
+
readonly outputs: readonly [{
|
|
642
|
+
readonly internalType: "bool";
|
|
643
|
+
readonly name: "success";
|
|
644
|
+
readonly type: "bool";
|
|
645
|
+
}];
|
|
646
|
+
readonly stateMutability: "nonpayable";
|
|
647
|
+
readonly type: "function";
|
|
648
|
+
}, {
|
|
649
|
+
readonly inputs: readonly [{
|
|
650
|
+
readonly internalType: "bytes32";
|
|
651
|
+
readonly name: "encryptionSchemeId";
|
|
652
|
+
readonly type: "bytes32";
|
|
653
|
+
}, {
|
|
654
|
+
readonly internalType: "contract IDecryptionVerifier";
|
|
655
|
+
readonly name: "decryptionVerifier";
|
|
656
|
+
readonly type: "address";
|
|
657
|
+
}];
|
|
658
|
+
readonly name: "setDecryptionVerifier";
|
|
659
|
+
readonly outputs: readonly [{
|
|
660
|
+
readonly internalType: "bool";
|
|
661
|
+
readonly name: "success";
|
|
662
|
+
readonly type: "bool";
|
|
663
|
+
}];
|
|
664
|
+
readonly stateMutability: "nonpayable";
|
|
665
|
+
readonly type: "function";
|
|
666
|
+
}, {
|
|
667
|
+
readonly inputs: readonly [{
|
|
668
|
+
readonly internalType: "bytes[]";
|
|
669
|
+
readonly name: "_e3ProgramsParams";
|
|
670
|
+
readonly type: "bytes[]";
|
|
671
|
+
}];
|
|
672
|
+
readonly name: "setE3ProgramsParams";
|
|
673
|
+
readonly outputs: readonly [{
|
|
674
|
+
readonly internalType: "bool";
|
|
675
|
+
readonly name: "success";
|
|
676
|
+
readonly type: "bool";
|
|
677
|
+
}];
|
|
678
|
+
readonly stateMutability: "nonpayable";
|
|
679
|
+
readonly type: "function";
|
|
680
|
+
}, {
|
|
681
|
+
readonly inputs: readonly [{
|
|
682
|
+
readonly internalType: "contract IERC20";
|
|
683
|
+
readonly name: "_feeToken";
|
|
684
|
+
readonly type: "address";
|
|
685
|
+
}];
|
|
686
|
+
readonly name: "setFeeToken";
|
|
687
|
+
readonly outputs: readonly [{
|
|
688
|
+
readonly internalType: "bool";
|
|
689
|
+
readonly name: "success";
|
|
690
|
+
readonly type: "bool";
|
|
691
|
+
}];
|
|
692
|
+
readonly stateMutability: "nonpayable";
|
|
527
693
|
readonly type: "function";
|
|
528
694
|
}, {
|
|
529
695
|
readonly inputs: readonly [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IEnclave__factory.d.ts","sourceRoot":"","sources":["../../../../../types/factories/contracts/interfaces/IEnclave__factory.ts"],"names":[],"mappings":"AAIE,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,QAAQ,CAAC;AAClE,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;
|
|
1
|
+
{"version":3,"file":"IEnclave__factory.d.ts","sourceRoot":"","sources":["../../../../../types/factories/contracts/interfaces/IEnclave__factory.ts"],"names":[],"mappings":"AAIE,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,QAAQ,CAAC;AAClE,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAu5B7F,qBAAa,iBAAiB;IAC5B,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,iBAAiB;IAG3C,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,QAAQ;CAG1E"}
|
|
@@ -16,6 +16,19 @@ const _abi = [
|
|
|
16
16
|
"name": "AllowedE3ProgramsParamsSet",
|
|
17
17
|
"type": "event"
|
|
18
18
|
},
|
|
19
|
+
{
|
|
20
|
+
"anonymous": false,
|
|
21
|
+
"inputs": [
|
|
22
|
+
{
|
|
23
|
+
"indexed": false,
|
|
24
|
+
"internalType": "address",
|
|
25
|
+
"name": "bondingRegistry",
|
|
26
|
+
"type": "address"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"name": "BondingRegistrySet",
|
|
30
|
+
"type": "event"
|
|
31
|
+
},
|
|
19
32
|
{
|
|
20
33
|
"anonymous": false,
|
|
21
34
|
"inputs": [
|
|
@@ -156,9 +169,9 @@ const _abi = [
|
|
|
156
169
|
"type": "bytes"
|
|
157
170
|
},
|
|
158
171
|
{
|
|
159
|
-
"internalType": "
|
|
160
|
-
"name": "
|
|
161
|
-
"type": "
|
|
172
|
+
"internalType": "bytes",
|
|
173
|
+
"name": "customParams",
|
|
174
|
+
"type": "bytes"
|
|
162
175
|
},
|
|
163
176
|
{
|
|
164
177
|
"internalType": "contract IDecryptionVerifier",
|
|
@@ -186,12 +199,6 @@ const _abi = [
|
|
|
186
199
|
"name": "e3",
|
|
187
200
|
"type": "tuple"
|
|
188
201
|
},
|
|
189
|
-
{
|
|
190
|
-
"indexed": false,
|
|
191
|
-
"internalType": "address",
|
|
192
|
-
"name": "filter",
|
|
193
|
-
"type": "address"
|
|
194
|
-
},
|
|
195
202
|
{
|
|
196
203
|
"indexed": true,
|
|
197
204
|
"internalType": "contract IE3Program",
|
|
@@ -228,6 +235,19 @@ const _abi = [
|
|
|
228
235
|
"name": "EncryptionSchemeEnabled",
|
|
229
236
|
"type": "event"
|
|
230
237
|
},
|
|
238
|
+
{
|
|
239
|
+
"anonymous": false,
|
|
240
|
+
"inputs": [
|
|
241
|
+
{
|
|
242
|
+
"indexed": false,
|
|
243
|
+
"internalType": "address",
|
|
244
|
+
"name": "feeToken",
|
|
245
|
+
"type": "address"
|
|
246
|
+
}
|
|
247
|
+
],
|
|
248
|
+
"name": "FeeTokenSet",
|
|
249
|
+
"type": "event"
|
|
250
|
+
},
|
|
231
251
|
{
|
|
232
252
|
"anonymous": false,
|
|
233
253
|
"inputs": [
|
|
@@ -291,6 +311,31 @@ const _abi = [
|
|
|
291
311
|
"name": "PlaintextOutputPublished",
|
|
292
312
|
"type": "event"
|
|
293
313
|
},
|
|
314
|
+
{
|
|
315
|
+
"anonymous": false,
|
|
316
|
+
"inputs": [
|
|
317
|
+
{
|
|
318
|
+
"indexed": true,
|
|
319
|
+
"internalType": "uint256",
|
|
320
|
+
"name": "e3Id",
|
|
321
|
+
"type": "uint256"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"indexed": false,
|
|
325
|
+
"internalType": "address[]",
|
|
326
|
+
"name": "nodes",
|
|
327
|
+
"type": "address[]"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"indexed": false,
|
|
331
|
+
"internalType": "uint256[]",
|
|
332
|
+
"name": "amounts",
|
|
333
|
+
"type": "uint256[]"
|
|
334
|
+
}
|
|
335
|
+
],
|
|
336
|
+
"name": "RewardsDistributed",
|
|
337
|
+
"type": "event"
|
|
338
|
+
},
|
|
294
339
|
{
|
|
295
340
|
"inputs": [
|
|
296
341
|
{
|
|
@@ -334,6 +379,25 @@ const _abi = [
|
|
|
334
379
|
"stateMutability": "nonpayable",
|
|
335
380
|
"type": "function"
|
|
336
381
|
},
|
|
382
|
+
{
|
|
383
|
+
"inputs": [
|
|
384
|
+
{
|
|
385
|
+
"internalType": "bytes32",
|
|
386
|
+
"name": "encryptionSchemeId",
|
|
387
|
+
"type": "bytes32"
|
|
388
|
+
}
|
|
389
|
+
],
|
|
390
|
+
"name": "disableEncryptionScheme",
|
|
391
|
+
"outputs": [
|
|
392
|
+
{
|
|
393
|
+
"internalType": "bool",
|
|
394
|
+
"name": "success",
|
|
395
|
+
"type": "bool"
|
|
396
|
+
}
|
|
397
|
+
],
|
|
398
|
+
"stateMutability": "nonpayable",
|
|
399
|
+
"type": "function"
|
|
400
|
+
},
|
|
337
401
|
{
|
|
338
402
|
"inputs": [
|
|
339
403
|
{
|
|
@@ -353,6 +417,25 @@ const _abi = [
|
|
|
353
417
|
"stateMutability": "nonpayable",
|
|
354
418
|
"type": "function"
|
|
355
419
|
},
|
|
420
|
+
{
|
|
421
|
+
"inputs": [
|
|
422
|
+
{
|
|
423
|
+
"internalType": "bytes32",
|
|
424
|
+
"name": "encryptionSchemeId",
|
|
425
|
+
"type": "bytes32"
|
|
426
|
+
}
|
|
427
|
+
],
|
|
428
|
+
"name": "getDecryptionVerifier",
|
|
429
|
+
"outputs": [
|
|
430
|
+
{
|
|
431
|
+
"internalType": "contract IDecryptionVerifier",
|
|
432
|
+
"name": "",
|
|
433
|
+
"type": "address"
|
|
434
|
+
}
|
|
435
|
+
],
|
|
436
|
+
"stateMutability": "view",
|
|
437
|
+
"type": "function"
|
|
438
|
+
},
|
|
356
439
|
{
|
|
357
440
|
"inputs": [
|
|
358
441
|
{
|
|
@@ -411,9 +494,9 @@ const _abi = [
|
|
|
411
494
|
"type": "bytes"
|
|
412
495
|
},
|
|
413
496
|
{
|
|
414
|
-
"internalType": "
|
|
415
|
-
"name": "
|
|
416
|
-
"type": "
|
|
497
|
+
"internalType": "bytes",
|
|
498
|
+
"name": "customParams",
|
|
499
|
+
"type": "bytes"
|
|
417
500
|
},
|
|
418
501
|
{
|
|
419
502
|
"internalType": "contract IDecryptionVerifier",
|
|
@@ -447,16 +530,53 @@ const _abi = [
|
|
|
447
530
|
{
|
|
448
531
|
"inputs": [
|
|
449
532
|
{
|
|
450
|
-
"
|
|
451
|
-
|
|
452
|
-
|
|
533
|
+
"components": [
|
|
534
|
+
{
|
|
535
|
+
"internalType": "uint32[2]",
|
|
536
|
+
"name": "threshold",
|
|
537
|
+
"type": "uint32[2]"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"internalType": "uint256[2]",
|
|
541
|
+
"name": "startWindow",
|
|
542
|
+
"type": "uint256[2]"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"internalType": "uint256",
|
|
546
|
+
"name": "duration",
|
|
547
|
+
"type": "uint256"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"internalType": "contract IE3Program",
|
|
551
|
+
"name": "e3Program",
|
|
552
|
+
"type": "address"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"internalType": "bytes",
|
|
556
|
+
"name": "e3ProgramParams",
|
|
557
|
+
"type": "bytes"
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"internalType": "bytes",
|
|
561
|
+
"name": "computeProviderParams",
|
|
562
|
+
"type": "bytes"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"internalType": "bytes",
|
|
566
|
+
"name": "customParams",
|
|
567
|
+
"type": "bytes"
|
|
568
|
+
}
|
|
569
|
+
],
|
|
570
|
+
"internalType": "struct IEnclave.E3RequestParams",
|
|
571
|
+
"name": "e3Params",
|
|
572
|
+
"type": "tuple"
|
|
453
573
|
}
|
|
454
574
|
],
|
|
455
|
-
"name": "
|
|
575
|
+
"name": "getE3Quote",
|
|
456
576
|
"outputs": [
|
|
457
577
|
{
|
|
458
578
|
"internalType": "uint256",
|
|
459
|
-
"name": "
|
|
579
|
+
"name": "fee",
|
|
460
580
|
"type": "uint256"
|
|
461
581
|
}
|
|
462
582
|
],
|
|
@@ -549,11 +669,6 @@ const _abi = [
|
|
|
549
669
|
"inputs": [
|
|
550
670
|
{
|
|
551
671
|
"components": [
|
|
552
|
-
{
|
|
553
|
-
"internalType": "address",
|
|
554
|
-
"name": "filter",
|
|
555
|
-
"type": "address"
|
|
556
|
-
},
|
|
557
672
|
{
|
|
558
673
|
"internalType": "uint32[2]",
|
|
559
674
|
"name": "threshold",
|
|
@@ -583,6 +698,11 @@ const _abi = [
|
|
|
583
698
|
"internalType": "bytes",
|
|
584
699
|
"name": "computeProviderParams",
|
|
585
700
|
"type": "bytes"
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
"internalType": "bytes",
|
|
704
|
+
"name": "customParams",
|
|
705
|
+
"type": "bytes"
|
|
586
706
|
}
|
|
587
707
|
],
|
|
588
708
|
"internalType": "struct IEnclave.E3RequestParams",
|
|
@@ -645,9 +765,9 @@ const _abi = [
|
|
|
645
765
|
"type": "bytes"
|
|
646
766
|
},
|
|
647
767
|
{
|
|
648
|
-
"internalType": "
|
|
649
|
-
"name": "
|
|
650
|
-
"type": "
|
|
768
|
+
"internalType": "bytes",
|
|
769
|
+
"name": "customParams",
|
|
770
|
+
"type": "bytes"
|
|
651
771
|
},
|
|
652
772
|
{
|
|
653
773
|
"internalType": "contract IDecryptionVerifier",
|
|
@@ -675,7 +795,107 @@ const _abi = [
|
|
|
675
795
|
"type": "tuple"
|
|
676
796
|
}
|
|
677
797
|
],
|
|
678
|
-
"stateMutability": "
|
|
798
|
+
"stateMutability": "nonpayable",
|
|
799
|
+
"type": "function"
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
"inputs": [
|
|
803
|
+
{
|
|
804
|
+
"internalType": "contract IBondingRegistry",
|
|
805
|
+
"name": "_bondingRegistry",
|
|
806
|
+
"type": "address"
|
|
807
|
+
}
|
|
808
|
+
],
|
|
809
|
+
"name": "setBondingRegistry",
|
|
810
|
+
"outputs": [
|
|
811
|
+
{
|
|
812
|
+
"internalType": "bool",
|
|
813
|
+
"name": "success",
|
|
814
|
+
"type": "bool"
|
|
815
|
+
}
|
|
816
|
+
],
|
|
817
|
+
"stateMutability": "nonpayable",
|
|
818
|
+
"type": "function"
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"inputs": [
|
|
822
|
+
{
|
|
823
|
+
"internalType": "contract ICiphernodeRegistry",
|
|
824
|
+
"name": "_ciphernodeRegistry",
|
|
825
|
+
"type": "address"
|
|
826
|
+
}
|
|
827
|
+
],
|
|
828
|
+
"name": "setCiphernodeRegistry",
|
|
829
|
+
"outputs": [
|
|
830
|
+
{
|
|
831
|
+
"internalType": "bool",
|
|
832
|
+
"name": "success",
|
|
833
|
+
"type": "bool"
|
|
834
|
+
}
|
|
835
|
+
],
|
|
836
|
+
"stateMutability": "nonpayable",
|
|
837
|
+
"type": "function"
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"inputs": [
|
|
841
|
+
{
|
|
842
|
+
"internalType": "bytes32",
|
|
843
|
+
"name": "encryptionSchemeId",
|
|
844
|
+
"type": "bytes32"
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
"internalType": "contract IDecryptionVerifier",
|
|
848
|
+
"name": "decryptionVerifier",
|
|
849
|
+
"type": "address"
|
|
850
|
+
}
|
|
851
|
+
],
|
|
852
|
+
"name": "setDecryptionVerifier",
|
|
853
|
+
"outputs": [
|
|
854
|
+
{
|
|
855
|
+
"internalType": "bool",
|
|
856
|
+
"name": "success",
|
|
857
|
+
"type": "bool"
|
|
858
|
+
}
|
|
859
|
+
],
|
|
860
|
+
"stateMutability": "nonpayable",
|
|
861
|
+
"type": "function"
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"inputs": [
|
|
865
|
+
{
|
|
866
|
+
"internalType": "bytes[]",
|
|
867
|
+
"name": "_e3ProgramsParams",
|
|
868
|
+
"type": "bytes[]"
|
|
869
|
+
}
|
|
870
|
+
],
|
|
871
|
+
"name": "setE3ProgramsParams",
|
|
872
|
+
"outputs": [
|
|
873
|
+
{
|
|
874
|
+
"internalType": "bool",
|
|
875
|
+
"name": "success",
|
|
876
|
+
"type": "bool"
|
|
877
|
+
}
|
|
878
|
+
],
|
|
879
|
+
"stateMutability": "nonpayable",
|
|
880
|
+
"type": "function"
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"inputs": [
|
|
884
|
+
{
|
|
885
|
+
"internalType": "contract IERC20",
|
|
886
|
+
"name": "_feeToken",
|
|
887
|
+
"type": "address"
|
|
888
|
+
}
|
|
889
|
+
],
|
|
890
|
+
"name": "setFeeToken",
|
|
891
|
+
"outputs": [
|
|
892
|
+
{
|
|
893
|
+
"internalType": "bool",
|
|
894
|
+
"name": "success",
|
|
895
|
+
"type": "bool"
|
|
896
|
+
}
|
|
897
|
+
],
|
|
898
|
+
"stateMutability": "nonpayable",
|
|
679
899
|
"type": "function"
|
|
680
900
|
},
|
|
681
901
|
{
|