UNPKG

@surec/oracle

Version:

Typescript SDK for the Sure Oracle to be used to bring off-chain data on-chain

18 lines 1.14 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BASE_PK = exports.SURE_MINT = exports.SURE_ORACLE_CONFIG_SEED = exports.SURE_ORACLE_REVEAL_ARRAY_SEED = exports.SURE_ORACLE_VOTE_SEED = exports.SURE_ORACLE_SEED = exports.SURE_ADDRESSES = void 0; const tslib_1 = require("tslib"); const web3 = tslib_1.__importStar(require("@solana/web3.js")); const anchor = tslib_1.__importStar(require("@project-serum/anchor")); exports.SURE_ADDRESSES = { Oracle: new web3.PublicKey('2prR7H6LfRqwiP2iTyZG1suG4B3zU6JEpUBXWeQB66qH'), }; /// SEEDS exports.SURE_ORACLE_SEED = anchor.utils.bytes.utf8.encode('sure-oracle'); exports.SURE_ORACLE_VOTE_SEED = anchor.utils.bytes.utf8.encode('sure-oracle-vote'); exports.SURE_ORACLE_REVEAL_ARRAY_SEED = anchor.utils.bytes.utf8.encode('sure-oracle-reveal-array'); exports.SURE_ORACLE_CONFIG_SEED = anchor.utils.bytes.utf8.encode('sure-oracle-config'); /// sure token exports.SURE_MINT = new web3.PublicKey('SRECjPkvN8TYEycXePc1ix3zGzZkWoYPMfJAKoJkcWj'); exports.BASE_PK = new web3.PublicKey('rYhoVCsVF8dahDpAYUZ9sDygLbhoVgRcczMxnQhWWjg'); //# sourceMappingURL=constants.js.map