test-contracts-sovryn
Version:
Smart contracts for the Sovryn protocol and external integrations.
196 lines (195 loc) • 7.6 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "VestingStorage",
"sourceName": "contracts/governance/Vesting/VestingStorage.sol",
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
},
{
"constant": true,
"inputs": [],
"name": "SOV",
"outputs": [
{
"internalType": "contract IERC20",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "cliff",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "duration",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "endDate",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "feeSharingProxy",
"outputs": [
{
"internalType": "contract IFeeSharingProxy",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "isOwner",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "staking",
"outputs": [
{
"internalType": "contract Staking",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "startDate",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "tokenOwner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x608060405260006100176001600160e01b0361006616565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35061006a565b3390565b610342806100796000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80636a26b57f116100715780636a26b57f146101045780638da5cb5b1461010c5780638f32d59b14610114578063a3e6761014610130578063c24a0f8b14610138578063f2fde38b14610140576100a9565b806308dcb360146100ae5780630b97bc86146100d25780630fb5a6b4146100ec57806313d033c0146100f45780634cf088d9146100fc575b600080fd5b6100b6610168565b604080516001600160a01b039092168252519081900360200190f35b6100da610177565b60408051918252519081900360200190f35b6100da61017d565b6100da610183565b6100b6610189565b6100b6610198565b6100b66101a7565b61011c6101b6565b604080519115158252519081900360200190f35b6100b66101da565b6100da6101e9565b6101666004803603602081101561015657600080fd5b50356001600160a01b03166101ef565b005b6001546001600160a01b031681565b60075481565b60065481565b60055481565b6002546001600160a01b031681565b6004546001600160a01b031681565b6000546001600160a01b031690565b600080546001600160a01b03166101cb610243565b6001600160a01b031614905090565b6003546001600160a01b031681565b60085481565b6101f76101b6565b610237576040805162461bcd60e51b815260206004820152600c60248201526b1d5b985d5d1a1bdc9a5e995960a21b604482015290519081900360640190fd5b61024081610247565b50565b3390565b6001600160a01b03811661028c5760405162461bcd60e51b81526004018080602001828103825260268152602001806102e86026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b039290921691909117905556fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a265627a7a723158209d8c44b8b65acd9326404446b6451611a73b37f290a7ff1d325b3a05478bf7a064736f6c63430005110032",
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100a95760003560e01c80636a26b57f116100715780636a26b57f146101045780638da5cb5b1461010c5780638f32d59b14610114578063a3e6761014610130578063c24a0f8b14610138578063f2fde38b14610140576100a9565b806308dcb360146100ae5780630b97bc86146100d25780630fb5a6b4146100ec57806313d033c0146100f45780634cf088d9146100fc575b600080fd5b6100b6610168565b604080516001600160a01b039092168252519081900360200190f35b6100da610177565b60408051918252519081900360200190f35b6100da61017d565b6100da610183565b6100b6610189565b6100b6610198565b6100b66101a7565b61011c6101b6565b604080519115158252519081900360200190f35b6100b66101da565b6100da6101e9565b6101666004803603602081101561015657600080fd5b50356001600160a01b03166101ef565b005b6001546001600160a01b031681565b60075481565b60065481565b60055481565b6002546001600160a01b031681565b6004546001600160a01b031681565b6000546001600160a01b031690565b600080546001600160a01b03166101cb610243565b6001600160a01b031614905090565b6003546001600160a01b031681565b60085481565b6101f76101b6565b610237576040805162461bcd60e51b815260206004820152600c60248201526b1d5b985d5d1a1bdc9a5e995960a21b604482015290519081900360640190fd5b61024081610247565b50565b3390565b6001600160a01b03811661028c5760405162461bcd60e51b81526004018080602001828103825260268152602001806102e86026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b039290921691909117905556fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a265627a7a723158209d8c44b8b65acd9326404446b6451611a73b37f290a7ff1d325b3a05478bf7a064736f6c63430005110032",
"linkReferences": {},
"deployedLinkReferences": {}
}