Struct sugar_cli::config::guard_data::GuardSet
source · pub struct GuardSet {Show 21 fields
pub bot_tax: Option<BotTax>,
pub sol_payment: Option<SolPayment>,
pub token_payment: Option<TokenPayment>,
pub start_date: Option<StartDate>,
pub third_party_signer: Option<ThirdPartySigner>,
pub token_gate: Option<TokenGate>,
pub gatekeeper: Option<Gatekeeper>,
pub end_date: Option<EndDate>,
pub allow_list: Option<AllowList>,
pub mint_limit: Option<MintLimit>,
pub nft_payment: Option<NftPayment>,
pub redeemed_amount: Option<RedeemedAmount>,
pub address_gate: Option<AddressGate>,
pub nft_gate: Option<NftGate>,
pub nft_burn: Option<NftBurn>,
pub token_burn: Option<TokenBurn>,
pub freeze_sol_payment: Option<FreezeSolPayment>,
pub freeze_token_payment: Option<FreezeTokenPayment>,
pub program_gate: Option<ProgramGate>,
pub allocation: Option<Allocation>,
pub token2022_payment: Option<Token2022Payment>,
}Expand description
The set of guards available.
Fields§
§bot_tax: Option<BotTax>Last instruction check and bot tax (penalty for invalid transactions).
sol_payment: Option<SolPayment>Sol payment guard (set the price for the mint in lamports).
token_payment: Option<TokenPayment>Token payment guard (set the price for the mint in spl-token amount).
start_date: Option<StartDate>Start data guard (controls when minting is allowed).
third_party_signer: Option<ThirdPartySigner>Third party signer guard.
token_gate: Option<TokenGate>Token gate guard (restricrt access to holders of a specific token).
gatekeeper: Option<Gatekeeper>Gatekeeper guard
end_date: Option<EndDate>End date guard
allow_list: Option<AllowList>Allow list guard
mint_limit: Option<MintLimit>Mint limit guard
nft_payment: Option<NftPayment>NFT Payment
redeemed_amount: Option<RedeemedAmount>Redeemed amount guard
address_gate: Option<AddressGate>Address gate (check access against a specified address)
nft_gate: Option<NftGate>NFT gate guard (check access based on holding a specified NFT)
nft_burn: Option<NftBurn>NFT burn guard (burn a specified NFT)
token_burn: Option<TokenBurn>Token burn guard (burn a specified amount of spl-token)
freeze_sol_payment: Option<FreezeSolPayment>Freeze sol payment guard (set the price for the mint in lamports with a freeze period).
freeze_token_payment: Option<FreezeTokenPayment>Freeze token payment guard (set the price for the mint in spl-token amount with a freeze period).
program_gate: Option<ProgramGate>Program gate guard (restricts the programs that can be in a mint transaction).
allocation: Option<Allocation>Allocation guard (specify the maximum number of mints in a group).
token2022_payment: Option<Token2022Payment>Token2022 payment guard (set the price for the mint in spl-token-2022 amount).