blackbull-sdk
Version:
An SDK for building applications on top of Blackbullswap
70 lines (69 loc) • 4.03 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "FullMathTest",
"sourceName": "contracts/pangolin-lib/test/FullMathTest.sol",
"abi": [
{
"inputs": [
{
"internalType": "uint256",
"name": "x",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "y",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "z",
"type": "uint256"
}
],
"name": "mulDiv",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "x",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "y",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "z",
"type": "uint256"
}
],
"name": "mulDivRoundingUp",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "pure",
"type": "function"
}
],
"bytecode": "0x608060405234801561001057600080fd5b5061027b806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80630af8b27f1461003b578063aa9a091214610076575b600080fd5b6100646004803603606081101561005157600080fd5b508035906020810135906040013561009f565b60408051918252519081900360200190f35b6100646004803603606081101561008c57600080fd5b50803590602081013590604001356100d9565b600080600083806100ac57fe5b858709119050806100be5760006100c1565b60015b60ff166100cf8686866100ee565b0195945050505050565b60006100e68484846100ee565b949350505050565b60008060006100fd86866101a8565b915091506000848061010b57fe5b86880990508281111561011f576001820391505b808303925084821061019257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f46756c6c4d6174683a2046554c4c4449565f4f564552464c4f57000000000000604482015290519081900360640190fd5b61019d8383876101d5565b979650505050505050565b60008080600019848609905083850292508281039150828110156101cd576001820391505b509250929050565b600081810382168083816101e557fe5b0492508085816101f157fe5b04945080816000038161020057fe5b6002858103808702820302808702820302808702820302808702820302808702820302808702820302958602900390940293046001019390930293909301029291505056fea2646970667358221220a1a2a24ed567b2d4a1fbc546da785b1b0435c233fce821edc3c972efeae35a6164736f6c63430007060033",
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c80630af8b27f1461003b578063aa9a091214610076575b600080fd5b6100646004803603606081101561005157600080fd5b508035906020810135906040013561009f565b60408051918252519081900360200190f35b6100646004803603606081101561008c57600080fd5b50803590602081013590604001356100d9565b600080600083806100ac57fe5b858709119050806100be5760006100c1565b60015b60ff166100cf8686866100ee565b0195945050505050565b60006100e68484846100ee565b949350505050565b60008060006100fd86866101a8565b915091506000848061010b57fe5b86880990508281111561011f576001820391505b808303925084821061019257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f46756c6c4d6174683a2046554c4c4449565f4f564552464c4f57000000000000604482015290519081900360640190fd5b61019d8383876101d5565b979650505050505050565b60008080600019848609905083850292508281039150828110156101cd576001820391505b509250929050565b600081810382168083816101e557fe5b0492508085816101f157fe5b04945080816000038161020057fe5b6002858103808702820302808702820302808702820302808702820302808702820302808702820302958602900390940293046001019390930293909301029291505056fea2646970667358221220a1a2a24ed567b2d4a1fbc546da785b1b0435c233fce821edc3c972efeae35a6164736f6c63430007060033",
"linkReferences": {},
"deployedLinkReferences": {}
}