1. No signing key
The agent's only key is a function-call key limited to propose_order. By design the order-signing key exists only as MPC shares; in this sandbox evidence the signer is a single labelled test double, not the MPC network, and the contract requests each signature after checking the limits.
held Recorded agent key: one function-call key for propose_order on mandate.sandbox.
held The mandate account has no access key; only its contract acts for it.
Forbidden calls refused by the contract and the key: BOUNDARY.contract report.
Read BOUNDARY.contract.json
Report SHA-256 c7e0dbd396ab3164105a743e2af292448d5a9d011cf6d8ad4867bb70c0d8c643
{
"schema": "bounded-mandate/gate-report/2",
"gate": "BOUNDARY",
"case": "contract",
"passed": true,
"mode": "sandbox",
"run_id": "20261114T155629841Z-45c5a9286e99",
"source": {
"revision": "dd665d181a03808c9c9c0a68e161cccf99955b51",
"dirty": false
},
"spec_sha256": "0d7d4ddc7b6ec728a09dbdf957de95cfe340315e7642a24b85117dd425ff9708",
"fixture_manifest_sha256": "04be428ae71375a8d175c304be3587b0fd1cfe14281b34a4bc8c5633447c53d8",
"wasm_sha256": {
"bounded_mandate": "8b557a4dd380423bb758bec3a49d268e37722e7a62e032d4b2cc4d517e1f19a5",
"mock_ft": "eeba6d7a32de2540528e736539c60a1cc5fa93f1671ee56083a71a705318b0e0",
"mock_mpc": "b34a375f27a03506b24a33343a6fc25d56d1ef3ee79a52c1900be23e81c5ce5e",
"mock_oracle": "2ef8c54f44518c7160efad5b47f2d311ddee861474f76f8428e135ccba61cfc6"
},
"command": "target/debug/deps/boundary-4e2c096cec8c005a --exact boundary_rejections_at_the_right_layer --nocapture",
"generated_at_unix": 1794672305,
"data": {
"cases": [
{
"case": "recipient field",
"boundary": "json-schema",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Failed to deserialize input from JSON. Error: `unknown field `recipient`, expected one of `sell`, `sell_amount`, `max_concession_bps` at line 1 column 85`\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1623570475096 }, "
},
{
"case": "receiver_id field",
"boundary": "json-schema",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Failed to deserialize input from JSON. Error: `unknown field `receiver_id`, expected one of `sell`, `sell_amount`, `max_concession_bps` at line 1 column 87`\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1624099703218 }"
},
{
"case": "raw payload field",
"boundary": "json-schema",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Failed to deserialize input from JSON. Error: `unknown field `payload`, expected one of `sell`, `sell_amount`, `max_concession_bps` at line 1 column 83`\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1622208841465 }, tr"
},
{
"case": "derivation path field",
"boundary": "json-schema",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Failed to deserialize input from JSON. Error: `unknown field `path`, expected one of `sell`, `sell_amount`, `max_concession_bps` at line 1 column 80`\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1621250379100 }, trans"
},
{
"case": "public key field",
"boundary": "json-schema",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Failed to deserialize input from JSON. Error: `unknown field `public_key`, expected one of `sell`, `sell_amount`, `max_concession_bps` at line 1 column 86`\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1624982916862 },"
},
{
"case": "token id field",
"boundary": "json-schema",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Failed to deserialize input from JSON. Error: `unknown field `token_id`, expected one of `sell`, `sell_amount`, `max_concession_bps` at line 1 column 84`\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1623094086964 }, t"
},
{
"case": "intent field",
"boundary": "json-schema",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Failed to deserialize input from JSON. Error: `unknown field `intents`, expected one of `sell`, `sell_amount`, `max_concession_bps` at line 1 column 83`\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1623052713193 }, tr"
},
{
"case": "forbidden asset usdt",
"boundary": "json-schema",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Failed to deserialize input from JSON. Error: `unknown variant `usdt`, expected `usdc` or `wnear` at line 1 column 26`\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1602501102220 }, transaction: ExecutionOutcome { tran"
},
{
"case": "forbidden asset native near",
"boundary": "json-schema",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Failed to deserialize input from JSON. Error: `unknown variant `near`, expected `usdc` or `wnear` at line 1 column 26`\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1602451736860 }, transaction: ExecutionOutcome { tran"
},
{
"case": "token account as asset",
"boundary": "json-schema",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Failed to deserialize input from JSON. Error: `unknown variant `wrap.near`, expected `usdc` or `wnear` at line 1 column 31`\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1604680250143 }, transaction: ExecutionOutcome {"
},
{
"case": "negative amount",
"boundary": "json-schema",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Failed to deserialize input from JSON. Error: `invalid type: integer `-5`, expected a string at line 1 column 43`\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1602873663049 }, transaction: ExecutionOutcome { transacti"
},
{
"case": "over per-order cap",
"boundary": "contract-policy",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: per-order cap exceeded\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1763355988964 }, transaction: ExecutionOutcome { transaction_hash: FLzLgtk5eemR9fPVK2MPFL5GXEGs3j6WHKLnTgNosQvP, block_hash: 6o6Tyw5ubHx2DxLwrBtKZcRF"
},
{
"case": "concession above policy",
"boundary": "contract-policy",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: concession above policy maximum\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1697337987998 }, transaction: ExecutionOutcome { transaction_hash: EwthKrXFuYMyP1gvtE1XKqCrvjQ6fa9GvvXhpNnQUxL7, block_hash: HC17WCzJHka5Stj"
},
{
"case": "zero amount",
"boundary": "contract-policy",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: sell_amount must be positive\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1694989365278 }, transaction: ExecutionOutcome { transaction_hash: 2jEzgGEL69M7GyD6gXfyMigLKuqYZk4rptokEyno5ndF, block_hash: CW5BinaUF4JnYdCAWM"
},
{
"case": "absurd amount",
"boundary": "contract-policy",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: per-order cap exceeded\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1772194133618 }, transaction: ExecutionOutcome { transaction_hash: ECrej1HRWYEWYZQUn89ghcMHSWFPpdgQ5m1RM9pY5VeC, block_hash: Bx6wB9KeEskDi1BCiW7fDVST"
},
{
"case": "over outstanding cap",
"boundary": "contract-policy",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: outstanding cap exceeded\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1765188319495 }, transaction: ExecutionOutcome { transaction_hash: 7XMzQPVDGBuhkiejvxyermpvqYFqyaqXKZy9LuU6xi1m, block_hash: CKZikJpFvvh5b2nCj5gBhf"
},
{
"case": "agent grant",
"boundary": "protocol-access-key",
"rejected_at_boundary": true,
"detail": "Error { repr: Custom { kind: Rpc(BroadcastTxFailure), error: ServerError(HandlerError(InvalidTransaction { context: InvalidAccessKeyError(MethodNameMismatch { method_name: \"grant\" }) })) } }"
},
{
"case": "agent revoke",
"boundary": "protocol-access-key",
"rejected_at_boundary": true,
"detail": "Error { repr: Custom { kind: Rpc(BroadcastTxFailure), error: ServerError(HandlerError(InvalidTransaction { context: InvalidAccessKeyError(MethodNameMismatch { method_name: \"revoke\" }) })) } }"
},
{
"case": "agent recover",
"boundary": "protocol-access-key",
"rejected_at_boundary": true,
"detail": "Error { repr: Custom { kind: Rpc(BroadcastTxFailure), error: ServerError(HandlerError(InvalidTransaction { context: InvalidAccessKeyError(MethodNameMismatch { method_name: \"recover\" }) })) } }"
},
{
"case": "agent settle",
"boundary": "protocol-access-key",
"rejected_at_boundary": true,
"detail": "Error { repr: Custom { kind: Rpc(BroadcastTxFailure), error: ServerError(HandlerError(InvalidTransaction { context: InvalidAccessKeyError(MethodNameMismatch { method_name: \"settle_order\" }) })) } }"
},
{
"case": "agent callback",
"boundary": "protocol-access-key",
"rejected_at_boundary": true,
"detail": "Error { repr: Custom { kind: Rpc(BroadcastTxFailure), error: ServerError(HandlerError(InvalidTransaction { context: InvalidAccessKeyError(MethodNameMismatch { method_name: \"on_signed\" }) })) } }"
},
{
"case": "agent mt_transfer on verifier (1 yocto)",
"boundary": "protocol-access-key",
"rejected_at_boundary": true,
"detail": "Error { repr: Custom { kind: Rpc(BroadcastTxFailure), error: ServerError(HandlerError(InvalidTransaction { context: InvalidAccessKeyError(DepositWithFunctionCall) })) } }"
},
{
"case": "agent mt_transfer on verifier (no deposit)",
"boundary": "protocol-access-key",
"rejected_at_boundary": true,
"detail": "Error { repr: Custom { kind: Rpc(BroadcastTxFailure), error: ServerError(HandlerError(InvalidTransaction { context: InvalidAccessKeyError(ReceiverMismatch { tx_receiver: AccountId(\"intents.test.near\"), ak_receiver: \"mandate.test.near\" }) })) } }"
},
{
"case": "agent ft_withdraw on verifier (1 yocto)",
"boundary": "protocol-access-key",
"rejected_at_boundary": true,
"detail": "Error { repr: Custom { kind: Rpc(BroadcastTxFailure), error: ServerError(HandlerError(InvalidTransaction { context: InvalidAccessKeyError(DepositWithFunctionCall) })) } }"
},
{
"case": "agent ft_withdraw on verifier (no deposit)",
"boundary": "protocol-access-key",
"rejected_at_boundary": true,
"detail": "Error { repr: Custom { kind: Rpc(BroadcastTxFailure), error: ServerError(HandlerError(InvalidTransaction { context: InvalidAccessKeyError(ReceiverMismatch { tx_receiver: AccountId(\"intents.test.near\"), ak_receiver: \"mandate.test.near\" }) })) } }"
},
{
"case": "agent add_public_key on verifier (1 yocto)",
"boundary": "protocol-access-key",
"rejected_at_boundary": true,
"detail": "Error { repr: Custom { kind: Rpc(BroadcastTxFailure), error: ServerError(HandlerError(InvalidTransaction { context: InvalidAccessKeyError(DepositWithFunctionCall) })) } }"
},
{
"case": "agent add_public_key on verifier (no deposit)",
"boundary": "protocol-access-key",
"rejected_at_boundary": true,
"detail": "Error { repr: Custom { kind: Rpc(BroadcastTxFailure), error: ServerError(HandlerError(InvalidTransaction { context: InvalidAccessKeyError(ReceiverMismatch { tx_receiver: AccountId(\"intents.test.near\"), ak_receiver: \"mandate.test.near\" }) })) } }"
},
{
"case": "agent disable predecessor auth (1 yocto)",
"boundary": "protocol-access-key",
"rejected_at_boundary": true,
"detail": "Error { repr: Custom { kind: Rpc(BroadcastTxFailure), error: ServerError(HandlerError(InvalidTransaction { context: InvalidAccessKeyError(DepositWithFunctionCall) })) } }"
},
{
"case": "agent disable predecessor auth (no deposit)",
"boundary": "protocol-access-key",
"rejected_at_boundary": true,
"detail": "Error { repr: Custom { kind: Rpc(BroadcastTxFailure), error: ServerError(HandlerError(InvalidTransaction { context: InvalidAccessKeyError(ReceiverMismatch { tx_receiver: AccountId(\"intents.test.near\"), ak_receiver: \"mandate.test.near\" }) })) } }"
},
{
"case": "agent execute_intents (1 yocto)",
"boundary": "protocol-access-key",
"rejected_at_boundary": true,
"detail": "Error { repr: Custom { kind: Rpc(BroadcastTxFailure), error: ServerError(HandlerError(InvalidTransaction { context: InvalidAccessKeyError(DepositWithFunctionCall) })) } }"
},
{
"case": "agent execute_intents (no deposit)",
"boundary": "protocol-access-key",
"rejected_at_boundary": true,
"detail": "Error { repr: Custom { kind: Rpc(BroadcastTxFailure), error: ServerError(HandlerError(InvalidTransaction { context: InvalidAccessKeyError(ReceiverMismatch { tx_receiver: AccountId(\"intents.test.near\"), ak_receiver: \"mandate.test.near\" }) })) } }"
},
{
"case": "agent NEAR transfer",
"boundary": "protocol-access-key",
"rejected_at_boundary": true,
"detail": "Error { repr: Custom { kind: Rpc(BroadcastTxFailure), error: ServerError(HandlerError(InvalidTransaction { context: InvalidAccessKeyError(RequiresFullAccess) })) } }"
},
{
"case": "agent adds itself a full key",
"boundary": "protocol-access-key",
"rejected_at_boundary": true,
"detail": "Error { repr: Custom { kind: Rpc(BroadcastTxFailure), error: ServerError(HandlerError(InvalidTransaction { context: InvalidAccessKeyError(RequiresFullAccess) })) } }"
},
{
"case": "agent attaches deposit",
"boundary": "protocol-access-key",
"rejected_at_boundary": true,
"detail": "Error { repr: Custom { kind: Rpc(BroadcastTxFailure), error: ServerError(HandlerError(InvalidTransaction { context: InvalidAccessKeyError(DepositWithFunctionCall) })) } }"
},
{
"case": "on_grant_prepared by owner.test.near",
"boundary": "private-callback",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Method on_grant_prepared is private\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1573420142710 }, transaction: ExecutionOutcome { transaction_hash: E6V7xs6WwK4wvxs9zqwvBpQKkDs9KKkkDyumDMT1QpVe, block_hash: 2tWcKqoec3F"
},
{
"case": "on_grant_prepared by relayer.test.near",
"boundary": "private-callback",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Method on_grant_prepared is private\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1573480287598 }, transaction: ExecutionOutcome { transaction_hash: 7G8pfUeNHKJ1k6yGkJR6BaTa2VyHmJ9cmHL3NyVGt8Mu, block_hash: 7tYzcDA15YU"
},
{
"case": "on_key_added by owner.test.near",
"boundary": "private-callback",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Method on_key_added is private\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1571682116821 }, transaction: ExecutionOutcome { transaction_hash: 93tqouxfLPyjVZXFr3yPEhFpLqG2Y7cnQ1qYyXRnmUgT, block_hash: BYVfoz4XrU2rhhfg"
},
{
"case": "on_key_added by relayer.test.near",
"boundary": "private-callback",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Method on_key_added is private\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1571742261709 }, transaction: ExecutionOutcome { transaction_hash: G8muMCh2UcvvtBaLyiBvkUedVuAEeFomqeX1vGX89NeS, block_hash: 5Nva6fKvd9FkDzZo"
},
{
"case": "on_key_removed by owner.test.near",
"boundary": "private-callback",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Method on_key_removed is private\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1572973401043 }, transaction: ExecutionOutcome { transaction_hash: 3irp7G6dEzAQbH2BJXsZ3RMsCUYQLN4bGfESaQ5a7NuY, block_hash: ABtT99GL1e8YMJ"
},
{
"case": "on_key_removed by relayer.test.near",
"boundary": "private-callback",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Method on_key_removed is private\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1573033545931 }, transaction: ExecutionOutcome { transaction_hash: D9HSq2LJufxyZEcEedPriihVSiYmJ6mAgQSiGB5mvPgE, block_hash: 4aSvPP2mvZpMMg"
},
{
"case": "on_key_presence by owner.test.near",
"boundary": "private-callback",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Method on_key_presence is private\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1573318702504 }, transaction: ExecutionOutcome { transaction_hash: CvAwpE7gdccYCFdjSChy3n4Jr58qYUjZBqTfZrwBeLuS, block_hash: E1GSCzemMRd45"
},
{
"case": "on_key_presence by relayer.test.near",
"boundary": "private-callback",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Method on_key_presence is private\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1573378847392 }, transaction: ExecutionOutcome { transaction_hash: 6VE6ujxQoFnwxwu1UCn6w2gcRXCVTLwTo8BPqPGrUTEb, block_hash: RnoobAcPc7dMQ"
},
{
"case": "on_order_priced by owner.test.near",
"boundary": "private-callback",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Method on_order_priced is private\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1573487384839 }, transaction: ExecutionOutcome { transaction_hash: GZ5FfgM1uaHv1LtRJxJigXnkN8NxL1qEJqRS29z3BExJ, block_hash: Gw1cQHJkcYsWx"
},
{
"case": "on_order_priced by relayer.test.near",
"boundary": "private-callback",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Method on_order_priced is private\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1573547529727 }, transaction: ExecutionOutcome { transaction_hash: FS2HrQDGRthFrafUzBxDN7SMkNQQSyV8Sw6pRntgVuXD, block_hash: pxXzqpR1v6G2Y"
},
{
"case": "on_signed by owner.test.near",
"boundary": "private-callback",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Method on_signed is private\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1571403234733 }, transaction: ExecutionOutcome { transaction_hash: 9sCo3ZiMcTNY7Q11Gzkggk3KpbSqPcwxS1MUPpjzF9Ky, block_hash: EDk9kq61vgeRsRyEHVC"
},
{
"case": "on_signed by relayer.test.near",
"boundary": "private-callback",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Method on_signed is private\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1571463379621 }, transaction: ExecutionOutcome { transaction_hash: 7JvrKQst8aAXVzeMfeBhujvnL9oqZYngHTDbFweQ8hmy, block_hash: DHjCKNypxDRfWCvCvBJ"
},
{
"case": "on_settle_checked by owner.test.near",
"boundary": "private-callback",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Method on_settle_checked is private\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1574159887129 }, transaction: ExecutionOutcome { transaction_hash: AtEwj1KsbR5uuMQPDgLwfdoyZxxdKLdjp3GXSTXdcXNr, block_hash: AWMj7ZLU5vU"
},
{
"case": "on_settle_checked by relayer.test.near",
"boundary": "private-callback",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Method on_settle_checked is private\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1574220032017 }, transaction: ExecutionOutcome { transaction_hash: D4BaQ8XCCLyrX5csBfzxHUGtrs6sut13WSDZcfcaEfVB, block_hash: Az3h75mJLLm"
},
{
"case": "on_recovery_balance by owner.test.near",
"boundary": "private-callback",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Method on_recovery_balance is private\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1575654140971 }, transaction: ExecutionOutcome { transaction_hash: AwjXjtxDq5gju9fMq1QEiXYGekRcPAqrUGEavvmmXkgB, block_hash: 5AkRpwPSX"
},
{
"case": "on_recovery_balance by relayer.test.near",
"boundary": "private-callback",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Method on_recovery_balance is private\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1575714285859 }, transaction: ExecutionOutcome { transaction_hash: 2KCnDX3yrVZjR43VjWrJYCiCM518QxYWdMx6BC3JXeMn, block_hash: 9keMo9Rgh"
},
{
"case": "on_recovery_transferred by owner.test.near",
"boundary": "private-callback",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Method on_recovery_transferred is private\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1576982958898 }, transaction: ExecutionOutcome { transaction_hash: 7BfEArvKFdquVUmBZnHCyfpZgRYaLAdZ4xvdXbvSn4Qa, block_hash: 7oZ7e"
},
{
"case": "on_recovery_transferred by relayer.test.near",
"boundary": "private-callback",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Method on_recovery_transferred is private\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1577043103786 }, transaction: ExecutionOutcome { transaction_hash: 3EkTaz35Jx559rkBGY7uc3xkSF8n91YcBRzGWCwkvzgQ, block_hash: B5RW4"
},
{
"case": "settle unfilled order",
"boundary": "verifier-evidence",
"rejected_at_boundary": true,
"detail": "state after settle: signed"
},
{
"case": "expire only after deadline (refused=true)",
"boundary": "contract-policy",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: deadline not passed\")) }) } }) | Some(Exec"
},
{
"case": "forged mandate intent with foreign key",
"boundary": "verifier-authorization",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: public key 'ed25519:71mehdrwrKU49Xy1th2f6rxVQVNkNB11rijPoW4fs3WB' doesn't exist for account 'mandate.test.near'\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 3644606639594 }, transaction: ExecutionOutcome { transaction"
},
{
"case": "negative-control mandate active",
"boundary": "setup",
"rejected_at_boundary": true,
"detail": "{\"epoch\":1,\"path\":\"mandate/v1/1\",\"public_key\":\"ed25519:36RJV4gYbm2wcgxESp9Us4giHUeLbLWSH5AVtZdAhHA2\",\"status\":\"active\",\"policy\":{\"per_order_cap_bps\":2000,\"outstanding_cap_bps\":2000,\"max_concession_bps\":50,\"oracle_max_age_sec\":60,\"max_confidence_bps\":50,\"breaker_drawdown_bps\":200,\"turnover_cap_bps\":10000,\"order_ttl_sec\":60,\"min_remaining_sec\":15,\"max_pricing_delay_sec\":30,\"proposal_charge_bps\":50},\"initial_reference\":{\"usdc\":{\"price_id\":\"eaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a\",\"price\":\"100000000\",\"conf\":\"20000\",\"expo\":-8,\"publish_time_sec\":\"1794672299\"},\"wnear\":{\"price_id\":\"c415de8d2eba7db216527dff4b60e8f3a5311c740dadb233e13e12547e226750\",\"price\":\"300000000\",\"conf\":\"60000\",\"expo\":-8,\"publish_time_sec\":\"1794672299\"},\"observed_at_ns\":\"1794672301437584000\"},\"initial_value\":\"1900000000000000\",\"turnover_used\":\"0\",\"outstanding\":\"0\",\"breaker\":null,\"key_op_in_flight\":false}"
},
{
"case": "full-key agent grant",
"boundary": "contract-role",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: only the owner\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1714782767806 }, transaction: ExecutionOutcome { transaction_hash: FgwDso1j82dyr5nfpBGCUqN4ABw2sm5edHFyLmYmPwgf, block_hash: 4Pmr8j3pPmL8QMbf1Myof6oyj2ok77KW"
},
{
"case": "full-key agent revoke",
"boundary": "contract-role",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: only the owner\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1679732163187 }, transaction: ExecutionOutcome { transaction_hash: CWJ49bqMpc5Gjh8edwjZ9u1hqbLpJ9eiiXK36XvZWzj8, block_hash: 8MGwgeqdaLRKuGHf85Tr4WuBoRcmfMiB"
},
{
"case": "full-key agent recover",
"boundary": "contract-role",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: only the owner\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1682187374254 }, transaction: ExecutionOutcome { transaction_hash: 5CgsZc2Nm62t4ukRTYWyUPtCB8tDMbib1gzPbivxbDud, block_hash: 4Ea6pBEri9iJmFAgHFVcCvsN5VSX2ZD5"
},
{
"case": "full-key agent callback",
"boundary": "private-callback",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: Method on_signed is private\")) }) } }) | Some(ExecutionResult { total_gas_burnt: NearGas { inner: 1571609955739 }, transaction: ExecutionOutcome { transaction_hash: PbCatcwLWoUCaZmQpWaFjBuZCLffZqpd7qptu63GCsj, block_hash: JA7ycD76C7R8hb81aj78"
},
{
"case": "full-key agent add_public_key affects only itself",
"boundary": "verifier-authorization",
"rejected_at_boundary": true,
"detail": "tx_ok=true mandate keys [\"ed25519:36RJV4gYbm2wcgxESp9Us4giHUeLbLWSH5AVtZdAhHA2\"]"
},
{
"case": "full-key agent mt_transfer cannot move mandate funds",
"boundary": "verifier-authorization",
"rejected_at_boundary": true,
"detail": "tx_ok=false"
},
{
"case": "full-key agent of mandate2 cannot propose on mandate1",
"boundary": "contract-role",
"rejected_at_boundary": true,
"detail": "Err(Error { repr: Custom { kind: Execution, error: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError(\"Smart contract panicked: only the agent may propose\")) }) } }) | So"
},
{
"case": "full-key agent can propose on its own mandate",
"boundary": "contract-role",
"rejected_at_boundary": true,
"detail": ""
},
{
"case": "mandate keys unchanged",
"boundary": "summary",
"rejected_at_boundary": true,
"detail": "[\"ed25519:4r13J7gVEewKP8XCzwVoii8Wu5mf1dBRkDwvhWinCbXB\"]"
},
{
"case": "mandate funds unchanged",
"boundary": "summary",
"rejected_at_boundary": true,
"detail": "(10000000000, 3000000000000000000000000000)"
},
{
"case": "predecessor auth enabled",
"boundary": "summary",
"rejected_at_boundary": true,
"detail": ""
}
]
}
}In this sandbox run the MPC signer is a labelled test double