153 lines
3.0 KiB
JSON
153 lines
3.0 KiB
JSON
{
|
|
"compiler": {
|
|
"version": "0.8.26+commit.8a97fa7a"
|
|
},
|
|
"language": "Solidity",
|
|
"output": {
|
|
"abi": [
|
|
{
|
|
"inputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "constructor"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "completed",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "MigrationCompleted",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "previousOwner",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "newOwner",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "OwnershipTransferred",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "lastCompletedMigration",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "owner",
|
|
"outputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "completed",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "setCompleted",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "newOwner",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "transferOwnership",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
}
|
|
],
|
|
"devdoc": {
|
|
"details": "Contract to manage migration stages with ownership and event tracking.",
|
|
"kind": "dev",
|
|
"methods": {
|
|
"constructor": {
|
|
"details": "Constructor sets the initial owner of the contract"
|
|
},
|
|
"setCompleted(uint256)": {
|
|
"details": "Allows the owner to set the completed migration stage.",
|
|
"params": {
|
|
"completed": "The new completed migration stage."
|
|
}
|
|
},
|
|
"transferOwnership(address)": {
|
|
"details": "Transfers ownership of the contract to a new address.",
|
|
"params": {
|
|
"newOwner": "The address to transfer ownership to."
|
|
}
|
|
}
|
|
},
|
|
"title": "Migrations",
|
|
"version": 1
|
|
},
|
|
"userdoc": {
|
|
"kind": "user",
|
|
"methods": {},
|
|
"version": 1
|
|
}
|
|
},
|
|
"settings": {
|
|
"compilationTarget": {
|
|
"contracts/Migrations.sol": "Migrations"
|
|
},
|
|
"evmVersion": "cancun",
|
|
"libraries": {},
|
|
"metadata": {
|
|
"bytecodeHash": "ipfs"
|
|
},
|
|
"optimizer": {
|
|
"enabled": false,
|
|
"runs": 200
|
|
},
|
|
"remappings": []
|
|
},
|
|
"sources": {
|
|
"contracts/Migrations.sol": {
|
|
"keccak256": "0xeb373f8b87ce8ecc6e537da19b6461b3588fa0acaa58c557f311c3bf5457793e",
|
|
"license": "GPL-3.0",
|
|
"urls": [
|
|
"bzz-raw://6344c6da5982c648eb031686fa18eccd25b923ed340f1736ced4b286ad98c6d8",
|
|
"dweb:/ipfs/QmSLkjToVqHqua36MJ6ruwfMF4Mo3oNBq4TYY8627U7gVy"
|
|
]
|
|
}
|
|
},
|
|
"version": 1
|
|
} |