contracts
contracts copied to clipboard
Smart contracts comprising the business logic of the Matic Network
``` function _calculateCheckpointReward(uint256 blockInterval, uint256 signedStakePower, uint256 currentTotalStake) internal returns (uint256) { // ...... if (blockInterval > targetBlockInterval) { // count how many full intervals uint256 _rewardDecreasePerCheckpoint = rewardDecreasePerCheckpoint; //...
This issue, and all previous issues, are based on the latest version of the Main branch. Author: Jaynti Kanani #mailto:[email protected] Date: 6 months ago (2022/1/26 16:43:04) Committer: GitHub #mailto:[email protected] Commit...
This issue and the two preceding issues is about the code at the latest version of the Main branch currently. Author: Jaynti Kanani #mailto:[email protected] Date: 6 months ago (2022/1/26 16:43:04)...
``` function slash(bytes calldata _slashingInfoList) external returns (uint256) { // ...... for (; i < slashingInfoList.length; i++) { // ...... jailedAmount = jailedAmount.add(_jail(validatorId, 1)); valJailed++; } updateTimeline(-int256(totalAmount.add(jailedAmount)), -valJailed, 0); //...
contracts\staking\stakeManager\StakeManagerExtension.sol ``` function startAuction( uint256 validatorId, uint256 amount, bool _acceptDelegation, bytes calldata _signerPubkey ) external ................................................................. uint256 senderValidatorId = signerToValidator[msg.sender]; require( NFTContract.balanceOf(msg.sender) == 0 && // existing validators can't bid...
Metamask Wallet 1: 0x1fC48b6203a979A2B00d084dE6237E8FEFAE1e22 Metamask Wallet 2: 0x445dcC303d621953920581E1C83a26c37875a5D0 Actions Taken: 1) In Wallet 1, I bridged 19.98 USDC from Polygon to xDai and back to Polygon network using https://xpollinate.io/ ....
this contract, according to app.aave.com discord support server: [[0x357D51124f59836DeD84c8a1730D72B749d8BC23](https://polygonscan.com/address/0x357d51124f59836ded84c8a1730d72b749d8bc23) is funded by polygon. the contract has run to 0 $matic, and thus the aave contract that allows withdrawal of aave...
Hello there! We are NOWNodes team. We provide dedicated access to MATIC node. Really like to work with this node! Follow your progress! Ask you for help! We have an...
Anybody please help what _fxERC20Token is in constructor. https://docs.polygon.technology/docs/develop/l1-l2-communication/fx-portal#fxerc20roottunnel https://goerli.etherscan.io/address/0x3658ccFDE5e9629b0805EB06AaCFc42416850961#code#F1#L25
I need to publish NFT through web3js > const tx = new Tx(txObject, { chain: '80001' }); What is the value of chain? mainnet & testnet