@soma-finance/core-contracts
Version:
SOMA Finance core contracts
78 lines (77 loc) • 1.66 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "ISomaEarnFactory",
"sourceName": "contracts/soma/SomaEarn/ISomaEarnFactory.sol",
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "asset",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "instance",
"type": "address"
}
],
"name": "SomaEarnCreated",
"type": "event"
},
{
"inputs": [],
"name": "CREATE_ROLE",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "asset",
"type": "address"
},
{
"internalType": "address",
"name": "withdrawTo",
"type": "address"
},
{
"internalType": "uint48",
"name": "startDate",
"type": "uint48"
},
{
"internalType": "uint48",
"name": "endDate",
"type": "uint48"
}
],
"name": "create",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}