UNPKG

hadeswap-sdk

Version:

HadeSwap SDK for interacting with protocol

15 lines (14 loc) 977 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.HADES_FUNDS_VAULT_PREFIX = exports.METADATA_PROGRAM_PUBKEY = exports.AUTHORIZATION_RULES_PROGRAM = exports.EDITION_PREFIX = exports.METADATA_PREFIX = exports.TOKEN_RECORD = exports.SOL_FUNDS_VAULT_PREFIX = exports.NFTS_OWNER_PREFIX = exports.LOT_PREFIX = exports.ENCODER = void 0; const anchor_1 = require("@project-serum/anchor"); exports.ENCODER = new TextEncoder(); exports.LOT_PREFIX = 'auction_lot'; exports.NFTS_OWNER_PREFIX = 'nfts_owner'; exports.SOL_FUNDS_VAULT_PREFIX = 'sol_funds_vault'; exports.TOKEN_RECORD = 'token_record'; exports.METADATA_PREFIX = 'metadata'; exports.EDITION_PREFIX = 'edition'; exports.AUTHORIZATION_RULES_PROGRAM = new anchor_1.web3.PublicKey("auth9SigNpDKz4sJJ1DfCTuZrZNSAgh9sFD3rboVmgg"); exports.METADATA_PROGRAM_PUBKEY = new anchor_1.web3.PublicKey('metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s'); exports.HADES_FUNDS_VAULT_PREFIX = 'hades_funds_vault';