import { playgroundHelper } from "../helpers/helpers"; await playgroundHelper.account.callFunction({ contractId: playgroundHelper.vaultContractId, methodName: "propose_execution", args: { policy_id: "upsert_policy", function_args: { target_policy_id: "transfer_devnet_solana_usdc", policy: { id: "transfer_devnet_solana_usdc", description: "Policy for transferring devnet solana usdc", required_role: "owner", required_vote_count: 1, policy_status: "Active", policy_type: "ChainSigTransaction", activation_time: "0", policy_details: { ChainSigTransaction: { derivation_path: "1", chain_environment: "SVM", restrictions: [ { method: "transferChecked", contract_id: "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", schema: [ { path: "$.args.amount", type: "BigInt" }, { path: "$.args.decimals", type: "BigInt" }, { path: "$.accounts.source", type: "String" }, { path: "$.accounts.mint", type: "String" }, { path: "$.accounts.destination", type: "String" }, { path: "$.accounts.authority", type: "String" }, ], interface: "", }, ], }, }, }, }, deadline_hours: 1, }, });