cw_i2_creator_pkg/msgs/execute_msg.rs
1use cosmwasm_schema::cw_serde;
2use cosmwasm_std::{Binary, Coin};
3
4/// Lists the available execute messages for this contract
5#[cw_serde]
6pub enum ExecuteMsg {
7 Create {
8 /// The contract the signer wishes to call, through this contract
9 /// The authz execute will only happen if the key is allowed to
10 /// call the given method, as defined by access control
11 target_contract: String,
12 /// Whatever access control we decide is best, we name it
13 access_control_identifier: String,
14 /// The binary of the privileges / access control meant to be
15 /// deserialized and applied to guard logic, so that authz exec
16 /// is only called when the criteria is met.
17 /// ex: the sender is allowed to call function X on the target contract
18 access_control: Binary,
19 /// When the contract is instantiated, controls the preference
20 /// toward confirming the code_id hasn't changed
21 /// This can be overriden on the created contract
22 skip_code_id_check: bool,
23 /// Blanket rule that applies to how much funds can be sent
24 fund_limits: Vec<Coin>,
25 /// To future-proof, let's allow people to chuck in more info
26 extra: Option<Binary>,
27 },
28}