Loading…
| Operator | BLS pubkey (G1) | Stake weight | In aggregate |
|---|---|---|---|
| 0xd4d8…9943 | 0x1e9d3b806d85c566467df62244f7ccc456071ce747b52d5d9ab363c186fda771295fec7cbcddaffe9616bc4b4bd4454f86708685898396986c3766b4f44cc887 | 50.0% | SIGNED |
| 0xe0c3…0c1c | 0x2e9100a36e04470471b8521fb6c0a6a3dbe66e6b40bc002779c1fc7e611ffed409eceb657a8ac4bba23ddba3c50ebec3da91db131dfc8d8171d00559835c737a | 50.0% | SIGNED |
| Slot | Policy | expireAfter |
|---|---|---|
| 0 | newton-canarynewton_canary.allow · 0xe1607e41…34db | 25sets response expiry |
package newton_canary import future.keywords # Mainnet canary: a policy whose only job is to prove Newton evaluates tasks# end to end on Ethereum mainnet: intent decoding, params, the WASM oracle,# and the policy secret.## Allowed only when the request is ping(value, nonce), value is within# data.params.max_value, and the oracle opened the policy secret and found# that its sha256 matches the hash the caller sent. Every failure is listednewton-cli policy-client status --registry 0x9445404e83ef6349cd11fa7645b2dcb7629a940f --client 0x0742125cc7951C44c6c6436DE5f0BDF66ca3005e
Anyone may re-run this check, and challenge anything it disagrees with. Learn more →
# in `reasons`. default allow := false allow if count(reasons) == 0 ping_signature := "function ping(uint256 value, bytes32 nonce)" arguments := object.get(input, "decoded_function_arguments", []) well_formed if { input.decoded_function_signature == ping_signature count(arguments) == 2} reasons contains "BAD_REQUEST" if not well_formed value_ok if to_number(arguments[0]) <= data.params.max_value reasons contains "VALUE_TOO_HIGH" if not value_ok # The oracle echoes the nonce, so its answer is tied to this request.secret_ok if { data.wasm.ok == true data.wasm.secret_ok == true lower(data.wasm.nonce) == lower(arguments[1])} reasons contains "SECRET_MISMATCH" if not secret_ok