Pulse Contract
Last updated
Last updated
Pulse is new contract for automatic user operations.
Please check below to discover details of Pulse.
Contract name: Pulse
Contract address: 0x7558D2fbD1615051F82e8480138FF8C76f21E430
View Pulse.sol on GitHub.
View the Scads: Pulse contract on BscScan.
function circulate() public
Scads Service runs this function every 12 hours. This function includes main operations like $SNACKS buy/buyback, deposit/claim in Snacks Staking, create/stake SCADS-BUSD LP in Farm automatically.
Please check here to discover more details of Scads Service
function buySnacks(IERC20 _snacks, uint256 _amount, uint256 rate) public
_snacks:
$SNACKS token address
_amount:
desired $SNACKS amount to buy
rate
: convert rate between $SNACKS and $SCADS
function redeemSnacks(IERC20 _snacks, uint256 _amount) public
_snacks:
$SNACKS token address
_amount:
desired $SNACKS amount to buy
function depositSnacks(uint256 amount) public
amount:
desired $SNACKS amount to deposit
function swapBusd(uint256 amount) public returns(uint256)
amount:
$SCADS amount to swap BUSD
function addLiquidity(uint256 amount) public returns(uint256)
amount:
SCADS-BUSD LP to be added
function depositLP(uint256 amount) public
amount:
SCADS-BUSD LP to be deposited in Farm
function calculateBuyAmount(IERC20 _snacks, uint256 _amount, uint256 rate) view public returns (uint256)
_snacks:
$SNACKS token address
_amount:
desired $SNACKS amount to buy
rate
: convert rate between $SNACKS and $SCADS