This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "string", | |
"name": "_name", | |
"type": "string" | |
}, | |
{ | |
"internalType": "string", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"inputs": [], | |
"name": "INSUFFICENT_POINTS", | |
"type": "error" | |
}, | |
{ | |
"inputs": [], | |
"name": "INVALID_INPUT", | |
"type": "error" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "_token0", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"inputs": [], | |
"name": "INSUFFICENT_POINTS", | |
"type": "error" | |
}, | |
{ | |
"inputs": [], | |
"name": "INVALID_INPUT", | |
"type": "error" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"abi": [ | |
{ | |
"inputs": [], | |
"name": "INSUFFICENT_POINTS", | |
"type": "error" | |
}, | |
{ | |
"inputs": [], | |
"name": "INVALID_INPUT", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
contract MsgData { | |
function _fromUint(bytes memory data) internal pure returns(uint256 value) { | |
uint256 value1; | |
uint256 value2; | |
assembly { | |
value1 := mload(add(data, 36)) | |
value2 := mload(add(data, 68)) | |
value := add(value1, value2) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity 0.5.17; | |
/* | |
____ __ __ __ _ | |
/ __/__ __ ___ / /_ / / ___ / /_ (_)__ __ | |
_\ \ / // // _ \/ __// _ \/ -_)/ __// / \ \ / | |
/___/ \_, //_//_/\__//_//_/\__/ \__//_/ /_\_\ | |
/___/ | |
* Synthetix: StakingRewards.sol |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
*Submitted for verification at BscScan.com on 2022-07-24 | |
*/ | |
/** | |
*Submitted for verification at BscScan.com on 2022-06-17 | |
*/ | |
// SPDX-License-Identifier: MIT | |
pragma solidity >=0.7.0 <0.8.0; |