| 1 | { |
| 2 | "policy_id": "batch_update_policies", |
| 3 | "function_args": { |
| 4 | "policies": [ |
| 5 | { |
| 6 | "id": "register_tokens_for_swap_on_master_account", |
| 7 | "description": "Register tokens for swap on master account using aggregate dex", |
| 8 | "policy_type": "ChainSigTransaction", |
| 9 | "required_role": "strategist", |
| 10 | "policy_details": { |
| 11 | "ChainSigTransaction": { |
| 12 | "restrictions": [ |
| 13 | { |
| 14 | "schema": "and(\\\\n $.contract_id.equal(\\\\\\\"aggregatedex.near\\\\\\\"),\\\\n $.function_name.equal(\\\\\\\"tokens_storage_deposit\\\\\\\")\\\\n)", |
| 15 | "interface": "" |
| 16 | } |
| 17 | ], |
| 18 | "derivation_path": "1", |
| 19 | "chain_environment": "NearWasm" |
| 20 | } |
| 21 | }, |
| 22 | "activation_time": "0", |
| 23 | "required_vote_count": 1, |
| 24 | "required_pending_actions": [], |
| 25 | "proposal_expiry_time_nanosec": "86400000000000" |
| 26 | }, |
| 27 | { |
| 28 | "id": "swap_rnear_to_xxx_master_account_aggregate_dex", |
| 29 | "description": "Swap tokens on Master account using aggregate dex", |
| 30 | "policy_type": "ChainSigTransaction", |
| 31 | "required_role": "strategist", |
| 32 | "policy_details": { |
| 33 | "ChainSigTransaction": { |
| 34 | "restrictions": [ |
| 35 | { |
| 36 | "schema": "and(\\\\n $.contract_id.equal(\\\\\\\"lst.rhealab.near\\\\\\\"),\\\\n $.function_name.equal(\\\\\\\"ft_transfer_call\\\\\\\"),\\\\n $.args.receiver_id.equal(\\\\\\\"aggregatedex.near\\\\\\\")\\\\n)", |
| 37 | "interface": "" |
| 38 | } |
| 39 | ], |
| 40 | "derivation_path": "1", |
| 41 | "chain_environment": "NearWasm" |
| 42 | } |
| 43 | }, |
| 44 | "activation_time": "0", |
| 45 | "required_vote_count": 1, |
| 46 | "required_pending_actions": [], |
| 47 | "proposal_expiry_time_nanosec": "86400000000000" |
| 48 | } |
| 49 | ] |
| 50 | } |
| 51 | } |