This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Abandon Planet | |
import { | |
PlanetLevel, | |
PlanetLevelNames, | |
} from "https://cdn.skypack.dev/@darkforest_eth/types"; | |
import { getPlanetName } from "https://cdn.skypack.dev/@darkforest_eth/procedural"; | |
const pg = { getPlanetName: getPlanetName }; | |
const ZERO_ADDRESS = "0x0000000000000000000000000000000000000000"; | |
class Plugin { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Abandon Planet | |
import { | |
PlanetLevel, | |
PlanetLevelNames, | |
} from "https://cdn.skypack.dev/@darkforest_eth/types"; | |
import { getPlanetName } from "https://cdn.skypack.dev/@darkforest_eth/procedural"; | |
const pg = { getPlanetName: getPlanetName }; | |
const ZERO_ADDRESS = "0x0000000000000000000000000000000000000000"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
ComponentValue, | |
EntityID, | |
Has, | |
HasValue, | |
Component as MUDComponent, | |
Metadata, | |
NotValue, | |
Schema, | |
Type, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
ComponentValue, | |
EntityID, | |
Has, | |
HasValue, | |
Component as MUDComponent, | |
Metadata, | |
NotValue, | |
Schema, | |
Type, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity >=0.8.24; | |
import { Keys_Map, Value_Map, Meta_Map } from "codegen/index.sol"; | |
library Map { | |
function has(bytes32 key, bytes32 value) internal view returns (bool) { | |
return Meta_Map.get(key, value).stored; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error creating coin: ContractFunctionExecutionError: The contract function "deploy" reverted with the following signature: | |
0xf0b986c0 | |
Unable to decode signature "0xf0b986c0" as it was not found on the provided ABI. | |
Make sure you are using the correct ABI and that the error exists on it. | |
You can look up the decoded signature here: https://openchain.xyz/signatures?query=0xf0b986c0. | |
Contract Call: | |
address: 0x777777751622c0d3258f214F9DF38E35BF45baF3 | |
function: deploy(address payoutRecipient, address[] owners, string uri, string name, string symbol, bytes poolConfig, address platformReferrer, uint256 orderSize) |