feat(admin): complete admin console with 100M WUSD faucet, market wizard, governance and adjudication

This commit is contained in:
Bot
2026-08-31 00:38:19 +08:00
parent 1e9b9bd0b2
commit acc5274a1e
22 changed files with 8293 additions and 2 deletions
+263
View File
@@ -0,0 +1,263 @@
[
{
"inputs": [
{
"internalType": "string",
"name": "name_",
"type": "string"
},
{
"internalType": "string",
"name": "symbol_",
"type": "string"
},
{
"internalType": "uint8",
"name": "decimals_",
"type": "uint8"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "decimals",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "mint",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
]
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+33
View File
@@ -0,0 +1,33 @@
import WTFControllerV2Abi from './abis/WTFControllerV2.json';
import MockERC20Abi from './abis/MockERC20.json';
import WTFMarketV2Abi from './abis/WTFMarketV2.json';
import robinhoodTestnetDeployment from './robinhoodTestnet.json';
export const ABIS = {
WTFControllerV2: WTFControllerV2Abi,
MockERC20: MockERC20Abi,
WTFMarketV2: WTFMarketV2Abi
};
export const DEPLOYMENTS = {
robinhoodTestnet: robinhoodTestnetDeployment
};
export const ROBINHOOD_TESTNET_CHAIN = {
id: 46630,
name: 'Robinhood Chain Testnet',
network: 'robinhood-testnet',
nativeCurrency: {
name: 'ETH',
symbol: 'ETH',
decimals: 18
},
rpcUrls: {
default: {
http: ['https://rpc.testnet.chain.robinhood.com']
},
public: {
http: ['https://rpc.testnet.chain.robinhood.com']
}
}
};
@@ -0,0 +1,18 @@
{
"network": "robinhoodTestnet",
"chainId": "46630",
"timestamp": "2026-08-30T16:20:37.562Z",
"deployer": "0x6cddF384792C77219fc25C454Cfe264757842830",
"contracts": {
"collateral": "0xe776e957953EA69b7Eaa9d7d4098aBC076bDD5E7",
"powerLDACurve": "0xF0E189974c413506098AFB6Bc6Bf4C6715fBf7B1",
"controllerImplementation": "0x2Aeca49669e9E4E6CdCe46A1bc9bf136765A4f75",
"controllerProxy": "0xc0E24E152771C588B21AEB654b30B1cBAf381c1a"
},
"governance": {
"admin": "0x6cddF384792C77219fc25C454Cfe264757842830",
"treasury": "0x6cddF384792C77219fc25C454Cfe264757842830",
"defaultFeeRate": "6000000000000000",
"adminTransferDelay": 259200
}
}