UNPKG

@bagsfm/bags-sdk

Version:

TypeScript SDK for Bags

1,420 lines (1,419 loc) 141 kB
{ "address": "dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN", "metadata": { "name": "dynamic_bonding_curve", "version": "0.1.5", "spec": "0.1.0", "description": "Created with Anchor" }, "instructions": [ { "name": "claim_creator_trading_fee", "discriminator": [82, 220, 250, 189, 3, 85, 107, 45], "accounts": [ { "name": "pool_authority", "address": "FhVo3mqL8PW5pH5U2CN4XE33DokiyZnUwuGpH2hmHLuM" }, { "name": "pool", "writable": true }, { "name": "token_a_account", "docs": ["The treasury token a account"], "writable": true }, { "name": "token_b_account", "docs": ["The treasury token b account"], "writable": true }, { "name": "base_vault", "docs": ["The vault token account for input token"], "writable": true, "relations": ["pool"] }, { "name": "quote_vault", "docs": ["The vault token account for output token"], "writable": true, "relations": ["pool"] }, { "name": "base_mint", "docs": ["The mint of token a"], "relations": ["pool"] }, { "name": "quote_mint", "docs": ["The mint of token b"] }, { "name": "creator", "signer": true, "relations": ["pool"] }, { "name": "token_base_program", "docs": ["Token a program"] }, { "name": "token_quote_program", "docs": ["Token b program"] }, { "name": "event_authority", "pda": { "seeds": [ { "kind": "const", "value": [95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121] } ] } }, { "name": "program" } ], "args": [ { "name": "max_base_amount", "type": "u64" }, { "name": "max_quote_amount", "type": "u64" } ] }, { "name": "claim_protocol_fee", "discriminator": [165, 228, 133, 48, 99, 249, 255, 33], "accounts": [ { "name": "pool_authority", "address": "FhVo3mqL8PW5pH5U2CN4XE33DokiyZnUwuGpH2hmHLuM" }, { "name": "config", "relations": ["pool"] }, { "name": "pool", "writable": true }, { "name": "base_vault", "docs": ["The vault token account for input token"], "writable": true, "relations": ["pool"] }, { "name": "quote_vault", "docs": ["The vault token account for output token"], "writable": true, "relations": ["pool"] }, { "name": "base_mint", "docs": ["The mint of token a"], "relations": ["pool"] }, { "name": "quote_mint", "docs": ["The mint of token b"], "relations": ["config"] }, { "name": "token_base_account", "docs": ["The treasury token a account"], "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 48, 9, 89, 123, 106, 114, 131, 251, 50, 173, 254, 250, 10, 80, 160, 84, 143, 100, 81, 249, 134, 112, 30, 213, 50, 166, 239, 78, 53, 175, 188, 85 ] }, { "kind": "account", "path": "token_base_program" }, { "kind": "account", "path": "base_mint" } ], "program": { "kind": "const", "value": [ 140, 151, 37, 143, 78, 36, 137, 241, 187, 61, 16, 41, 20, 142, 13, 131, 11, 90, 19, 153, 218, 255, 16, 132, 4, 142, 123, 216, 219, 233, 248, 89 ] } } }, { "name": "token_quote_account", "docs": ["The treasury token b account"], "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 48, 9, 89, 123, 106, 114, 131, 251, 50, 173, 254, 250, 10, 80, 160, 84, 143, 100, 81, 249, 134, 112, 30, 213, 50, 166, 239, 78, 53, 175, 188, 85 ] }, { "kind": "account", "path": "token_quote_program" }, { "kind": "account", "path": "quote_mint" } ], "program": { "kind": "const", "value": [ 140, 151, 37, 143, 78, 36, 137, 241, 187, 61, 16, 41, 20, 142, 13, 131, 11, 90, 19, 153, 218, 255, 16, 132, 4, 142, 123, 216, 219, 233, 248, 89 ] } } }, { "name": "claim_fee_operator", "docs": ["Claim fee operator"] }, { "name": "operator", "docs": ["Operator"], "signer": true, "relations": ["claim_fee_operator"] }, { "name": "token_base_program", "docs": ["Token a program"] }, { "name": "token_quote_program", "docs": ["Token b program"] }, { "name": "event_authority", "pda": { "seeds": [ { "kind": "const", "value": [95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121] } ] } }, { "name": "program" } ], "args": [] }, { "name": "claim_trading_fee", "discriminator": [8, 236, 89, 49, 152, 125, 177, 81], "accounts": [ { "name": "pool_authority", "address": "FhVo3mqL8PW5pH5U2CN4XE33DokiyZnUwuGpH2hmHLuM" }, { "name": "config", "relations": ["pool"] }, { "name": "pool", "writable": true }, { "name": "token_a_account", "docs": ["The treasury token a account"], "writable": true }, { "name": "token_b_account", "docs": ["The treasury token b account"], "writable": true }, { "name": "base_vault", "docs": ["The vault token account for input token"], "writable": true, "relations": ["pool"] }, { "name": "quote_vault", "docs": ["The vault token account for output token"], "writable": true, "relations": ["pool"] }, { "name": "base_mint", "docs": ["The mint of token a"], "relations": ["pool"] }, { "name": "quote_mint", "docs": ["The mint of token b"], "relations": ["config"] }, { "name": "fee_claimer", "signer": true, "relations": ["config"] }, { "name": "token_base_program", "docs": ["Token a program"] }, { "name": "token_quote_program", "docs": ["Token b program"] }, { "name": "event_authority", "pda": { "seeds": [ { "kind": "const", "value": [95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121] } ] } }, { "name": "program" } ], "args": [ { "name": "max_amount_a", "type": "u64" }, { "name": "max_amount_b", "type": "u64" } ] }, { "name": "close_claim_fee_operator", "discriminator": [38, 134, 82, 216, 95, 124, 17, 99], "accounts": [ { "name": "claim_fee_operator", "writable": true }, { "name": "rent_receiver", "writable": true }, { "name": "admin", "signer": true }, { "name": "event_authority", "pda": { "seeds": [ { "kind": "const", "value": [95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121] } ] } }, { "name": "program" } ], "args": [] }, { "name": "create_claim_fee_operator", "docs": ["ADMIN FUNCTIONS ///"], "discriminator": [169, 62, 207, 107, 58, 187, 162, 109], "accounts": [ { "name": "claim_fee_operator", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [99, 102, 95, 111, 112, 101, 114, 97, 116, 111, 114] }, { "kind": "account", "path": "operator" } ] } }, { "name": "operator" }, { "name": "admin", "writable": true, "signer": true }, { "name": "system_program", "address": "11111111111111111111111111111111" }, { "name": "event_authority", "pda": { "seeds": [ { "kind": "const", "value": [95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121] } ] } }, { "name": "program" } ], "args": [] }, { "name": "create_config", "discriminator": [201, 207, 243, 114, 75, 111, 47, 189], "accounts": [ { "name": "config", "writable": true, "signer": true }, { "name": "fee_claimer" }, { "name": "leftover_receiver" }, { "name": "quote_mint", "docs": ["quote mint"] }, { "name": "payer", "writable": true, "signer": true }, { "name": "system_program", "address": "11111111111111111111111111111111" }, { "name": "event_authority", "pda": { "seeds": [ { "kind": "const", "value": [95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121] } ] } }, { "name": "program" } ], "args": [ { "name": "config_parameters", "type": { "defined": { "name": "ConfigParameters" } } } ] }, { "name": "create_locker", "docs": ["PERMISSIONLESS FUNCTIONS ///", "create locker"], "discriminator": [167, 90, 137, 154, 75, 47, 17, 84], "accounts": [ { "name": "virtual_pool", "docs": ["Virtual pool"], "writable": true }, { "name": "config", "docs": ["Config"], "relations": ["virtual_pool"] }, { "name": "pool_authority", "writable": true, "address": "FhVo3mqL8PW5pH5U2CN4XE33DokiyZnUwuGpH2hmHLuM" }, { "name": "base_vault", "writable": true, "relations": ["virtual_pool"] }, { "name": "base_mint", "writable": true, "relations": ["virtual_pool"] }, { "name": "base", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [98, 97, 115, 101, 95, 108, 111, 99, 107, 101, 114] }, { "kind": "account", "path": "virtual_pool" } ] } }, { "name": "creator", "relations": ["virtual_pool"] }, { "name": "escrow", "writable": true }, { "name": "escrow_token", "writable": true }, { "name": "payer", "writable": true, "signer": true }, { "name": "token_program" }, { "name": "locker_program", "address": "LocpQgucEQHbqNABEYvBvwoxCPsSbG91A1QaQhQQqjn" }, { "name": "locker_event_authority" }, { "name": "system_program", "docs": ["System program."], "address": "11111111111111111111111111111111" } ], "args": [] }, { "name": "create_partner_metadata", "docs": ["PARTNER FUNCTIONS ////"], "discriminator": [192, 168, 234, 191, 188, 226, 227, 255], "accounts": [ { "name": "partner_metadata", "docs": ["Partner metadata"], "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [112, 97, 114, 116, 110, 101, 114, 95, 109, 101, 116, 97, 100, 97, 116, 97] }, { "kind": "account", "path": "fee_claimer" } ] } }, { "name": "payer", "docs": ["Payer of the partner metadata."], "writable": true, "signer": true }, { "name": "fee_claimer", "docs": ["Fee claimer for partner"], "signer": true }, { "name": "system_program", "docs": ["System program."], "address": "11111111111111111111111111111111" }, { "name": "event_authority", "pda": { "seeds": [ { "kind": "const", "value": [95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121] } ] } }, { "name": "program" } ], "args": [ { "name": "metadata", "type": { "defined": { "name": "CreatePartnerMetadataParameters" } } } ] }, { "name": "create_virtual_pool_metadata", "discriminator": [45, 97, 187, 103, 254, 109, 124, 134], "accounts": [ { "name": "virtual_pool", "writable": true }, { "name": "virtual_pool_metadata", "docs": ["Virtual pool metadata"], "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [118, 105, 114, 116, 117, 97, 108, 95, 112, 111, 111, 108, 95, 109, 101, 116, 97, 100, 97, 116, 97] }, { "kind": "account", "path": "virtual_pool" } ] } }, { "name": "creator", "signer": true, "relations": ["virtual_pool"] }, { "name": "payer", "docs": ["Payer of the virtual pool metadata."], "writable": true, "signer": true }, { "name": "system_program", "docs": ["System program."], "address": "11111111111111111111111111111111" }, { "name": "event_authority", "pda": { "seeds": [ { "kind": "const", "value": [95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121] } ] } }, { "name": "program" } ], "args": [ { "name": "metadata", "type": { "defined": { "name": "CreateVirtualPoolMetadataParameters" } } } ] }, { "name": "creator_withdraw_surplus", "discriminator": [165, 3, 137, 7, 28, 134, 76, 80], "accounts": [ { "name": "pool_authority", "address": "FhVo3mqL8PW5pH5U2CN4XE33DokiyZnUwuGpH2hmHLuM" }, { "name": "config", "relations": ["virtual_pool"] }, { "name": "virtual_pool", "writable": true }, { "name": "token_quote_account", "docs": ["The receiver token account"], "writable": true }, { "name": "quote_vault", "docs": ["The vault token account for output token"], "writable": true, "relations": ["virtual_pool"] }, { "name": "quote_mint", "docs": ["The mint of quote token"], "relations": ["config"] }, { "name": "creator", "signer": true, "relations": ["virtual_pool"] }, { "name": "token_quote_program", "docs": ["Token b program"] }, { "name": "event_authority", "pda": { "seeds": [ { "kind": "const", "value": [95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121] } ] } }, { "name": "program" } ], "args": [] }, { "name": "initialize_virtual_pool_with_spl_token", "docs": ["POOL CREATOR FUNCTIONS ////"], "discriminator": [140, 85, 215, 176, 102, 54, 104, 79], "accounts": [ { "name": "config", "docs": ["Which config the pool belongs to."] }, { "name": "pool_authority", "address": "FhVo3mqL8PW5pH5U2CN4XE33DokiyZnUwuGpH2hmHLuM" }, { "name": "creator", "signer": true }, { "name": "base_mint", "writable": true, "signer": true }, { "name": "quote_mint", "relations": ["config"] }, { "name": "pool", "docs": ["Initialize an account to store the pool state"], "writable": true }, { "name": "base_vault", "docs": ["Token a vault for the pool"], "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [116, 111, 107, 101, 110, 95, 118, 97, 117, 108, 116] }, { "kind": "account", "path": "base_mint" }, { "kind": "account", "path": "pool" } ] } }, { "name": "quote_vault", "docs": ["Token b vault for the pool"], "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [116, 111, 107, 101, 110, 95, 118, 97, 117, 108, 116] }, { "kind": "account", "path": "quote_mint" }, { "kind": "account", "path": "pool" } ] } }, { "name": "mint_metadata", "writable": true }, { "name": "metadata_program", "address": "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s" }, { "name": "payer", "docs": ["Address paying to create the pool. Can be anyone"], "writable": true, "signer": true }, { "name": "token_quote_program", "docs": ["Program to create mint account and mint tokens"] }, { "name": "token_program", "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "system_program", "address": "11111111111111111111111111111111" }, { "name": "event_authority", "pda": { "seeds": [ { "kind": "const", "value": [95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121] } ] } }, { "name": "program" } ], "args": [ { "name": "params", "type": { "defined": { "name": "InitializePoolParameters" } } } ] }, { "name": "initialize_virtual_pool_with_token2022", "discriminator": [169, 118, 51, 78, 145, 110, 220, 155], "accounts": [ { "name": "config", "docs": ["Which config the pool belongs to."] }, { "name": "pool_authority", "address": "FhVo3mqL8PW5pH5U2CN4XE33DokiyZnUwuGpH2hmHLuM" }, { "name": "creator", "signer": true }, { "name": "base_mint", "docs": ["Unique token mint address, initialize in contract"], "writable": true, "signer": true }, { "name": "quote_mint", "relations": ["config"] }, { "name": "pool", "docs": ["Initialize an account to store the pool state"], "writable": true }, { "name": "base_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [116, 111, 107, 101, 110, 95, 118, 97, 117, 108, 116] }, { "kind": "account", "path": "base_mint" }, { "kind": "account", "path": "pool" } ] } }, { "name": "quote_vault", "docs": ["Token quote vault for the pool"], "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [116, 111, 107, 101, 110, 95, 118, 97, 117, 108, 116] }, { "kind": "account", "path": "quote_mint" }, { "kind": "account", "path": "pool" } ] } }, { "name": "payer", "docs": ["Address paying to create the pool. Can be anyone"], "writable": true, "signer": true }, { "name": "token_quote_program", "docs": ["Program to create mint account and mint tokens"] }, { "name": "token_program", "docs": ["token program for base mint"], "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb" }, { "name": "system_program", "address": "11111111111111111111111111111111" }, { "name": "event_authority", "pda": { "seeds": [ { "kind": "const", "value": [95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121] } ] } }, { "name": "program" } ], "args": [ { "name": "params", "type": { "defined": { "name": "InitializePoolParameters" } } } ] }, { "name": "migrate_meteora_damm", "discriminator": [27, 1, 48, 22, 180, 63, 118, 217], "accounts": [ { "name": "virtual_pool", "docs": ["virtual pool"], "writable": true, "relations": ["migration_metadata"] }, { "name": "migration_metadata", "writable": true }, { "name": "config", "relations": ["virtual_pool"] }, { "name": "pool_authority", "writable": true, "address": "FhVo3mqL8PW5pH5U2CN4XE33DokiyZnUwuGpH2hmHLuM" }, { "name": "pool", "writable": true }, { "name": "damm_config", "docs": ["pool config"] }, { "name": "lp_mint", "writable": true }, { "name": "token_a_mint", "writable": true }, { "name": "token_b_mint" }, { "name": "a_vault", "writable": true }, { "name": "b_vault", "writable": true }, { "name": "a_token_vault", "writable": true }, { "name": "b_token_vault", "writable": true }, { "name": "a_vault_lp_mint", "writable": true }, { "name": "b_vault_lp_mint", "writable": true }, { "name": "a_vault_lp", "writable": true }, { "name": "b_vault_lp", "writable": true }, { "name": "base_vault", "writable": true, "relations": ["virtual_pool"] }, { "name": "quote_vault", "writable": true, "relations": ["virtual_pool"] }, { "name": "virtual_pool_lp", "writable": true }, { "name": "protocol_token_a_fee", "writable": true }, { "name": "protocol_token_b_fee", "writable": true }, { "name": "payer", "writable": true, "signer": true }, { "name": "rent" }, { "name": "mint_metadata", "writable": true }, { "name": "metadata_program" }, { "name": "amm_program", "address": "Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB" }, { "name": "vault_program" }, { "name": "token_program", "docs": ["token_program"], "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "associated_token_program" }, { "name": "system_program", "docs": ["System program."], "address": "11111111111111111111111111111111" } ], "args": [] }, { "name": "migrate_meteora_damm_claim_lp_token", "discriminator": [139, 133, 2, 30, 91, 145, 127, 154], "accounts": [ { "name": "virtual_pool", "relations": ["migration_metadata"] }, { "name": "migration_metadata", "docs": ["migration metadata"], "writable": true }, { "name": "pool_authority", "writable": true, "address": "FhVo3mqL8PW5pH5U2CN4XE33DokiyZnUwuGpH2hmHLuM" }, { "name": "lp_mint", "relations": ["migration_metadata"] }, { "name": "source_token", "writable": true, "pda": { "seeds": [ { "kind": "account", "path": "pool_authority" }, { "kind": "const", "value": [ 6, 221, 246, 225, 215, 101, 161, 147, 217, 203, 225, 70, 206, 235, 121, 172, 28, 180, 133, 237, 95, 91, 55, 145, 58, 140, 245, 133, 126, 255, 0, 169 ] }, { "kind": "account", "path": "migration_metadata" } ], "program": { "kind": "const", "value": [ 140, 151, 37, 143, 78, 36, 137, 241, 187, 61, 16, 41, 20, 142, 13, 131, 11, 90, 19, 153, 218, 255, 16, 132, 4, 142, 123, 216, 219, 233, 248, 89 ] } } }, { "name": "destination_token", "writable": true, "pda": { "seeds": [ { "kind": "account", "path": "owner" }, { "kind": "const", "value": [ 6, 221, 246, 225, 215, 101, 161, 147, 217, 203, 225, 70, 206, 235, 121, 172, 28, 180, 133, 237, 95, 91, 55, 145, 58, 140, 245, 133, 126, 255, 0, 169 ] }, { "kind": "account", "path": "migration_metadata" } ], "program": { "kind": "const", "value": [ 140, 151, 37, 143, 78, 36, 137, 241, 187, 61, 16, 41, 20, 142, 13, 131, 11, 90, 19, 153, 218, 255, 16, 132, 4, 142, 123, 216, 219, 233, 248, 89 ] } } }, { "name": "owner" }, { "name": "sender", "signer": true }, { "name": "token_program", "docs": ["token_program"], "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" } ], "args": [] }, { "name": "migrate_meteora_damm_lock_lp_token", "discriminator": [177, 55, 238, 157, 251, 88, 165, 42], "accounts": [ { "name": "virtual_pool", "relations": ["migration_metadata"] }, { "name": "migration_metadata", "docs": ["migration_metadata"], "writable": true }, { "name": "pool_authority", "writable": true, "address": "FhVo3mqL8PW5pH5U2CN4XE33DokiyZnUwuGpH2hmHLuM" }, { "name": "pool", "writable": true, "relations": ["lock_escrow"] }, { "name": "lp_mint", "relations": ["migration_metadata"] }, { "name": "lock_escrow", "writable": true }, { "name": "owner", "relations": ["lock_escrow"] }, { "name": "source_tokens", "writable": true, "pda": { "seeds": [ { "kind": "account", "path": "pool_authority" }, { "kind": "const", "value": [ 6, 221, 246, 225, 215, 101, 161, 147, 217, 203, 225, 70, 206, 235, 121, 172, 28, 180, 133, 237, 95, 91, 55, 145, 58, 140, 245, 133, 126, 255, 0, 169 ] }, { "kind": "account", "path": "migration_metadata" } ], "program": { "kind": "const", "value": [ 140, 151, 37, 143, 78, 36, 137, 241, 187, 61, 16, 41, 20, 142, 13, 131, 11, 90, 19, 153, 218, 255, 16, 132, 4, 142, 123, 216, 219, 233, 248, 89 ] } } }, { "name": "escrow_vault", "writable": true }, { "name": "amm_program", "address": "Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB" }, { "name": "a_vault" }, { "name": "b_vault" }, { "name": "a_vault_lp" }, { "name": "b_vault_lp" }, { "name": "a_vault_lp_mint" }, { "name": "b_vault_lp_mint" }, { "name": "token_program", "docs": ["token_program"], "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" } ], "args": [] }, { "name": "migration_damm_v2", "discriminator": [156, 169, 230, 103, 53, 228, 80, 64], "accounts": [ { "name": "virtual_pool", "docs": ["virtual pool"], "writable": true, "relations": ["migration_metadata"] }, { "name": "migration_metadata", "docs": ["migration metadata"] }, { "name": "config", "docs": ["virtual pool config key"], "relations": ["virtual_pool"] }, { "name": "pool_authority", "writable": true, "address": "FhVo3mqL8PW5pH5U2CN4XE33DokiyZnUwuGpH2hmHLuM" }, { "name": "pool", "writable": true }, { "name": "first_position_nft_mint", "writable": true }, { "name": "first_position_nft_account", "writable": true }, { "name": "first_position", "writable": true }, { "name": "second_position_nft_mint", "writable": true, "optional": true }, { "name": "second_position_nft_account", "writable": true, "optional": true }, { "name": "second_position", "writable": true, "optional": true }, { "name": "damm_pool_authority" }, { "name": "amm_program", "address": "cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG" }, { "name": "base_mint", "writable": true }, { "name": "quote_mint", "writable": true }, { "name": "token_a_vault", "writable": true }, { "name": "token_b_vault", "writable": true }, { "name": "base_vault", "writable": true, "relations": ["virtual_pool"] }, { "name": "quote_vault", "writable": true, "relations": ["virtual_pool"] }, { "name": "payer", "writable": true, "signer": true }, { "name": "token_base_program" }, { "name": "token_quote_program" }, { "name": "token_2022_program" }, { "name": "damm_event_authority" }, { "name": "system_program", "docs": ["System program."], "address": "11111111111111111111111111111111" } ], "args": [] }, { "name": "migration_damm_v2_create_metadata", "discriminator": [109, 189, 19, 36, 195, 183, 222, 82], "accounts": [ { "name": "virtual_pool" }, { "name": "config", "relations": ["virtual_pool"] }, { "name": "migration_metadata", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [100, 97, 109, 109, 95, 118, 50] }, {