@socket.tech/surge-gameplay
Version:
Smart contracts for Socket Surge - a blockchain-based battle royale game
105 lines (104 loc) • 4.64 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.Contracts = exports.Events = void 0;
var Events;
(function (Events) {
Events["GameGatewayInitialized"] = "GameGatewayInitialized";
Events["BondingCurveSet"] = "BondingCurveSet";
Events["UserVaultGatewaySet"] = "UserVaultGatewaySet";
Events["GameSet"] = "GameSet";
Events["GamePlugSet"] = "GamePlugSet";
Events["MaxFeesSet"] = "MaxFeesSet";
Events["ChainAdded"] = "ChainAdded";
Events["ChainRemoved"] = "ChainRemoved";
Events["ChainSetInactive"] = "ChainSetInactive";
Events["ChainGraduationStarted"] = "ChainGraduationStarted";
Events["ChainGraduated"] = "ChainGraduated";
Events["TotalTerritoriesIncreased"] = "TotalTerritoriesIncreased";
Events["TotalTerritoriesDecreased"] = "TotalTerritoriesDecreased";
Events["WarCoinPurchased"] = "WarCoinPurchased";
Events["WarCoinSold"] = "WarCoinSold";
Events["BuyFromBondingReverted"] = "BuyFromBondingReverted";
Events["SellToBondingCompleted"] = "SellToBondingCompleted";
Events["VoteCast"] = "VoteCast";
Events["LiquidityRugged"] = "LiquidityRugged";
Events["PoolPumped"] = "PoolPumped";
Events["USDCBurned"] = "USDCBurned";
Events["RugRewardsDistributed"] = "RugRewardsDistributed";
Events["PoolBalanceIncreased"] = "PoolBalanceIncreased";
Events["PoolBalanceDecreased"] = "PoolBalanceDecreased";
Events["SUSDCTransferReceived"] = "SUSDCTransferReceived";
Events["LiquidityRemovalCallback"] = "LiquidityRemovalCallback";
Events["RuggedUSDCReceived"] = "RuggedUSDCReceived";
Events["TransactionRevert"] = "TransactionRevert";
Events["RugRevert"] = "RugRevert";
Events["PumpRevert"] = "PumpRevert";
Events["BattleResolved"] = "BattleResolved";
Events["RugCalculated"] = "RugCalculated";
Events["TerritoryOwnershipChanged"] = "TerritoryOwnershipChanged";
Events["EpochEnded"] = "EpochEnded";
Events["TerritoryAdded"] = "TerritoryAdded";
Events["VoteProcessed"] = "VoteProcessed";
Events["WarCoinBought"] = "WarCoinBought";
Events["WarCoinSwapped"] = "WarCoinSwapped";
Events["VoteSubmitted"] = "VoteSubmitted";
Events["WarCoinLocked"] = "WarCoinLocked";
Events["GameContractSet"] = "GameContractSet";
Events["WarCoinPurchaseFailed"] = "WarCoinPurchaseFailed";
Events["WarCoinSaleFailed"] = "WarCoinSaleFailed";
Events["USDCWithdrawn"] = "USDCWithdrawn";
})(Events = exports.Events || (exports.Events = {}));
// Socket
// ExecutionSuccess = "ExecutionSuccess",
// ExecutionFailed = "ExecutionFailed",
// PlugConnected = "PlugConnected",
// AppGatewayCallRequested = "AppGatewayCallRequested",
// // FeesPlug
// FeesDeposited = "FeesDeposited",
// // Watcher
// TriggerFailed = "TriggerFailed",
// TriggerSucceeded = "TriggerSucceeded",
// // PromiseResolver
// PromiseResolved = "PromiseResolved",
// PromiseNotResolved = "PromiseNotResolved",
// MarkedRevert = "MarkedRevert",
// // Configurations
// PlugAdded = "PlugAdded",
// // RequestHandler
// RequestSubmitted = "RequestSubmitted",
// RequestCancelled = "RequestCancelled",
// FeesIncreased = "FeesIncreased",
// RequestSettled = "RequestSettled",
// RequestCompletedWithErrors = "RequestCompletedWithErrors",
// // WritePrecompile
// WriteProofRequested = "WriteProofRequested",
// WriteProofUploaded = "WriteProofUploaded",
// // ReadPrecompile
// ReadRequested = "ReadRequested",
// // SchedulePrecompile
// ScheduleRequested = "ScheduleRequested",
// ScheduleResolved = "ScheduleResolved",
// // AuctionManager
// AuctionEnded = "AuctionEnded",
// AuctionRestarted = "AuctionRestarted",
var Contracts;
(function (Contracts) {
Contracts["GamePlug"] = "GamePlug";
Contracts["GamePlugInk"] = "GamePlugInk";
Contracts["GamePlugImpl"] = "GamePlugImpl";
Contracts["GamePlugInkImpl"] = "GamePlugInkImpl";
Contracts["SUSDC"] = "SUSDC";
Contracts["UserVaultDeployer"] = "UserVaultDeployer";
Contracts["UserVaultDeployerImpl"] = "UserVaultDeployerImpl";
Contracts["WarCoin"] = "WarCoin";
Contracts["GameGateway"] = "GameGateway";
Contracts["GameGatewayImpl"] = "GameGatewayImpl";
Contracts["UserVaultGateway"] = "UserVaultGateway";
Contracts["UserVaultGatewayImpl"] = "UserVaultGatewayImpl";
Contracts["UniswapRouter"] = "UniswapRouter";
Contracts["ERC1967Factory"] = "ERC1967Factory";
Contracts["Game"] = "Game";
Contracts["GameImpl"] = "GameImpl";
Contracts["BondingCurve"] = "BondingCurve";
Contracts["BondingCurveImpl"] = "BondingCurveImpl";
})(Contracts = exports.Contracts || (exports.Contracts = {}));
;