| 1 | { |
| 2 | "policy_id": "batch_update_policies", |
| 3 | "function_args": { |
| 4 | "policies": [ |
| 5 | { |
| 6 | "id": "grant_role", |
| 7 | "description": "Owner policy for grant_role", |
| 8 | "policy_type": "KernelConfiguration", |
| 9 | "required_role": "owner", |
| 10 | "policy_details": "KernelConfiguration", |
| 11 | "activation_time": "0", |
| 12 | "required_vote_count": 2, |
| 13 | "required_pending_actions": [], |
| 14 | "proposal_expiry_time_nanosec": "86400000000000" |
| 15 | }, |
| 16 | { |
| 17 | "id": "upsert_policy", |
| 18 | "description": "Owner policy for upsert_policy", |
| 19 | "policy_type": "KernelConfiguration", |
| 20 | "required_role": "owner", |
| 21 | "policy_details": "KernelConfiguration", |
| 22 | "activation_time": "0", |
| 23 | "required_vote_count": 2, |
| 24 | "required_pending_actions": [], |
| 25 | "proposal_expiry_time_nanosec": "86400000000000" |
| 26 | }, |
| 27 | { |
| 28 | "id": "batch_update_policies", |
| 29 | "description": "Owner policy for batch_update_policies", |
| 30 | "policy_type": "KernelConfiguration", |
| 31 | "required_role": "owner", |
| 32 | "policy_details": "KernelConfiguration", |
| 33 | "activation_time": "0", |
| 34 | "required_vote_count": 2, |
| 35 | "required_pending_actions": [], |
| 36 | "proposal_expiry_time_nanosec": "86400000000000" |
| 37 | }, |
| 38 | { |
| 39 | "id": "deploy_uploaded_contract", |
| 40 | "description": "Owner policy for deploy_uploaded_contract", |
| 41 | "policy_type": "KernelConfiguration", |
| 42 | "required_role": "owner", |
| 43 | "policy_details": "KernelConfiguration", |
| 44 | "activation_time": "0", |
| 45 | "required_vote_count": 2, |
| 46 | "required_pending_actions": [], |
| 47 | "proposal_expiry_time_nanosec": "86400000000000" |
| 48 | }, |
| 49 | { |
| 50 | "id": "dew_vault_update_config", |
| 51 | "description": "Dew Vault policy for dew_vault_update_config", |
| 52 | "policy_type": "ChainSigTransaction", |
| 53 | "required_role": "owner", |
| 54 | "policy_details": { |
| 55 | "ChainSigTransaction": { |
| 56 | "restrictions": [ |
| 57 | { |
| 58 | "schema": "and(\\\\n $.contract_id.equal(\\\\\\\"usdc.meteor-vaults.near\\\\\\\"),\\\\n $.function_name.equal(\\\\\\\"dew_vault_update_config\\\\\\\")\\\\n)", |
| 59 | "interface": "" |
| 60 | } |
| 61 | ], |
| 62 | "derivation_path": "near-1", |
| 63 | "chain_environment": "NearWasm" |
| 64 | } |
| 65 | }, |
| 66 | "activation_time": "0", |
| 67 | "required_vote_count": 2, |
| 68 | "required_pending_actions": [], |
| 69 | "proposal_expiry_time_nanosec": "86400000000000" |
| 70 | }, |
| 71 | { |
| 72 | "id": "dew_vault_set_asset_fees", |
| 73 | "description": "Dew Vault policy for dew_vault_set_asset_fees", |
| 74 | "policy_type": "ChainSigTransaction", |
| 75 | "required_role": "owner", |
| 76 | "policy_details": { |
| 77 | "ChainSigTransaction": { |
| 78 | "restrictions": [ |
| 79 | { |
| 80 | "schema": "and(\\\\n $.contract_id.equal(\\\\\\\"usdc.meteor-vaults.near\\\\\\\"),\\\\n $.function_name.equal(\\\\\\\"dew_vault_set_asset_fees\\\\\\\")\\\\n)", |
| 81 | "interface": "" |
| 82 | } |
| 83 | ], |
| 84 | "derivation_path": "near-1", |
| 85 | "chain_environment": "NearWasm" |
| 86 | } |
| 87 | }, |
| 88 | "activation_time": "0", |
| 89 | "required_vote_count": 2, |
| 90 | "required_pending_actions": [], |
| 91 | "proposal_expiry_time_nanosec": "86400000000000" |
| 92 | }, |
| 93 | { |
| 94 | "id": "dew_vault_set_fee_recipient", |
| 95 | "description": "Dew Vault policy for dew_vault_set_fee_recipient", |
| 96 | "policy_type": "ChainSigTransaction", |
| 97 | "required_role": "owner", |
| 98 | "policy_details": { |
| 99 | "ChainSigTransaction": { |
| 100 | "restrictions": [ |
| 101 | { |
| 102 | "schema": "and(\\\\n $.contract_id.equal(\\\\\\\"usdc.meteor-vaults.near\\\\\\\"),\\\\n $.function_name.equal(\\\\\\\"dew_vault_set_fee_recipient\\\\\\\")\\\\n)", |
| 103 | "interface": "" |
| 104 | } |
| 105 | ], |
| 106 | "derivation_path": "near-1", |
| 107 | "chain_environment": "NearWasm" |
| 108 | } |
| 109 | }, |
| 110 | "activation_time": "0", |
| 111 | "required_vote_count": 2, |
| 112 | "required_pending_actions": [], |
| 113 | "proposal_expiry_time_nanosec": "86400000000000" |
| 114 | }, |
| 115 | { |
| 116 | "id": "dew_vault_transfer_ownership", |
| 117 | "description": "Dew Vault policy for dew_vault_transfer_ownership", |
| 118 | "policy_type": "ChainSigTransaction", |
| 119 | "required_role": "owner", |
| 120 | "policy_details": { |
| 121 | "ChainSigTransaction": { |
| 122 | "restrictions": [ |
| 123 | { |
| 124 | "schema": "and(\\\\n $.contract_id.equal(\\\\\\\"usdc.meteor-vaults.near\\\\\\\"),\\\\n $.function_name.equal(\\\\\\\"dew_vault_transfer_ownership\\\\\\\")\\\\n)", |
| 125 | "interface": "" |
| 126 | } |
| 127 | ], |
| 128 | "derivation_path": "near-1", |
| 129 | "chain_environment": "NearWasm" |
| 130 | } |
| 131 | }, |
| 132 | "activation_time": "0", |
| 133 | "required_vote_count": 2, |
| 134 | "required_pending_actions": [], |
| 135 | "proposal_expiry_time_nanosec": "86400000000000" |
| 136 | }, |
| 137 | { |
| 138 | "id": "dew_vault_set_code_hash", |
| 139 | "description": "Dew Vault policy for dew_vault_set_code_hash", |
| 140 | "policy_type": "ChainSigTransaction", |
| 141 | "required_role": "owner", |
| 142 | "policy_details": { |
| 143 | "ChainSigTransaction": { |
| 144 | "restrictions": [ |
| 145 | { |
| 146 | "schema": "and(\\\\n $.contract_id.equal(\\\\\\\"usdc.meteor-vaults.near\\\\\\\"),\\\\n $.function_name.equal(\\\\\\\"dew_vault_set_code_hash\\\\\\\")\\\\n)", |
| 147 | "interface": "" |
| 148 | } |
| 149 | ], |
| 150 | "derivation_path": "near-1", |
| 151 | "chain_environment": "NearWasm" |
| 152 | } |
| 153 | }, |
| 154 | "activation_time": "0", |
| 155 | "required_vote_count": 2, |
| 156 | "required_pending_actions": [], |
| 157 | "proposal_expiry_time_nanosec": "86400000000000" |
| 158 | }, |
| 159 | { |
| 160 | "id": "dew_vault_delete_code_hash", |
| 161 | "description": "Dew Vault policy for dew_vault_delete_code_hash", |
| 162 | "policy_type": "ChainSigTransaction", |
| 163 | "required_role": "owner", |
| 164 | "policy_details": { |
| 165 | "ChainSigTransaction": { |
| 166 | "restrictions": [ |
| 167 | { |
| 168 | "schema": "and(\\\\n $.contract_id.equal(\\\\\\\"usdc.meteor-vaults.near\\\\\\\"),\\\\n $.function_name.equal(\\\\\\\"dew_vault_delete_code_hash\\\\\\\")\\\\n)", |
| 169 | "interface": "" |
| 170 | } |
| 171 | ], |
| 172 | "derivation_path": "near-1", |
| 173 | "chain_environment": "NearWasm" |
| 174 | } |
| 175 | }, |
| 176 | "activation_time": "0", |
| 177 | "required_vote_count": 1, |
| 178 | "required_pending_actions": [], |
| 179 | "proposal_expiry_time_nanosec": "86400000000000" |
| 180 | }, |
| 181 | { |
| 182 | "id": "dew_vault_deploy_uploaded_contract", |
| 183 | "description": "Dew Vault policy for dew_vault_deploy_uploaded_contract", |
| 184 | "policy_type": "ChainSigTransaction", |
| 185 | "required_role": "owner", |
| 186 | "policy_details": { |
| 187 | "ChainSigTransaction": { |
| 188 | "restrictions": [ |
| 189 | { |
| 190 | "schema": "and(\\\\n $.contract_id.equal(\\\\\\\"usdc.meteor-vaults.near\\\\\\\"),\\\\n $.function_name.equal(\\\\\\\"dew_vault_deploy_uploaded_contract\\\\\\\")\\\\n)", |
| 191 | "interface": "" |
| 192 | } |
| 193 | ], |
| 194 | "derivation_path": "near-1", |
| 195 | "chain_environment": "NearWasm" |
| 196 | } |
| 197 | }, |
| 198 | "activation_time": "0", |
| 199 | "required_vote_count": 2, |
| 200 | "required_pending_actions": [], |
| 201 | "proposal_expiry_time_nanosec": "86400000000000" |
| 202 | } |
| 203 | ] |
| 204 | } |
| 205 | } |