7. Deposit DAI to Private Pool
Last updated
Last updated
Deposit DAI to private liquidity pool.
TBD: Narratives & Differences between public pool and private pool
Item
Description
Contract Address
Private pool contract (referenced by Smart Contract Overview section)
Contract Name
SLDDAIPools2.sol
Function
function provide(uint256 mintAmount)
Function Selector
0x2e2ebe06
Invocation Type
Ethereum Transaction
Passing Parameters
Amount of DAIs to deposit; actual number multiplied by 1E18
Return Value
None
Event Emitted
event ProvideLP2(address indexed account, uint256 amount);
Event Signature
0x26a27ab2f158d9fe04dea4c221634a0d50bdbb2a9fcdcc1960567eefa9c2ed0a
Transaction Sample(BSC testnet)
POST
(BSC Mainnet) https://bsc-dataseed.binance.org/
Make a deposit transaction to Shield Protocol V1 on BSC network. More details on how to send a transaction via BSC RPC could be found here, https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sendrawtransaction
jsonrpc
string
"2.0"
method
string
"eth_sendRawTransaction"
params
array
the signed transaction data coerced into string array
id
number
request sequence id, you could use timestamp as id