Contracts
The Hub Layer is EVM compatible. Therefore, any contract in the Ethereum ecosystem can be migrated to the Oasys without any additional modifications. Furthermore, any existing developer tools such as Truffle or web3.js are also compatible. Thus, there is no friction for developers. The development experience is the same as with Ethereum.
The Verse layer is designed to be the optimal environment for developing games on Oasys, while the Oasys Hub serves as the security layer for the Verse layer. It functions as a public space for game developers. We did not design it to host a large number of contracts unrelated to gaming, such as DeFi contracts.
This is why the Hub layer is not open for contract deployment.
Preset Contracts
The Hub Layer includes a set of preset contracts that are essential to our ecosystem. Here is the list:
Name | Description | Address | Referenced Code |
---|---|---|---|
StakeManager | The core contract of the proof-of-stake. | 0x0000000000000000000000000000000000001001 | StakeManager.sol |
Environment | The Environment contract has parameters for proof-of-stake. | 0x0000000000000000000000000000000000001000 | Environment.sol |
OASMultiTransfer | A utility contract to transfer multiple OAS tokens in a single transaction. | 0x520000000000000000000000000000000000002c | OASMultiTransfer.sol |
WOAS | Wrapped Oasys Token. An ERC-20 standard token designed for easy token swaping. | 0x5200000000000000000000000000000000000001 | WOAS.sol |
SOAS | Stakeable Oasys Token. | 0x5200000000000000000000000000000000000002 | SOAS.sol |
LOAS | Locked Oasys Token. | 0x5200000000000000000000000000000000000023 | LOAS.sol |
L1StandardERC20Factory | Contract that deploys the Oasys Standard ERC20. | 0x5200000000000000000000000000000000000004 | L1StandardERC20Factory.sol |
L1StandardERC721Factory | Contract that deploys the Oasys Standard ERC721. | 0x5200000000000000000000000000000000000005 | L1StandardERC721Factory.sol |
Multicall2 | Aggregate results from multiple function calls | 0x5200000000000000000000000000000000000022 | Multicall2.sol |
ERC20 Contracts
These are the contract addresses that are supported bridging from Ethereum through cBridge, maintained by Celer.
Name | Address |
---|---|
USDT | 0xDc3af65eCBD339309Ec55F109CB214E0325c5eD4 |
USDC | 0xE1aB220E37AC55A4E2dD5Ba148298A9c09fBD716 |
TCGC | 0xdDB07cc0f2F9fB7899DbA5a21964f3C6D2740e44 |
MCHC | 0x5B1CC635E524cAbb63a581c050C895534755F297 |
EPL | 0xd2e426eA2fFa72DD1DC75e7bD148fb959E3E04b2 |