diff --git a/dist/api/evm/abis/Config.json b/dist/api/evm/abis/Config.json new file mode 100644 index 00000000..83160c6c --- /dev/null +++ b/dist/api/evm/abis/Config.json @@ -0,0 +1,968 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "inputs": [], + "name": "AMPLIFY", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "RATE_DECIMALS", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "UTXO_DIFF_DECIMALS", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "delegateMinimum", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "duplicateVotePunishRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "epochDuration", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "evmCallerAddr", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getAboutPunish", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getAmplify", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "getDelegateMinimum", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getDuplicateVotePunishRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getEpochDuration", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getEvmCallerAddr", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getInflationRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getJailDuraction", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getJailThreshold", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getLightClientAttackPunishRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getOffLinePunishRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPowerRateMaximum", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPrismAddr", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRateDecimals", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardAddr", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getSecondPerBlock", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getSecuredAddr", + "outputs": [ + { + "internalType": "address payable", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getStakeMinimum", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getStakingAddr", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getSystemAddr", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getUnknownPunishRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getUtxoDiffDecimals", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "getValidatorsLimit", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getWaitinPeriod", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "inflationRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_prismAddr", + "type": "address" + }, + { + "internalType": "address payable", + "name": "_securedAddr", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "jailDuraction", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "jailThreshold", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "lightClientAttackPunishRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "offLinePunishRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "powerRateMaximum", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "prismAddr", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "rewardAddr", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "secondPerBlock", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "securedAddr", + "outputs": [ + { + "internalType": "address payable", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_delegateMinimum", + "type": "uint256" + } + ], + "name": "setDelegateMinimum", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_duplicateVotePunishRate", + "type": "uint256" + } + ], + "name": "setDuplicateVotePunishRate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_epochDuration", + "type": "uint256" + } + ], + "name": "setEpochDuration", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_evmCallerAddr", + "type": "address" + } + ], + "name": "setEvmCallerAddr", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_inflationRate", + "type": "uint256" + } + ], + "name": "setInflationRate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_jailDuraction", + "type": "uint256" + } + ], + "name": "setJailDuraction", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_jailThreshold", + "type": "uint256" + } + ], + "name": "setJailThreshold", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_lightClientAttackPunishRate", + "type": "uint256" + } + ], + "name": "setLightClientAttackPunishRate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_offLinePunishRate", + "type": "uint256" + } + ], + "name": "setOffLinePunishRate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_powerRateMaximum", + "type": "uint256" + } + ], + "name": "setPowerRateMaximum", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_prismAddr", + "type": "address" + } + ], + "name": "setPrismAddr", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_rewardAddr", + "type": "address" + } + ], + "name": "setRewardAddr", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address payable", + "name": "addr", + "type": "address" + } + ], + "name": "setSecuredAddr", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_stakeMinimum", + "type": "uint256" + } + ], + "name": "setStakeMinimum", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_stakingAddr", + "type": "address" + } + ], + "name": "setStakingAddr", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_systemAddr", + "type": "address" + } + ], + "name": "setSystemAddr", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_unknownPunishRate", + "type": "uint256" + } + ], + "name": "setUnknownPunishRate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_validatorsLimit", + "type": "uint256" + } + ], + "name": "setValidatorsLimit", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_waitinPeriod", + "type": "uint256" + } + ], + "name": "setWaitinPeriod", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "stakeMinimum", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "stakingAddr", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "systemAddr", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "unknownPunishRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "validatorsLimit", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "waitinPeriod", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + } +] diff --git a/dist/api/evm/abis/Reward.json b/dist/api/evm/abis/Reward.json new file mode 100644 index 00000000..2c65bf9c --- /dev/null +++ b/dist/api/evm/abis/Reward.json @@ -0,0 +1,638 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "delegator", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "publicKey", + "type": "bytes" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "CoinbaseMint", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "proposer", + "type": "address" + } + ], + "name": "Proposer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "REWARD_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "STAKING_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "SYSTEM_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "accPerShareInfo", + "outputs": [ + { + "internalType": "uint256", + "name": "stakerRewardRatio", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "delegatorRewardRatio", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "validators", + "type": "address[]" + }, + { + "internalType": "address payable", + "name": "delegator", + "type": "address" + } + ], + "name": "batchClaim", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address", + "name": "delegator", + "type": "address" + } + ], + "name": "calculateReward", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "config", + "outputs": [ + { + "internalType": "contract IConfig", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getDelegatorReturnRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "getRoleMember", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleMemberCount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "globalPreIssueAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "delegator", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "internalType": "struct IBaseEnum.RewardParam[]", + "name": "rp", + "type": "tuple[]" + } + ], + "name": "importReward", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_config", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "validators", + "type": "address[]" + }, + { + "internalType": "address", + "name": "oldDelegator", + "type": "address" + }, + { + "internalType": "address", + "name": "newDelegator", + "type": "address" + } + ], + "name": "replaceDelegator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address[]", + "name": "voted", + "type": "address[]" + } + ], + "name": "reward", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "rewardDebt", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "rewards", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_newConfig", + "type": "address" + } + ], + "name": "setConfig", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "setPreIssueAmount", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address payable", + "name": "delegator", + "type": "address" + } + ], + "name": "systemClaim", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "validators", + "type": "address[]" + }, + { + "internalType": "address", + "name": "delegator", + "type": "address" + } + ], + "name": "unclaimed", + "outputs": [ + { + "internalType": "uint256", + "name": "pending", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" + } +] diff --git a/dist/api/evm/abis/Staking.json b/dist/api/evm/abis/Staking.json new file mode 100644 index 00000000..67f53d7b --- /dev/null +++ b/dist/api/evm/abis/Staking.json @@ -0,0 +1,1229 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "delegator", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Delegation", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint32", + "name": "epoch", + "type": "uint32" + } + ], + "name": "Epoch", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "indexed": false, + "internalType": "bool", + "name": "jailed", + "type": "bool" + } + ], + "name": "Jailed", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address[]", + "name": "voted", + "type": "address[]" + }, + { + "indexed": false, + "internalType": "address[]", + "name": "unvoted", + "type": "address[]" + }, + { + "indexed": false, + "internalType": "address[]", + "name": "byztine", + "type": "address[]" + } + ], + "name": "Punish", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "oldDelegator", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "newDelegator", + "type": "address" + } + ], + "name": "ReplaceDelegator", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "publicKey", + "type": "bytes" + }, + { + "indexed": false, + "internalType": "enum IBaseEnum.PublicKeyType", + "name": "ty", + "type": "uint8" + }, + { + "indexed": true, + "internalType": "address", + "name": "staker", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "string", + "name": "memo", + "type": "string" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "rate", + "type": "uint256" + } + ], + "name": "Stake", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "index", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "delegator", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "unlockTime", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint8", + "name": "operationType", + "type": "uint8" + } + ], + "name": "Undelegation", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "indexed": false, + "internalType": "string", + "name": "memo", + "type": "string" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "rate", + "type": "uint256" + } + ], + "name": "UpdateValidator", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "REWARD_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "STAKING_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "SYSTEM_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "activeHeap", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "config", + "outputs": [ + { + "internalType": "contract IConfig", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "delegatorPkMapping", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "delegators", + "outputs": [ + { + "internalType": "uint256", + "name": "boundAmount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "unboundAmount", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address", + "name": "delegator", + "type": "address" + } + ], + "name": "delegatorsBoundAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "getRoleMember", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleMemberCount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getValidatorsList", + "outputs": [ + { + "components": [ + { + "internalType": "bytes", + "name": "publicKey", + "type": "bytes" + }, + { + "internalType": "enum IBaseEnum.PublicKeyType", + "name": "ty", + "type": "uint8" + }, + { + "internalType": "address", + "name": "addr", + "type": "address" + }, + { + "internalType": "uint256", + "name": "power", + "type": "uint256" + } + ], + "internalType": "struct IValidators.ValidatorInfo[]", + "name": "res", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address", + "name": "delegator", + "type": "address" + }, + { + "internalType": "bytes", + "name": "delegatorPk", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "boundAmount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "unboundAmount", + "type": "uint256" + } + ], + "internalType": "struct IBaseEnum.DelegatorParam[]", + "name": "dp", + "type": "tuple[]" + } + ], + "name": "importDelegators", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address payable", + "name": "delegator", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "height", + "type": "uint256" + } + ], + "internalType": "struct IBaseEnum.UndelegationParam[]", + "name": "udp", + "type": "tuple[]" + } + ], + "name": "importUndelegations", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "tdAddr", + "type": "address" + }, + { + "internalType": "bytes", + "name": "publicKey", + "type": "bytes" + }, + { + "internalType": "enum IBaseEnum.PublicKeyType", + "name": "ty", + "type": "uint8" + }, + { + "internalType": "string", + "name": "memo", + "type": "string" + }, + { + "internalType": "uint256", + "name": "rate", + "type": "uint256" + }, + { + "internalType": "address", + "name": "staker", + "type": "address" + }, + { + "internalType": "bytes", + "name": "stakerPk", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "power", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "beginBlock", + "type": "uint256" + } + ], + "internalType": "struct IBaseEnum.ValidatorParam[]", + "name": "vp", + "type": "tuple[]" + } + ], + "name": "importValidators", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "inactiveHeap", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_config", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "latestEpoch", + "outputs": [ + { + "internalType": "uint32", + "name": "", + "type": "uint32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "maxDelegationAmountBasedOnTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "voted", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "unvoted", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "byztine", + "type": "address[]" + }, + { + "internalType": "enum IBaseEnum.ByztineBehavior[]", + "name": "behavior", + "type": "uint8[]" + } + ], + "name": "punish", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + } + ], + "name": "releaseFromJail", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_newConfig", + "type": "address" + } + ], + "name": "setConfig", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address", + "name": "delegator", + "type": "address" + }, + { + "internalType": "bytes", + "name": "delegatorPk", + "type": "bytes" + } + ], + "name": "systemDelegate", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "involvedValidators", + "type": "address[]" + }, + { + "internalType": "address", + "name": "oldDelegator", + "type": "address" + }, + { + "internalType": "address", + "name": "newDelegator", + "type": "address" + }, + { + "internalType": "bytes", + "name": "delegatorPk", + "type": "bytes" + } + ], + "name": "systemReplaceDelegator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "bytes", + "name": "publicKey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "staker", + "type": "address" + }, + { + "internalType": "bytes", + "name": "stakerPk", + "type": "bytes" + }, + { + "internalType": "string", + "name": "memo", + "type": "string" + }, + { + "internalType": "uint256", + "name": "rate", + "type": "uint256" + } + ], + "name": "systemStake", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address", + "name": "delegator", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "systemUndelegate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address", + "name": "staker", + "type": "address" + }, + { + "internalType": "string", + "name": "memo", + "type": "string" + }, + { + "internalType": "uint256", + "name": "rate", + "type": "uint256" + } + ], + "name": "systemUpdateValidator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "totalDelegationAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "trigger", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "undelegations", + "outputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address payable", + "name": "delegator", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "unlockTime", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "undelegationsEnd", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "undelegationsStart", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "validatorStatus", + "outputs": [ + { + "internalType": "uint16", + "name": "heapIndexOff1", + "type": "uint16" + }, + { + "internalType": "bool", + "name": "isActive", + "type": "bool" + }, + { + "internalType": "bool", + "name": "jailed", + "type": "bool" + }, + { + "internalType": "uint64", + "name": "unjailDatetime", + "type": "uint64" + }, + { + "internalType": "uint16", + "name": "shouldVote", + "type": "uint16" + }, + { + "internalType": "uint16", + "name": "voted", + "type": "uint16" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "validators", + "outputs": [ + { + "internalType": "bytes", + "name": "publicKey", + "type": "bytes" + }, + { + "internalType": "enum IBaseEnum.PublicKeyType", + "name": "ty", + "type": "uint8" + }, + { + "internalType": "uint256", + "name": "rate", + "type": "uint256" + }, + { + "internalType": "address", + "name": "staker", + "type": "address" + }, + { + "internalType": "uint256", + "name": "power", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "totalUnboundAmount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "punishRate", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "beginBlock", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + } +] diff --git a/dist/api/evm/abis/System.json b/dist/api/evm/abis/System.json new file mode 100644 index 00000000..02c159e2 --- /dev/null +++ b/dist/api/evm/abis/System.json @@ -0,0 +1,690 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + } + ], + "name": "claim", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "config", + "outputs": [ + { + "internalType": "contract IConfig", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + } + ], + "name": "delegate", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "getClaimOnContractAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getTriggerOnContractAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + } + ], + "name": "getValidator", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "enum IBaseEnum.PublicKeyType", + "name": "", + "type": "uint8" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getValidatorsList", + "outputs": [ + { + "components": [ + { + "internalType": "bytes", + "name": "publicKey", + "type": "bytes" + }, + { + "internalType": "enum IBaseEnum.PublicKeyType", + "name": "ty", + "type": "uint8" + }, + { + "internalType": "address", + "name": "addr", + "type": "address" + }, + { + "internalType": "uint256", + "name": "power", + "type": "uint256" + } + ], + "internalType": "struct IValidators.ValidatorInfo[]", + "name": "res", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address", + "name": "delegator", + "type": "address" + }, + { + "internalType": "bytes", + "name": "delegatorPk", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "boundAmount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "unboundAmount", + "type": "uint256" + } + ], + "internalType": "struct IBaseEnum.DelegatorParam[]", + "name": "dp", + "type": "tuple[]" + } + ], + "name": "importDelegators", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "delegator", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "internalType": "struct IBaseEnum.RewardParam[]", + "name": "rp", + "type": "tuple[]" + } + ], + "name": "importReward", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address payable", + "name": "delegator", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "height", + "type": "uint256" + } + ], + "internalType": "struct IBaseEnum.UndelegationParam[]", + "name": "udp", + "type": "tuple[]" + } + ], + "name": "importUndelegations", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "tdAddr", + "type": "address" + }, + { + "internalType": "bytes", + "name": "publicKey", + "type": "bytes" + }, + { + "internalType": "enum IBaseEnum.PublicKeyType", + "name": "ty", + "type": "uint8" + }, + { + "internalType": "string", + "name": "memo", + "type": "string" + }, + { + "internalType": "uint256", + "name": "rate", + "type": "uint256" + }, + { + "internalType": "address", + "name": "staker", + "type": "address" + }, + { + "internalType": "bytes", + "name": "stakerPk", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "power", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "beginBlock", + "type": "uint256" + } + ], + "internalType": "struct IBaseEnum.ValidatorParam[]", + "name": "vp", + "type": "tuple[]" + } + ], + "name": "importValidators", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_config", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "validators", + "type": "address[]" + }, + { + "internalType": "address", + "name": "newDelegator", + "type": "address" + } + ], + "name": "replaceDelegator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_newConfig", + "type": "address" + } + ], + "name": "setConfig", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "bytes", + "name": "publicKey", + "type": "bytes" + }, + { + "internalType": "string", + "name": "memo", + "type": "string" + }, + { + "internalType": "uint256", + "name": "rate", + "type": "uint256" + } + ], + "name": "stake", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address payable", + "name": "delegator", + "type": "address" + } + ], + "name": "systemClaim", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address", + "name": "delegator", + "type": "address" + }, + { + "internalType": "bytes", + "name": "delegatorPk", + "type": "bytes" + } + ], + "name": "systemDelegate", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "validators", + "type": "address[]" + }, + { + "internalType": "address", + "name": "oldDelegator", + "type": "address" + }, + { + "internalType": "address", + "name": "newDelegator", + "type": "address" + }, + { + "internalType": "bytes", + "name": "delegatorPk", + "type": "bytes" + } + ], + "name": "systemReplaceDelegator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "bytes", + "name": "publicKey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "staker", + "type": "address" + }, + { + "internalType": "bytes", + "name": "stakerPk", + "type": "bytes" + }, + { + "internalType": "string", + "name": "memo", + "type": "string" + }, + { + "internalType": "uint256", + "name": "rate", + "type": "uint256" + } + ], + "name": "systemStake", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address", + "name": "delegator", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "systemUndelegate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address", + "name": "staker", + "type": "address" + }, + { + "internalType": "string", + "name": "memo", + "type": "string" + }, + { + "internalType": "uint256", + "name": "rate", + "type": "uint256" + } + ], + "name": "systemUpdateValidator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "proposer", + "type": "address" + }, + { + "internalType": "address[]", + "name": "voted", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "unvoted", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "byztine", + "type": "address[]" + }, + { + "internalType": "enum IBaseEnum.ByztineBehavior[]", + "name": "behavior", + "type": "uint8[]" + }, + { + "internalType": "uint256", + "name": "preIssueAmount", + "type": "uint256" + } + ], + "name": "trigger", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "undelegate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "string", + "name": "memo", + "type": "string" + }, + { + "internalType": "uint256", + "name": "rate", + "type": "uint256" + } + ], + "name": "updateValidator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] diff --git a/dist/api/evm/evm.d.ts b/dist/api/evm/evm.d.ts index a4053fa7..6580dcb6 100644 --- a/dist/api/evm/evm.d.ts +++ b/dist/api/evm/evm.d.ts @@ -9,14 +9,14 @@ export declare const hashAddressTofraAddress: (addresss: string, bridgeAddress: export declare const hashAddressTofraAddressByNFT: (address: string, tokenId: string, bridgeAddress: string, web3WalletInfo: IWebLinkedInfo) => Promise; export declare const hashAddressTofraAddressBy1155: (address: string, tokenId: string, bridgeAddress: string, web3WalletInfo: IWebLinkedInfo) => Promise; export declare const fraToBar: (bridgeAddress: string, recipientAddress: string, amount: string, web3WalletInfo: IWebLinkedInfo) => Promise; -export declare const approveToken: (tokenAddress: string, deckAddress: string, price: string, web3WalletInfo: IWebLinkedInfo) => Promise; +export declare const approveToken: (tokenAddress: string, deckAddress: string, price: string, web3WalletInfo: IWebLinkedInfo) => Promise; export declare const frc20ToBar: (bridgeAddress: string, recipientAddress: string, tokenAddress: string, tokenAmount: string, web3WalletInfo: IWebLinkedInfo) => Promise; export declare function getPrismConfig(): Promise<{ ledgerAddress: string; assetAddress: string; bridgeAddress: string; }>; -export declare const approveNFT: (tokenAddress: string, deckAddress: string, tokenId: string, nftType: string, web3WalletInfo: IWebLinkedInfo) => Promise; +export declare const approveNFT: (tokenAddress: string, deckAddress: string, tokenId: string, nftType: string, web3WalletInfo: IWebLinkedInfo) => Promise; export declare const getDomainCurrentText: (name: string) => Promise<{ eth: string; fra: string; diff --git a/dist/api/evm/types/Config.d.ts b/dist/api/evm/types/Config.d.ts new file mode 100644 index 00000000..978e12d2 --- /dev/null +++ b/dist/api/evm/types/Config.d.ts @@ -0,0 +1,583 @@ +import BN from 'bn.js'; +import BigNumber from 'bignumber.js'; +import { PromiEvent, TransactionReceipt, EventResponse, EventData, Web3ContractContext } from 'ethereum-abi-types-generator'; +export interface CallOptions { + from?: string; + gasPrice?: string; + gas?: number; +} +export interface SendOptions { + from: string; + value?: number | string | BN | BigNumber; + gasPrice?: string; + gas?: number; +} +export interface EstimateGasOptions { + from?: string; + value?: number | string | BN | BigNumber; + gas?: number; +} +export interface MethodPayableReturnContext { + send(options: SendOptions): PromiEvent; + send(options: SendOptions, callback: (error: Error, result: any) => void): PromiEvent; + estimateGas(options: EstimateGasOptions): Promise; + estimateGas(options: EstimateGasOptions, callback: (error: Error, result: any) => void): Promise; + encodeABI(): string; +} +export interface MethodConstantReturnContext { + call(): Promise; + call(options: CallOptions): Promise; + call(options: CallOptions, callback: (error: Error, result: TCallReturn) => void): Promise; + encodeABI(): string; +} +export interface MethodReturnContext extends MethodPayableReturnContext { +} +export type ContractContext = Web3ContractContext; +export type ConfigEvents = 'Initialized' | 'OwnershipTransferred'; +export interface ConfigEventsContext { + Initialized(parameters: { + filter?: {}; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, callback?: (error: Error, event: EventData) => void): EventResponse; + OwnershipTransferred(parameters: { + filter?: { + previousOwner?: string | string[]; + newOwner?: string | string[]; + }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, callback?: (error: Error, event: EventData) => void): EventResponse; +} +export type ConfigMethodNames = 'AMPLIFY' | 'RATE_DECIMALS' | 'UTXO_DIFF_DECIMALS' | 'delegateMinimum' | 'duplicateVotePunishRate' | 'epochDuration' | 'evmCallerAddr' | 'getAboutPunish' | 'getAmplify' | 'getDelegateMinimum' | 'getDuplicateVotePunishRate' | 'getEpochDuration' | 'getEvmCallerAddr' | 'getInflationRate' | 'getJailDuraction' | 'getJailThreshold' | 'getLightClientAttackPunishRate' | 'getOffLinePunishRate' | 'getPowerRateMaximum' | 'getPrismAddr' | 'getRateDecimals' | 'getRewardAddr' | 'getSecondPerBlock' | 'getSecuredAddr' | 'getStakeMinimum' | 'getStakingAddr' | 'getSystemAddr' | 'getUnknownPunishRate' | 'getUtxoDiffDecimals' | 'getValidatorsLimit' | 'getWaitinPeriod' | 'inflationRate' | 'initialize' | 'jailDuraction' | 'jailThreshold' | 'lightClientAttackPunishRate' | 'offLinePunishRate' | 'owner' | 'powerRateMaximum' | 'prismAddr' | 'renounceOwnership' | 'rewardAddr' | 'secondPerBlock' | 'securedAddr' | 'setDelegateMinimum' | 'setDuplicateVotePunishRate' | 'setEpochDuration' | 'setEvmCallerAddr' | 'setInflationRate' | 'setJailDuraction' | 'setJailThreshold' | 'setLightClientAttackPunishRate' | 'setOffLinePunishRate' | 'setPowerRateMaximum' | 'setPrismAddr' | 'setRewardAddr' | 'setSecuredAddr' | 'setStakeMinimum' | 'setStakingAddr' | 'setSystemAddr' | 'setUnknownPunishRate' | 'setValidatorsLimit' | 'setWaitinPeriod' | 'stakeMinimum' | 'stakingAddr' | 'systemAddr' | 'transferOwnership' | 'unknownPunishRate' | 'validatorsLimit' | 'waitinPeriod'; +export interface InitializedEventEmittedResponse { + version: string | number; +} +export interface OwnershipTransferredEventEmittedResponse { + previousOwner: string; + newOwner: string; +} +export interface GetAboutPunishResponse { + result0: string; + result1: string; + result2: string; + result3: string; + result4: string; + result5: string; +} +export interface Config { + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + AMPLIFY(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + RATE_DECIMALS(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + UTXO_DIFF_DECIMALS(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + delegateMinimum(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + duplicateVotePunishRate(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + epochDuration(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + evmCallerAddr(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getAboutPunish(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: pure + * Type: function + */ + getAmplify(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getDelegateMinimum(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getDuplicateVotePunishRate(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getEpochDuration(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getEvmCallerAddr(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getInflationRate(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getJailDuraction(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getJailThreshold(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getLightClientAttackPunishRate(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getOffLinePunishRate(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getPowerRateMaximum(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getPrismAddr(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: pure + * Type: function + */ + getRateDecimals(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getRewardAddr(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getSecondPerBlock(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getSecuredAddr(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getStakeMinimum(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getStakingAddr(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getSystemAddr(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getUnknownPunishRate(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: pure + * Type: function + */ + getUtxoDiffDecimals(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getValidatorsLimit(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getWaitinPeriod(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + inflationRate(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _prismAddr Type: address, Indexed: false + * @param _securedAddr Type: address, Indexed: false + */ + initialize(_prismAddr: string, _securedAddr: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + jailDuraction(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + jailThreshold(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + lightClientAttackPunishRate(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + offLinePunishRate(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + owner(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + powerRateMaximum(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + prismAddr(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + */ + renounceOwnership(): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + rewardAddr(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + secondPerBlock(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + securedAddr(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _delegateMinimum Type: uint256, Indexed: false + */ + setDelegateMinimum(_delegateMinimum: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _duplicateVotePunishRate Type: uint256, Indexed: false + */ + setDuplicateVotePunishRate(_duplicateVotePunishRate: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _epochDuration Type: uint256, Indexed: false + */ + setEpochDuration(_epochDuration: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _evmCallerAddr Type: address, Indexed: false + */ + setEvmCallerAddr(_evmCallerAddr: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _inflationRate Type: uint256, Indexed: false + */ + setInflationRate(_inflationRate: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _jailDuraction Type: uint256, Indexed: false + */ + setJailDuraction(_jailDuraction: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _jailThreshold Type: uint256, Indexed: false + */ + setJailThreshold(_jailThreshold: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _lightClientAttackPunishRate Type: uint256, Indexed: false + */ + setLightClientAttackPunishRate(_lightClientAttackPunishRate: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _offLinePunishRate Type: uint256, Indexed: false + */ + setOffLinePunishRate(_offLinePunishRate: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _powerRateMaximum Type: uint256, Indexed: false + */ + setPowerRateMaximum(_powerRateMaximum: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _prismAddr Type: address, Indexed: false + */ + setPrismAddr(_prismAddr: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _rewardAddr Type: address, Indexed: false + */ + setRewardAddr(_rewardAddr: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param addr Type: address, Indexed: false + */ + setSecuredAddr(addr: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _stakeMinimum Type: uint256, Indexed: false + */ + setStakeMinimum(_stakeMinimum: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _stakingAddr Type: address, Indexed: false + */ + setStakingAddr(_stakingAddr: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _systemAddr Type: address, Indexed: false + */ + setSystemAddr(_systemAddr: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _unknownPunishRate Type: uint256, Indexed: false + */ + setUnknownPunishRate(_unknownPunishRate: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _validatorsLimit Type: uint256, Indexed: false + */ + setValidatorsLimit(_validatorsLimit: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _waitinPeriod Type: uint256, Indexed: false + */ + setWaitinPeriod(_waitinPeriod: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + stakeMinimum(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + stakingAddr(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + systemAddr(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param newOwner Type: address, Indexed: false + */ + transferOwnership(newOwner: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + unknownPunishRate(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + validatorsLimit(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + waitinPeriod(): MethodConstantReturnContext; +} diff --git a/dist/api/evm/types/Config.js b/dist/api/evm/types/Config.js new file mode 100644 index 00000000..bfb74288 --- /dev/null +++ b/dist/api/evm/types/Config.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=Config.js.map \ No newline at end of file diff --git a/dist/api/evm/types/Config.js.map b/dist/api/evm/types/Config.js.map new file mode 100644 index 00000000..3c73e15b --- /dev/null +++ b/dist/api/evm/types/Config.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Config.js","sourceRoot":"","sources":["../../../../src/api/evm/types/Config.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/api/evm/types/Reward.d.ts b/dist/api/evm/types/Reward.d.ts new file mode 100644 index 00000000..dab3b5a0 --- /dev/null +++ b/dist/api/evm/types/Reward.d.ts @@ -0,0 +1,357 @@ +import BN from 'bn.js'; +import BigNumber from 'bignumber.js'; +import { PromiEvent, TransactionReceipt, EventResponse, EventData, Web3ContractContext } from 'ethereum-abi-types-generator'; +export interface CallOptions { + from?: string; + gasPrice?: string; + gas?: number; +} +export interface SendOptions { + from: string; + value?: number | string | BN | BigNumber; + gasPrice?: string; + gas?: number; +} +export interface EstimateGasOptions { + from?: string; + value?: number | string | BN | BigNumber; + gas?: number; +} +export interface MethodPayableReturnContext { + send(options: SendOptions): PromiEvent; + send(options: SendOptions, callback: (error: Error, result: any) => void): PromiEvent; + estimateGas(options: EstimateGasOptions): Promise; + estimateGas(options: EstimateGasOptions, callback: (error: Error, result: any) => void): Promise; + encodeABI(): string; +} +export interface MethodConstantReturnContext { + call(): Promise; + call(options: CallOptions): Promise; + call(options: CallOptions, callback: (error: Error, result: TCallReturn) => void): Promise; + encodeABI(): string; +} +export interface MethodReturnContext extends MethodPayableReturnContext { +} +export type ContractContext = Web3ContractContext; +export type RewardEvents = 'CoinbaseMint' | 'Initialized' | 'Proposer' | 'RoleAdminChanged' | 'RoleGranted' | 'RoleRevoked'; +export interface RewardEventsContext { + CoinbaseMint(parameters: { + filter?: { + validator?: string | string[]; + delegator?: string | string[]; + }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, callback?: (error: Error, event: EventData) => void): EventResponse; + Initialized(parameters: { + filter?: {}; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, callback?: (error: Error, event: EventData) => void): EventResponse; + Proposer(parameters: { + filter?: {}; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, callback?: (error: Error, event: EventData) => void): EventResponse; + RoleAdminChanged(parameters: { + filter?: { + role?: string | number[] | string | number[][]; + previousAdminRole?: string | number[] | string | number[][]; + newAdminRole?: string | number[] | string | number[][]; + }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, callback?: (error: Error, event: EventData) => void): EventResponse; + RoleGranted(parameters: { + filter?: { + role?: string | number[] | string | number[][]; + account?: string | string[]; + sender?: string | string[]; + }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, callback?: (error: Error, event: EventData) => void): EventResponse; + RoleRevoked(parameters: { + filter?: { + role?: string | number[] | string | number[][]; + account?: string | string[]; + sender?: string | string[]; + }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, callback?: (error: Error, event: EventData) => void): EventResponse; +} +export type RewardMethodNames = 'DEFAULT_ADMIN_ROLE' | 'REWARD_ROLE' | 'STAKING_ROLE' | 'SYSTEM_ROLE' | 'accPerShareInfo' | 'batchClaim' | 'calculateReward' | 'config' | 'getDelegatorReturnRate' | 'getRoleAdmin' | 'getRoleMember' | 'getRoleMemberCount' | 'globalPreIssueAmount' | 'grantRole' | 'hasRole' | 'importReward' | 'initialize' | 'renounceRole' | 'replaceDelegator' | 'revokeRole' | 'reward' | 'rewardDebt' | 'rewards' | 'setConfig' | 'setPreIssueAmount' | 'supportsInterface' | 'systemClaim' | 'unclaimed'; +export interface CoinbaseMintEventEmittedResponse { + validator: string; + delegator: string; + publicKey: string | number[]; + amount: string; +} +export interface InitializedEventEmittedResponse { + version: string | number; +} +export interface ProposerEventEmittedResponse { + proposer: string; +} +export interface RoleAdminChangedEventEmittedResponse { + role: string | number[]; + previousAdminRole: string | number[]; + newAdminRole: string | number[]; +} +export interface RoleGrantedEventEmittedResponse { + role: string | number[]; + account: string; + sender: string; +} +export interface RoleRevokedEventEmittedResponse { + role: string | number[]; + account: string; + sender: string; +} +export interface AccPerShareInfoResponse { + stakerRewardRatio: string; + delegatorRewardRatio: string; +} +export interface ImportRewardRequest { + delegator: string; + amount: string; +} +export interface Reward { + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + DEFAULT_ADMIN_ROLE(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + REWARD_ROLE(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + STAKING_ROLE(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + SYSTEM_ROLE(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param parameter0 Type: address, Indexed: false + */ + accPerShareInfo(parameter0: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validators Type: address[], Indexed: false + * @param delegator Type: address, Indexed: false + */ + batchClaim(validators: string[], delegator: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validator Type: address, Indexed: false + * @param delegator Type: address, Indexed: false + */ + calculateReward(validator: string, delegator: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + config(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getDelegatorReturnRate(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param role Type: bytes32, Indexed: false + */ + getRoleAdmin(role: string | number[]): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param role Type: bytes32, Indexed: false + * @param index Type: uint256, Indexed: false + */ + getRoleMember(role: string | number[], index: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param role Type: bytes32, Indexed: false + */ + getRoleMemberCount(role: string | number[]): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + globalPreIssueAmount(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param role Type: bytes32, Indexed: false + * @param account Type: address, Indexed: false + */ + grantRole(role: string | number[], account: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param role Type: bytes32, Indexed: false + * @param account Type: address, Indexed: false + */ + hasRole(role: string | number[], account: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param rp Type: tuple[], Indexed: false + */ + importReward(rp: ImportRewardRequest[]): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _config Type: address, Indexed: false + */ + initialize(_config: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param role Type: bytes32, Indexed: false + * @param account Type: address, Indexed: false + */ + renounceRole(role: string | number[], account: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validators Type: address[], Indexed: false + * @param oldDelegator Type: address, Indexed: false + * @param newDelegator Type: address, Indexed: false + */ + replaceDelegator(validators: string[], oldDelegator: string, newDelegator: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param role Type: bytes32, Indexed: false + * @param account Type: address, Indexed: false + */ + revokeRole(role: string | number[], account: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validator Type: address, Indexed: false + * @param voted Type: address[], Indexed: false + */ + reward(validator: string, voted: string[]): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param parameter0 Type: address, Indexed: false + * @param parameter1 Type: address, Indexed: false + */ + rewardDebt(parameter0: string, parameter1: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param parameter0 Type: address, Indexed: false + */ + rewards(parameter0: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _newConfig Type: address, Indexed: false + */ + setConfig(_newConfig: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param amount Type: uint256, Indexed: false + */ + setPreIssueAmount(amount: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param interfaceId Type: bytes4, Indexed: false + */ + supportsInterface(interfaceId: string | number[]): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validator Type: address, Indexed: false + * @param delegator Type: address, Indexed: false + */ + systemClaim(validator: string, delegator: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param validators Type: address[], Indexed: false + * @param delegator Type: address, Indexed: false + */ + unclaimed(validators: string[], delegator: string): MethodConstantReturnContext; +} diff --git a/dist/api/evm/types/Reward.js b/dist/api/evm/types/Reward.js new file mode 100644 index 00000000..5fa1e39e --- /dev/null +++ b/dist/api/evm/types/Reward.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=Reward.js.map \ No newline at end of file diff --git a/dist/api/evm/types/Reward.js.map b/dist/api/evm/types/Reward.js.map new file mode 100644 index 00000000..54a27f1b --- /dev/null +++ b/dist/api/evm/types/Reward.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Reward.js","sourceRoot":"","sources":["../../../../src/api/evm/types/Reward.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/api/evm/types/Staking.d.ts b/dist/api/evm/types/Staking.d.ts new file mode 100644 index 00000000..e52f9017 --- /dev/null +++ b/dist/api/evm/types/Staking.d.ts @@ -0,0 +1,593 @@ +import BN from 'bn.js'; +import BigNumber from 'bignumber.js'; +import { PromiEvent, TransactionReceipt, EventResponse, EventData, Web3ContractContext } from 'ethereum-abi-types-generator'; +export interface CallOptions { + from?: string; + gasPrice?: string; + gas?: number; +} +export interface SendOptions { + from: string; + value?: number | string | BN | BigNumber; + gasPrice?: string; + gas?: number; +} +export interface EstimateGasOptions { + from?: string; + value?: number | string | BN | BigNumber; + gas?: number; +} +export interface MethodPayableReturnContext { + send(options: SendOptions): PromiEvent; + send(options: SendOptions, callback: (error: Error, result: any) => void): PromiEvent; + estimateGas(options: EstimateGasOptions): Promise; + estimateGas(options: EstimateGasOptions, callback: (error: Error, result: any) => void): Promise; + encodeABI(): string; +} +export interface MethodConstantReturnContext { + call(): Promise; + call(options: CallOptions): Promise; + call(options: CallOptions, callback: (error: Error, result: TCallReturn) => void): Promise; + encodeABI(): string; +} +export interface MethodReturnContext extends MethodPayableReturnContext { +} +export type ContractContext = Web3ContractContext; +export type StakingEvents = 'Delegation' | 'Epoch' | 'Initialized' | 'Jailed' | 'Punish' | 'ReplaceDelegator' | 'RoleAdminChanged' | 'RoleGranted' | 'RoleRevoked' | 'Stake' | 'Undelegation' | 'UpdateValidator'; +export interface StakingEventsContext { + Delegation(parameters: { + filter?: { + validator?: string | string[]; + delegator?: string | string[]; + }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, callback?: (error: Error, event: EventData) => void): EventResponse; + Epoch(parameters: { + filter?: {}; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, callback?: (error: Error, event: EventData) => void): EventResponse; + Initialized(parameters: { + filter?: {}; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, callback?: (error: Error, event: EventData) => void): EventResponse; + Jailed(parameters: { + filter?: { + validator?: string | string[]; + }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, callback?: (error: Error, event: EventData) => void): EventResponse; + Punish(parameters: { + filter?: {}; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, callback?: (error: Error, event: EventData) => void): EventResponse; + ReplaceDelegator(parameters: { + filter?: { + validator?: string | string[]; + }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, callback?: (error: Error, event: EventData) => void): EventResponse; + RoleAdminChanged(parameters: { + filter?: { + role?: string | number[] | string | number[][]; + previousAdminRole?: string | number[] | string | number[][]; + newAdminRole?: string | number[] | string | number[][]; + }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, callback?: (error: Error, event: EventData) => void): EventResponse; + RoleGranted(parameters: { + filter?: { + role?: string | number[] | string | number[][]; + account?: string | string[]; + sender?: string | string[]; + }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, callback?: (error: Error, event: EventData) => void): EventResponse; + RoleRevoked(parameters: { + filter?: { + role?: string | number[] | string | number[][]; + account?: string | string[]; + sender?: string | string[]; + }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, callback?: (error: Error, event: EventData) => void): EventResponse; + Stake(parameters: { + filter?: { + validator?: string | string[]; + staker?: string | string[]; + }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, callback?: (error: Error, event: EventData) => void): EventResponse; + Undelegation(parameters: { + filter?: { + validator?: string | string[]; + delegator?: string | string[]; + }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, callback?: (error: Error, event: EventData) => void): EventResponse; + UpdateValidator(parameters: { + filter?: { + validator?: string | string[]; + }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, callback?: (error: Error, event: EventData) => void): EventResponse; +} +export type StakingMethodNames = 'DEFAULT_ADMIN_ROLE' | 'REWARD_ROLE' | 'STAKING_ROLE' | 'SYSTEM_ROLE' | 'activeHeap' | 'config' | 'delegatorPkMapping' | 'delegators' | 'delegatorsBoundAmount' | 'getRoleAdmin' | 'getRoleMember' | 'getRoleMemberCount' | 'getValidatorsList' | 'grantRole' | 'hasRole' | 'importDelegators' | 'importUndelegations' | 'importValidators' | 'inactiveHeap' | 'initialize' | 'latestEpoch' | 'maxDelegationAmountBasedOnTotalAmount' | 'punish' | 'releaseFromJail' | 'renounceRole' | 'revokeRole' | 'setConfig' | 'supportsInterface' | 'systemDelegate' | 'systemReplaceDelegator' | 'systemStake' | 'systemUndelegate' | 'systemUpdateValidator' | 'totalDelegationAmount' | 'trigger' | 'undelegations' | 'undelegationsEnd' | 'undelegationsStart' | 'validatorStatus' | 'validators'; +export interface DelegationEventEmittedResponse { + validator: string; + delegator: string; + amount: string; +} +export interface EpochEventEmittedResponse { + epoch: string | number; +} +export interface InitializedEventEmittedResponse { + version: string | number; +} +export interface JailedEventEmittedResponse { + validator: string; + jailed: boolean; +} +export interface PunishEventEmittedResponse { + voted: string[]; + unvoted: string[]; + byztine: string[]; +} +export interface ReplaceDelegatorEventEmittedResponse { + validator: string; + oldDelegator: string; + newDelegator: string; +} +export interface RoleAdminChangedEventEmittedResponse { + role: string | number[]; + previousAdminRole: string | number[]; + newAdminRole: string | number[]; +} +export interface RoleGrantedEventEmittedResponse { + role: string | number[]; + account: string; + sender: string; +} +export interface RoleRevokedEventEmittedResponse { + role: string | number[]; + account: string; + sender: string; +} +export interface StakeEventEmittedResponse { + validator: string; + publicKey: string | number[]; + ty: string | number; + staker: string; + amount: string; + memo: string; + rate: string; +} +export interface UndelegationEventEmittedResponse { + index: string; + validator: string; + delegator: string; + unlockTime: string; + amount: string; + operationType: string | number; +} +export interface UpdateValidatorEventEmittedResponse { + validator: string; + memo: string; + rate: string; +} +export interface DelegatorsResponse { + boundAmount: string; + unboundAmount: string; +} +export interface ResResponse { + publicKey: string; + ty: string; + addr: string; + power: string; +} +export interface ImportDelegatorsRequest { + validator: string; + delegator: string; + delegatorPk: string | number[]; + boundAmount: string; + unboundAmount: string; +} +export interface ImportUndelegationsRequest { + validator: string; + delegator: string; + amount: string; + height: string; +} +export interface ImportValidatorsRequest { + tdAddr: string; + publicKey: string | number[]; + ty: string | number; + memo: string; + rate: string; + staker: string; + stakerPk: string | number[]; + power: string; + beginBlock: string; +} +export interface UndelegationsResponse { + validator: string; + delegator: string; + amount: string; + unlockTime: string; +} +export interface ValidatorStatusResponse { + heapIndexOff1: string; + isActive: boolean; + jailed: boolean; + unjailDatetime: string; + shouldVote: string; + voted: string; +} +export interface ValidatorsResponse { + publicKey: string; + ty: string; + rate: string; + staker: string; + power: string; + totalUnboundAmount: string; + punishRate: string; + beginBlock: string; +} +export interface Staking { + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + DEFAULT_ADMIN_ROLE(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + REWARD_ROLE(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + STAKING_ROLE(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + SYSTEM_ROLE(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param parameter0 Type: uint256, Indexed: false + */ + activeHeap(parameter0: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + config(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param parameter0 Type: address, Indexed: false + */ + delegatorPkMapping(parameter0: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param parameter0 Type: address, Indexed: false + * @param parameter1 Type: address, Indexed: false + */ + delegators(parameter0: string, parameter1: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param validator Type: address, Indexed: false + * @param delegator Type: address, Indexed: false + */ + delegatorsBoundAmount(validator: string, delegator: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param role Type: bytes32, Indexed: false + */ + getRoleAdmin(role: string | number[]): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param role Type: bytes32, Indexed: false + * @param index Type: uint256, Indexed: false + */ + getRoleMember(role: string | number[], index: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param role Type: bytes32, Indexed: false + */ + getRoleMemberCount(role: string | number[]): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getValidatorsList(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param role Type: bytes32, Indexed: false + * @param account Type: address, Indexed: false + */ + grantRole(role: string | number[], account: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param role Type: bytes32, Indexed: false + * @param account Type: address, Indexed: false + */ + hasRole(role: string | number[], account: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param dp Type: tuple[], Indexed: false + */ + importDelegators(dp: ImportDelegatorsRequest[]): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param udp Type: tuple[], Indexed: false + */ + importUndelegations(udp: ImportUndelegationsRequest[]): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param vp Type: tuple[], Indexed: false + */ + importValidators(vp: ImportValidatorsRequest[]): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param parameter0 Type: uint256, Indexed: false + */ + inactiveHeap(parameter0: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _config Type: address, Indexed: false + */ + initialize(_config: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + latestEpoch(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + maxDelegationAmountBasedOnTotalAmount(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param voted Type: address[], Indexed: false + * @param unvoted Type: address[], Indexed: false + * @param byztine Type: address[], Indexed: false + * @param behavior Type: uint8[], Indexed: false + */ + punish(voted: string[], unvoted: string[], byztine: string[], behavior: string | number[]): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validator Type: address, Indexed: false + */ + releaseFromJail(validator: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param role Type: bytes32, Indexed: false + * @param account Type: address, Indexed: false + */ + renounceRole(role: string | number[], account: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param role Type: bytes32, Indexed: false + * @param account Type: address, Indexed: false + */ + revokeRole(role: string | number[], account: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _newConfig Type: address, Indexed: false + */ + setConfig(_newConfig: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param interfaceId Type: bytes4, Indexed: false + */ + supportsInterface(interfaceId: string | number[]): MethodConstantReturnContext; + /** + * Payable: true + * Constant: false + * StateMutability: payable + * Type: function + * @param validator Type: address, Indexed: false + * @param delegator Type: address, Indexed: false + * @param delegatorPk Type: bytes, Indexed: false + */ + systemDelegate(validator: string, delegator: string, delegatorPk: string | number[]): MethodPayableReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param involvedValidators Type: address[], Indexed: false + * @param oldDelegator Type: address, Indexed: false + * @param newDelegator Type: address, Indexed: false + * @param delegatorPk Type: bytes, Indexed: false + */ + systemReplaceDelegator(involvedValidators: string[], oldDelegator: string, newDelegator: string, delegatorPk: string | number[]): MethodReturnContext; + /** + * Payable: true + * Constant: false + * StateMutability: payable + * Type: function + * @param validator Type: address, Indexed: false + * @param publicKey Type: bytes, Indexed: false + * @param staker Type: address, Indexed: false + * @param stakerPk Type: bytes, Indexed: false + * @param memo Type: string, Indexed: false + * @param rate Type: uint256, Indexed: false + */ + systemStake(validator: string, publicKey: string | number[], staker: string, stakerPk: string | number[], memo: string, rate: string): MethodPayableReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validator Type: address, Indexed: false + * @param delegator Type: address, Indexed: false + * @param amount Type: uint256, Indexed: false + */ + systemUndelegate(validator: string, delegator: string, amount: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validator Type: address, Indexed: false + * @param staker Type: address, Indexed: false + * @param memo Type: string, Indexed: false + * @param rate Type: uint256, Indexed: false + */ + systemUpdateValidator(validator: string, staker: string, memo: string, rate: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + totalDelegationAmount(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + */ + trigger(): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param parameter0 Type: uint256, Indexed: false + */ + undelegations(parameter0: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + undelegationsEnd(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + undelegationsStart(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param parameter0 Type: address, Indexed: false + */ + validatorStatus(parameter0: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param parameter0 Type: address, Indexed: false + */ + validators(parameter0: string): MethodConstantReturnContext; +} diff --git a/dist/api/evm/types/Staking.js b/dist/api/evm/types/Staking.js new file mode 100644 index 00000000..666dbd90 --- /dev/null +++ b/dist/api/evm/types/Staking.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=Staking.js.map \ No newline at end of file diff --git a/dist/api/evm/types/Staking.js.map b/dist/api/evm/types/Staking.js.map new file mode 100644 index 00000000..207a8026 --- /dev/null +++ b/dist/api/evm/types/Staking.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Staking.js","sourceRoot":"","sources":["../../../../src/api/evm/types/Staking.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/api/evm/types/System.d.ts b/dist/api/evm/types/System.d.ts new file mode 100644 index 00000000..d7576a50 --- /dev/null +++ b/dist/api/evm/types/System.d.ts @@ -0,0 +1,345 @@ +import BN from 'bn.js'; +import BigNumber from 'bignumber.js'; +import { PromiEvent, TransactionReceipt, EventResponse, EventData, Web3ContractContext } from 'ethereum-abi-types-generator'; +export interface CallOptions { + from?: string; + gasPrice?: string; + gas?: number; +} +export interface SendOptions { + from: string; + value?: number | string | BN | BigNumber; + gasPrice?: string; + gas?: number; +} +export interface EstimateGasOptions { + from?: string; + value?: number | string | BN | BigNumber; + gas?: number; +} +export interface MethodPayableReturnContext { + send(options: SendOptions): PromiEvent; + send(options: SendOptions, callback: (error: Error, result: any) => void): PromiEvent; + estimateGas(options: EstimateGasOptions): Promise; + estimateGas(options: EstimateGasOptions, callback: (error: Error, result: any) => void): Promise; + encodeABI(): string; +} +export interface MethodConstantReturnContext { + call(): Promise; + call(options: CallOptions): Promise; + call(options: CallOptions, callback: (error: Error, result: TCallReturn) => void): Promise; + encodeABI(): string; +} +export interface MethodReturnContext extends MethodPayableReturnContext { +} +export type ContractContext = Web3ContractContext; +export type SystemEvents = 'Initialized' | 'OwnershipTransferred'; +export interface SystemEventsContext { + Initialized(parameters: { + filter?: {}; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, callback?: (error: Error, event: EventData) => void): EventResponse; + OwnershipTransferred(parameters: { + filter?: { + previousOwner?: string | string[]; + newOwner?: string | string[]; + }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, callback?: (error: Error, event: EventData) => void): EventResponse; +} +export type SystemMethodNames = 'claim' | 'config' | 'delegate' | 'getClaimOnContractAddress' | 'getTriggerOnContractAddress' | 'getValidator' | 'getValidatorsList' | 'importDelegators' | 'importReward' | 'importUndelegations' | 'importValidators' | 'initialize' | 'owner' | 'renounceOwnership' | 'replaceDelegator' | 'setConfig' | 'stake' | 'systemClaim' | 'systemDelegate' | 'systemReplaceDelegator' | 'systemStake' | 'systemUndelegate' | 'systemUpdateValidator' | 'transferOwnership' | 'trigger' | 'undelegate' | 'updateValidator'; +export interface InitializedEventEmittedResponse { + version: string | number; +} +export interface OwnershipTransferredEventEmittedResponse { + previousOwner: string; + newOwner: string; +} +export interface GetValidatorResponse { + result0: string; + result1: string; + result2: string; + result3: string; + result4: string; + result5: string; + result6: string; + result7: string; +} +export interface ResResponse { + publicKey: string; + ty: string; + addr: string; + power: string; +} +export interface ImportDelegatorsRequest { + validator: string; + delegator: string; + delegatorPk: string | number[]; + boundAmount: string; + unboundAmount: string; +} +export interface ImportRewardRequest { + delegator: string; + amount: string; +} +export interface ImportUndelegationsRequest { + validator: string; + delegator: string; + amount: string; + height: string; +} +export interface ImportValidatorsRequest { + tdAddr: string; + publicKey: string | number[]; + ty: string | number; + memo: string; + rate: string; + staker: string; + stakerPk: string | number[]; + power: string; + beginBlock: string; +} +export interface System { + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validator Type: address, Indexed: false + */ + claim(validator: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + config(): MethodConstantReturnContext; + /** + * Payable: true + * Constant: false + * StateMutability: payable + * Type: function + * @param validator Type: address, Indexed: false + */ + delegate(validator: string): MethodPayableReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getClaimOnContractAddress(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getTriggerOnContractAddress(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param validator Type: address, Indexed: false + */ + getValidator(validator: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getValidatorsList(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param dp Type: tuple[], Indexed: false + */ + importDelegators(dp: ImportDelegatorsRequest[]): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param rp Type: tuple[], Indexed: false + */ + importReward(rp: ImportRewardRequest[]): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param udp Type: tuple[], Indexed: false + */ + importUndelegations(udp: ImportUndelegationsRequest[]): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param vp Type: tuple[], Indexed: false + */ + importValidators(vp: ImportValidatorsRequest[]): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _config Type: address, Indexed: false + */ + initialize(_config: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + owner(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + */ + renounceOwnership(): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validators Type: address[], Indexed: false + * @param newDelegator Type: address, Indexed: false + */ + replaceDelegator(validators: string[], newDelegator: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _newConfig Type: address, Indexed: false + */ + setConfig(_newConfig: string): MethodReturnContext; + /** + * Payable: true + * Constant: false + * StateMutability: payable + * Type: function + * @param validator Type: address, Indexed: false + * @param publicKey Type: bytes, Indexed: false + * @param memo Type: string, Indexed: false + * @param rate Type: uint256, Indexed: false + */ + stake(validator: string, publicKey: string | number[], memo: string, rate: string): MethodPayableReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validator Type: address, Indexed: false + * @param delegator Type: address, Indexed: false + */ + systemClaim(validator: string, delegator: string): MethodReturnContext; + /** + * Payable: true + * Constant: false + * StateMutability: payable + * Type: function + * @param validator Type: address, Indexed: false + * @param delegator Type: address, Indexed: false + * @param delegatorPk Type: bytes, Indexed: false + */ + systemDelegate(validator: string, delegator: string, delegatorPk: string | number[]): MethodPayableReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validators Type: address[], Indexed: false + * @param oldDelegator Type: address, Indexed: false + * @param newDelegator Type: address, Indexed: false + * @param delegatorPk Type: bytes, Indexed: false + */ + systemReplaceDelegator(validators: string[], oldDelegator: string, newDelegator: string, delegatorPk: string | number[]): MethodReturnContext; + /** + * Payable: true + * Constant: false + * StateMutability: payable + * Type: function + * @param validator Type: address, Indexed: false + * @param publicKey Type: bytes, Indexed: false + * @param staker Type: address, Indexed: false + * @param stakerPk Type: bytes, Indexed: false + * @param memo Type: string, Indexed: false + * @param rate Type: uint256, Indexed: false + */ + systemStake(validator: string, publicKey: string | number[], staker: string, stakerPk: string | number[], memo: string, rate: string): MethodPayableReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validator Type: address, Indexed: false + * @param delegator Type: address, Indexed: false + * @param amount Type: uint256, Indexed: false + */ + systemUndelegate(validator: string, delegator: string, amount: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validator Type: address, Indexed: false + * @param staker Type: address, Indexed: false + * @param memo Type: string, Indexed: false + * @param rate Type: uint256, Indexed: false + */ + systemUpdateValidator(validator: string, staker: string, memo: string, rate: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param newOwner Type: address, Indexed: false + */ + transferOwnership(newOwner: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param proposer Type: address, Indexed: false + * @param voted Type: address[], Indexed: false + * @param unvoted Type: address[], Indexed: false + * @param byztine Type: address[], Indexed: false + * @param behavior Type: uint8[], Indexed: false + * @param preIssueAmount Type: uint256, Indexed: false + */ + trigger(proposer: string, voted: string[], unvoted: string[], byztine: string[], behavior: string | number[], preIssueAmount: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validator Type: address, Indexed: false + * @param amount Type: uint256, Indexed: false + */ + undelegate(validator: string, amount: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validator Type: address, Indexed: false + * @param memo Type: string, Indexed: false + * @param rate Type: uint256, Indexed: false + */ + updateValidator(validator: string, memo: string, rate: string): MethodReturnContext; +} diff --git a/dist/api/evm/types/System.js b/dist/api/evm/types/System.js new file mode 100644 index 00000000..df3b3e3c --- /dev/null +++ b/dist/api/evm/types/System.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=System.js.map \ No newline at end of file diff --git a/dist/api/evm/types/System.js.map b/dist/api/evm/types/System.js.map new file mode 100644 index 00000000..f55dbe7d --- /dev/null +++ b/dist/api/evm/types/System.js.map @@ -0,0 +1 @@ +{"version":3,"file":"System.js","sourceRoot":"","sources":["../../../../src/api/evm/types/System.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/api/evm/web3.d.ts b/dist/api/evm/web3.d.ts index 14a88459..ade3345b 100644 --- a/dist/api/evm/web3.d.ts +++ b/dist/api/evm/web3.d.ts @@ -1,13 +1,17 @@ import Web3 from 'web3'; import { Contract } from 'web3-eth-contract'; +import { Config } from './types/Config'; import { Erc20 } from './types/Erc20'; import { FNSRegistry } from './types/FNSRegistry'; +import { NameResolver } from './types/NameResolver'; import { NFT1155 } from './types/NFT1155'; import { NFT721 } from './types/NFT721'; -import { NameResolver } from './types/NameResolver'; import { PrismProxy } from './types/PrismProxy'; import { PrismXXAsset } from './types/PrismXXAsset'; +import { Reward } from './types/Reward'; import { SimBridge } from './types/SimBridge'; +import { Staking } from './types/Staking'; +import { System } from './types/System'; export interface IWebLinkedInfo { privateStr: string; rpcUrl: string; @@ -26,7 +30,11 @@ declare const getPrismXXAssetContract: (web3: Web3, address: string) => MyContra declare const getSimBridgeContract: (web3: Web3, address: string) => MyContract; declare const getNameResolverContract: (web3: Web3, address: string) => MyContract; declare const getFNSRegistryContract: (web3: Web3, address: string) => MyContract; +declare const getSystemContract: (web3: Web3, address: string) => MyContract; +declare const getStakingContract: (web3: Web3, address: string) => MyContract; +declare const getRewardContract: (web3: Web3, address: string) => MyContract; +declare const getConfigContract: (web3: Web3, address: string) => MyContract; declare const toHex: (covertThis: string, padding: number) => string; declare const calculationDecimalsAmount: (contract: MyContract, web3: Web3, from: string, to: string, amount: string, type: 'toWei' | 'formWei') => Promise; declare const getCurrentBalance: (web3: Web3, account: string) => Promise; -export { getWeb3, getErc20Contract, getPrismProxyContract, getFNSRegistryContract, getNFT721Contract, getNFT1155Contract, getPrismXXAssetContract, getSimBridgeContract, getNameResolverContract, calculationDecimalsAmount, toHex, getCurrentBalance, }; +export { getWeb3, getErc20Contract, getPrismProxyContract, getFNSRegistryContract, getNFT721Contract, getNFT1155Contract, getPrismXXAssetContract, getSimBridgeContract, getNameResolverContract, calculationDecimalsAmount, toHex, getCurrentBalance, getSystemContract, getStakingContract, getRewardContract, getConfigContract, }; diff --git a/dist/api/evm/web3.js b/dist/api/evm/web3.js index 2ea43e27..f3dc9ec4 100644 --- a/dist/api/evm/web3.js +++ b/dist/api/evm/web3.js @@ -39,18 +39,22 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.getCurrentBalance = exports.toHex = exports.calculationDecimalsAmount = exports.getNameResolverContract = exports.getSimBridgeContract = exports.getPrismXXAssetContract = exports.getNFT1155Contract = exports.getNFT721Contract = exports.getFNSRegistryContract = exports.getPrismProxyContract = exports.getErc20Contract = exports.getWeb3 = void 0; +exports.getConfigContract = exports.getRewardContract = exports.getStakingContract = exports.getSystemContract = exports.getCurrentBalance = exports.toHex = exports.calculationDecimalsAmount = exports.getNameResolverContract = exports.getSimBridgeContract = exports.getPrismXXAssetContract = exports.getNFT1155Contract = exports.getNFT721Contract = exports.getFNSRegistryContract = exports.getPrismProxyContract = exports.getErc20Contract = exports.getWeb3 = void 0; var bignumber_js_1 = __importDefault(require("bignumber.js")); var ethers_1 = require("ethers"); var web3_1 = __importDefault(require("web3")); +var Config_json_1 = __importDefault(require("./abis/Config.json")); var Erc20_json_1 = __importDefault(require("./abis/Erc20.json")); var FNSRegistry_json_1 = __importDefault(require("./abis/FNSRegistry.json")); +var NameResolver_json_1 = __importDefault(require("./abis/NameResolver.json")); var NFT1155_json_1 = __importDefault(require("./abis/NFT1155.json")); var NFT721_json_1 = __importDefault(require("./abis/NFT721.json")); -var NameResolver_json_1 = __importDefault(require("./abis/NameResolver.json")); var PrismProxy_json_1 = __importDefault(require("./abis/PrismProxy.json")); var PrismXXAsset_json_1 = __importDefault(require("./abis/PrismXXAsset.json")); +var Reward_json_1 = __importDefault(require("./abis/Reward.json")); var SimBridge_json_1 = __importDefault(require("./abis/SimBridge.json")); +var Staking_json_1 = __importDefault(require("./abis/Staking.json")); +var System_json_1 = __importDefault(require("./abis/System.json")); var getWeb3 = function (rpcUrl) { var provider = new web3_1.default.providers.HttpProvider(rpcUrl); var web3 = new web3_1.default(provider); @@ -89,6 +93,22 @@ var getFNSRegistryContract = function (web3, address) { return new web3.eth.Contract(FNSRegistry_json_1.default, address); }; exports.getFNSRegistryContract = getFNSRegistryContract; +var getSystemContract = function (web3, address) { + return new web3.eth.Contract(System_json_1.default, address); +}; +exports.getSystemContract = getSystemContract; +var getStakingContract = function (web3, address) { + return new web3.eth.Contract(Staking_json_1.default, address); +}; +exports.getStakingContract = getStakingContract; +var getRewardContract = function (web3, address) { + return new web3.eth.Contract(Reward_json_1.default, address); +}; +exports.getRewardContract = getRewardContract; +var getConfigContract = function (web3, address) { + return new web3.eth.Contract(Config_json_1.default, address); +}; +exports.getConfigContract = getConfigContract; var toHex = function (covertThis, padding) { var temp1 = ethers_1.ethers.utils.hexZeroPad(ethers_1.ethers.utils.hexlify(new bignumber_js_1.default(covertThis).toNumber()), padding); return temp1; diff --git a/dist/api/evm/web3.js.map b/dist/api/evm/web3.js.map index eb2da8fd..86bf4f69 100644 --- a/dist/api/evm/web3.js.map +++ b/dist/api/evm/web3.js.map @@ -1 +1 @@ -{"version":3,"file":"web3.js","sourceRoot":"","sources":["../../../src/api/evm/web3.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8DAAqC;AAErC,iCAAgC;AAChC,8CAAwB;AAGxB,iEAAyC;AACzC,6EAAqD;AACrD,qEAA6C;AAC7C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V,MAAc,EACd,IAAyB;;;;oBAEJ,qBAAM,QAAQ,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAA;;gBAA5D,YAAY,GAAG,SAA6C;gBAE5D,QAAQ,GAAG;oBACf,IAAI,MAAA;oBACJ,EAAE,IAAA;oBACF,IAAI,EAAE,YAAY;iBACnB,CAAC;gBAEoB,qBAAM,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAA;;gBAA7C,aAAa,GAAG,SAA6B;gBAC7C,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,aAAa,CAAC,CAAC;gBAE5D,GAAG,GAAG,IAAI,sBAAS,CAAC,EAAE,CAAC,CAAC;gBACxB,KAAK,GAAG,GAAG,CAAC,eAAe,CAAC,aAAa,CAAC,CAAC;gBAEjD,IAAI,IAAI,KAAK,OAAO,EAAE;oBACpB,sBAAO,IAAI,sBAAS,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAC;iBACxD;gBACD,sBAAO,IAAI,sBAAS,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAC;;;KACrD,CAAC;AAgBA,8DAAyB;AAd3B,IAAM,iBAAiB,GAAG,UAAO,IAAU,EAAE,OAAe;;;oBACnD,qBAAM,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,EAAA;oBAAzC,sBAAO,SAAkC,EAAC;;;KAC3C,CAAC;AAcA,8CAAiB"} \ No newline at end of file diff --git a/dist/api/network/types.d.ts b/dist/api/network/types.d.ts index 0512d4a8..90786a28 100644 --- a/dist/api/network/types.d.ts +++ b/dist/api/network/types.d.ts @@ -578,5 +578,6 @@ export interface DisplayCheckpointDataResult extends NetworkAxiosDataResult { fix_delegators_am_height: number; validators_limit_v2_height: number; fns_registry: string; + evm_staking_address: string; }; } diff --git a/dist/api/staking/staking.d.ts b/dist/api/staking/staking.d.ts index a15f95fb..05aa505a 100644 --- a/dist/api/staking/staking.d.ts +++ b/dist/api/staking/staking.d.ts @@ -12,14 +12,11 @@ import * as AssetApi from '../sdkAsset'; * ```ts * const walletInfo = await Keypair.restoreFromPrivateKey(pkey, password); * - * // Define whether or not user desires to unstake all the tokens, or only part of the staked amount - * const isFullUnstake = false; * * const transactionBuilder = await StakingApi.unStake( * walletInfo, * amount, * validator, - * isFullUnstake, * ); * * const resultHandle = await Transaction.submitTransaction(transactionBuilder); @@ -27,7 +24,7 @@ import * as AssetApi from '../sdkAsset'; * * @returns TransactionBuilder which should be used in `Transaction.submitTransaction` */ -export declare const unStake: (walletInfo: WalletKeypar, amount: string, validator: string, isFullUnstake?: boolean) => Promise; +export declare const unStake: (walletInfo: WalletKeypar, amount: string, validator: string) => Promise; /** * Delegates FRA tokens * @@ -83,9 +80,11 @@ export declare const delegate: (walletInfo: WalletKeypar, address: string, amoun * ```ts * const walletInfo = await Keypair.restoreFromPrivateKey(pkey, password); + * const validators = ['validator_addr1', 'validator_addr2']; * const transactionBuilder = await StakingApi.claim( * walletInfo, * amount, + * validators, * ); * * const resultHandle = await Transaction.submitTransaction(transactionBuilder); @@ -93,7 +92,7 @@ export declare const delegate: (walletInfo: WalletKeypar, address: string, amoun * * @returns TransactionBuilder which should be used in `Transaction.submitTransaction` */ -export declare const claim: (walletInfo: WalletKeypar, amount: string) => Promise; +export declare const claim: (walletInfo: WalletKeypar, validators: string[]) => Promise; /** * @returns * @todo add unit test diff --git a/dist/api/staking/staking.js b/dist/api/staking/staking.js index 862cf6a1..3083e824 100644 --- a/dist/api/staking/staking.js +++ b/dist/api/staking/staking.js @@ -75,6 +75,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { Object.defineProperty(exports, "__esModule", { value: true }); exports.getDelegateInfo = exports.getValidatorList = exports.claim = exports.delegate = exports.unStake = void 0; var orderBy_1 = __importDefault(require("lodash/orderBy")); +var web3_1 = __importDefault(require("web3")); var Transaction = __importStar(require("../../api/transaction")); var bigNumber_1 = require("../../services/bigNumber"); var Fee = __importStar(require("../../services/fee")); @@ -93,14 +94,11 @@ var Builder = __importStar(require("../transaction/builder")); * ```ts * const walletInfo = await Keypair.restoreFromPrivateKey(pkey, password); * - * // Define whether or not user desires to unstake all the tokens, or only part of the staked amount - * const isFullUnstake = false; * * const transactionBuilder = await StakingApi.unStake( * walletInfo, * amount, * validator, - * isFullUnstake, * ); * * const resultHandle = await Transaction.submitTransaction(transactionBuilder); @@ -108,70 +106,72 @@ var Builder = __importStar(require("../transaction/builder")); * * @returns TransactionBuilder which should be used in `Transaction.submitTransaction` */ -var unStake = function (walletInfo, amount, validator, isFullUnstake) { - if (isFullUnstake === void 0) { isFullUnstake = false; } - return __awaiter(void 0, void 0, void 0, function () { - var transferFeeOperationBuilder, receivedTransferFeeOperation, e, transactionBuilder, error_1, e, e, e; - return __generator(this, function (_a) { - switch (_a.label) { - case 0: return [4 /*yield*/, Fee.buildTransferOperationWithFee(walletInfo)]; - case 1: - transferFeeOperationBuilder = _a.sent(); - try { - receivedTransferFeeOperation = transferFeeOperationBuilder - .create() - .sign(walletInfo.keypair) - .transaction(); - } - catch (error) { - e = error; - throw new Error("Could not create transfer operation with fee, Error: \"".concat(e.message, "\"")); - } - _a.label = 2; - case 2: - _a.trys.push([2, 4, , 5]); - return [4 /*yield*/, Builder.getTransactionBuilder()]; - case 3: - transactionBuilder = _a.sent(); - return [3 /*break*/, 5]; - case 4: - error_1 = _a.sent(); - e = error_1; - throw new Error("Could not get \"stakingTransactionBuilder\", Error: \"".concat(e.message, "\"")); - case 5: - try { - if (isFullUnstake) { - transactionBuilder = transactionBuilder.add_operation_undelegate(walletInfo.keypair); - } - else { - transactionBuilder = transactionBuilder.add_operation_undelegate_partially(walletInfo.keypair, BigInt(amount), validator); - } - } - catch (error) { - e = error; - throw new Error("Could not add staking unStake operation, Error: \"".concat(e.message, "\"")); - } - try { - transactionBuilder = transactionBuilder.add_transfer_operation(receivedTransferFeeOperation); - } - catch (error) { - e = error; - throw new Error("Could not add transfer to unStake operation, Error: \"".concat(e.message, "\"")); - } - try { - transactionBuilder = transactionBuilder.build(); - transactionBuilder = transactionBuilder.sign(walletInfo.keypair); - // transactionBuilder = transactionBuilder.sign_origin(walletInfo.keypair); - } - catch (err) { - console.log('sendToMany error in build and sign ', err); - throw new Error("could not build and sign txn \"".concat(err.message, "\"")); - } - return [2 /*return*/, transactionBuilder]; - } - }); +var unStake = function (walletInfo, amount, validator) { return __awaiter(void 0, void 0, void 0, function () { + var transferFeeOperationBuilder, receivedTransferFeeOperation, e, transactionBuilder, error_1, e, targetValidator, e, e; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, Fee.buildTransferOperationWithFee(walletInfo)]; + case 1: + transferFeeOperationBuilder = _a.sent(); + try { + receivedTransferFeeOperation = transferFeeOperationBuilder + .create() + .sign(walletInfo.keypair) + .transaction(); + } + catch (error) { + e = error; + throw new Error("Could not create transfer operation with fee, Error: \"".concat(e.message, "\"")); + } + _a.label = 2; + case 2: + _a.trys.push([2, 4, , 5]); + return [4 /*yield*/, Builder.getTransactionBuilder()]; + case 3: + transactionBuilder = _a.sent(); + return [3 /*break*/, 5]; + case 4: + error_1 = _a.sent(); + e = error_1; + throw new Error("Could not get \"stakingTransactionBuilder\", Error: \"".concat(e.message, "\"")); + case 5: + try { + targetValidator = validator.startsWith('0x') ? validator.slice(2) : validator; + transactionBuilder = transactionBuilder.add_operation_undelegate_partially(walletInfo.keypair, BigInt(amount), targetValidator); + // if (isFullUnstake) { + // transactionBuilder = transactionBuilder.add_operation_undelegate(walletInfo.keypair); + // } else { + // transactionBuilder = transactionBuilder.add_operation_undelegate_partially( + // walletInfo.keypair, + // BigInt(amount), + // validator.startsWith('0x') ? validator.slice(2) : validator, + // ); + // } + } + catch (error) { + e = error; + throw new Error("Could not add staking unStake operation, Error: \"".concat(e.message, "\"")); + } + try { + transactionBuilder = transactionBuilder.add_transfer_operation(receivedTransferFeeOperation); + } + catch (error) { + e = error; + throw new Error("Could not add transfer to unStake operation, Error: \"".concat(e.message, "\"")); + } + try { + transactionBuilder = transactionBuilder.build(); + transactionBuilder = transactionBuilder.sign(walletInfo.keypair); + // transactionBuilder = transactionBuilder.sign_origin(walletInfo.keypair); + } + catch (err) { + console.log('sendToMany error in build and sign ', err); + throw new Error("could not build and sign txn \"".concat(err.message, "\"")); + } + return [2 /*return*/, transactionBuilder]; + } }); -}; +}); }; exports.unStake = unStake; /** * Delegates FRA tokens @@ -217,7 +217,7 @@ exports.unStake = unStake; * @returns TransactionBuilder which should be used in `Transaction.submitTransaction` */ var delegate = function (walletInfo, address, amount, assetCode, validator, assetBlindRules) { return __awaiter(void 0, void 0, void 0, function () { - var transactionBuilder, asset, decimals, delegateAmount; + var transactionBuilder, asset, decimals, delegateAmount, targetValidator; return __generator(this, function (_a) { switch (_a.label) { case 0: return [4 /*yield*/, Transaction.sendToAddress(walletInfo, address, amount, assetCode, assetBlindRules)]; @@ -228,7 +228,8 @@ var delegate = function (walletInfo, address, amount, assetCode, validator, asse asset = _a.sent(); decimals = asset.assetRules.decimals; delegateAmount = BigInt((0, bigNumber_1.toWei)(amount, decimals).toString()); - transactionBuilder = transactionBuilder.add_operation_delegate(walletInfo.keypair, delegateAmount, validator); + targetValidator = validator.startsWith('0x') ? validator.slice(2) : validator; + transactionBuilder = transactionBuilder.add_operation_delegate(walletInfo.keypair, delegateAmount, targetValidator); try { transactionBuilder = transactionBuilder.build(); transactionBuilder = transactionBuilder.sign(walletInfo.keypair); @@ -254,9 +255,11 @@ exports.delegate = delegate; * ```ts * const walletInfo = await Keypair.restoreFromPrivateKey(pkey, password); + * const validators = ['validator_addr1', 'validator_addr2']; * const transactionBuilder = await StakingApi.claim( * walletInfo, * amount, + * validators, * ); * * const resultHandle = await Transaction.submitTransaction(transactionBuilder); @@ -264,8 +267,8 @@ exports.delegate = delegate; * * @returns TransactionBuilder which should be used in `Transaction.submitTransaction` */ -var claim = function (walletInfo, amount) { return __awaiter(void 0, void 0, void 0, function () { - var transferFeeOperationBuilder, receivedTransferFeeOperation, e, transactionBuilder, error_2, e, e; +var claim = function (walletInfo, validators) { return __awaiter(void 0, void 0, void 0, function () { + var transferFeeOperationBuilder, receivedTransferFeeOperation, e, transactionBuilder, error_2, e, _i, validators_1, validator, e; return __generator(this, function (_a) { switch (_a.label) { case 0: return [4 /*yield*/, Fee.buildTransferOperationWithFee(walletInfo)]; @@ -294,9 +297,11 @@ var claim = function (walletInfo, amount) { return __awaiter(void 0, void 0, voi throw new Error("Could not get \"stakingTransactionBuilder\", Error: \"".concat(e.message, "\"")); case 5: try { - transactionBuilder = transactionBuilder - .add_operation_claim_custom(walletInfo.keypair, BigInt(amount)) - .add_transfer_operation(receivedTransferFeeOperation); + for (_i = 0, validators_1 = validators; _i < validators_1.length; _i++) { + validator = validators_1[_i]; + transactionBuilder = transactionBuilder.add_operation_claim(walletInfo.keypair, Buffer.from(web3_1.default.utils.hexToBytes(validator))); + } + transactionBuilder = transactionBuilder.add_transfer_operation(receivedTransferFeeOperation); } catch (error) { e = error; diff --git a/dist/api/staking/staking.js.map b/dist/api/staking/staking.js.map index c23005fa..e4a179a0 100644 --- a/dist/api/staking/staking.js.map +++ b/dist/api/staking/staking.js.map @@ -1 +1 @@ -{"version":3,"file":"staking.js","sourceRoot":"","sources":["../../../src/api/staking/staking.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2DAAqC;AAErC,iEAAqD;AACrD,sDAA4E;AAC5E,sDAA0C;AAE1C,sCAAkE;AAClE,kDAAsC;AACtC,oDAAwC;AACxC,8DAAkD;AAElD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACI,IAAM,OAAO,GAAG,UACrB,UAAwB,EACxB,MAAc,EACd,SAAiB,EACjB,aAAqB;IAArB,8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AEjD,MAAM,IAAI,KAAK,CAAC,4CAAqC,KAAa,CAAC,OAAO,OAAG,CAAC,CAAC;;;;KAElF,CAAC;AA7BW,QAAA,eAAe,mBA6B1B"} \ No newline at end of file diff --git a/dist/api/staking/staking.spec.js b/dist/api/staking/staking.spec.js index 88d8c1d3..a4e028d9 100644 --- a/dist/api/staking/staking.spec.js +++ b/dist/api/staking/staking.spec.js @@ -58,8 +58,12 @@ var __generator = (this && this.__generator) || function (thisArg, body) { if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; } }; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; Object.defineProperty(exports, "__esModule", { value: true }); require("@testing-library/jest-dom/extend-expect"); +var web3_1 = __importDefault(require("web3")); var Fee = __importStar(require("../../services/fee")); var SdkAsset = __importStar(require("../sdkAsset/sdkAsset")); var Builder = __importStar(require("../transaction/builder")); @@ -68,7 +72,7 @@ var Staking = __importStar(require("./staking")); describe('staking (unit test)', function () { describe('undelegate', function () { it('undelegates all funds from the validator', function () { return __awaiter(void 0, void 0, void 0, function () { - var fakeTransactionBuilder, receivedTransferOperation, fakeTransferOperationBuilderFee, spyBuildTransferOperationWithFee, spyTransactionGetTransactionBuilder, spyAddOperationUndelegate, spyAddOperationUndelegatePartially, spyAddTransferOperation, walletInfo, amount, validator, isFullUnstake, result; + var fakeTransactionBuilder, receivedTransferOperation, fakeTransferOperationBuilderFee, spyBuildTransferOperationWithFee, spyTransactionGetTransactionBuilder, spyAddOperationUndelegatePartially, spyAddTransferOperation, walletInfo, amount, validator, result; return __generator(this, function (_a) { switch (_a.label) { case 0: @@ -79,10 +83,13 @@ describe('staking (unit test)', function () { add_transfer_operation: jest.fn(function () { return fakeTransactionBuilder; }), - add_operation_undelegate: jest.fn(function () { + add_operation_undelegate_partially: jest.fn(function () { return fakeTransactionBuilder; }), - add_operation_undelegate_partially: jest.fn(function () { + build: jest.fn(function () { + return fakeTransactionBuilder; + }), + sign: jest.fn(function () { return fakeTransactionBuilder; }), }; @@ -91,12 +98,15 @@ describe('staking (unit test)', function () { create: jest.fn(function () { return fakeTransferOperationBuilderFee; }), - sign: jest.fn(function () { - return fakeTransferOperationBuilderFee; - }), transaction: jest.fn(function () { return receivedTransferOperation; }), + build: jest.fn(function () { + return fakeTransferOperationBuilderFee; + }), + sign: jest.fn(function () { + return fakeTransferOperationBuilderFee; + }), }; spyBuildTransferOperationWithFee = jest .spyOn(Fee, 'buildTransferOperationWithFee') @@ -108,11 +118,6 @@ describe('staking (unit test)', function () { .mockImplementation(function () { return Promise.resolve(fakeTransactionBuilder); }); - spyAddOperationUndelegate = jest - .spyOn(fakeTransactionBuilder, 'add_operation_undelegate') - .mockImplementation(function () { - return fakeTransactionBuilder; - }); spyAddOperationUndelegatePartially = jest .spyOn(fakeTransactionBuilder, 'add_operation_undelegate_partially') .mockImplementation(function () { @@ -126,19 +131,18 @@ describe('staking (unit test)', function () { walletInfo = { publickey: 'senderPub' }; amount = '2'; validator = 'myValidaotrAddress'; - isFullUnstake = true; - return [4 /*yield*/, Staking.unStake(walletInfo, amount, validator, isFullUnstake)]; + return [4 /*yield*/, Staking.unStake(walletInfo, amount, validator)]; case 1: result = _a.sent(); expect(spyBuildTransferOperationWithFee).toHaveBeenCalledWith(walletInfo); expect(spyTransactionGetTransactionBuilder).toHaveBeenCalled(); - expect(spyAddOperationUndelegate).toHaveBeenCalledWith(walletInfo.keypair); - expect(spyAddOperationUndelegatePartially).not.toHaveBeenCalled(); + // expect(spyAddOperationUndelegate).toHaveBeenCalledWith(walletInfo.keypair); + expect(spyAddOperationUndelegatePartially).toHaveBeenCalled(); expect(spyAddTransferOperation).toHaveBeenCalledWith(receivedTransferOperation); expect(result).toBe(fakeTransactionBuilder); spyBuildTransferOperationWithFee.mockRestore(); spyTransactionGetTransactionBuilder.mockRestore(); - spyAddOperationUndelegate.mockRestore(); + // spyAddOperationUndelegate.mockRestore(); spyAddOperationUndelegatePartially.mockRestore(); spyAddTransferOperation.mockRestore(); return [2 /*return*/]; @@ -146,7 +150,7 @@ describe('staking (unit test)', function () { }); }); }); it('partially undelegates funds from the validator', function () { return __awaiter(void 0, void 0, void 0, function () { - var fakeTransactionBuilder, receivedTransferOperation, fakeTransferOperationBuilderFee, spyBuildTransferOperationWithFee, spyTransactionGetTransactionBuilder, spyAddOperationUndelegate, spyAddOperationUndelegatePartially, spyAddTransferOperation, walletInfo, amount, validator, isFullUnstake, result; + var fakeTransactionBuilder, receivedTransferOperation, fakeTransferOperationBuilderFee, spyBuildTransferOperationWithFee, spyTransactionGetTransactionBuilder, spyAddOperationUndelegatePartially, spyAddTransferOperation, walletInfo, amount, validator, result; return __generator(this, function (_a) { switch (_a.label) { case 0: @@ -157,10 +161,16 @@ describe('staking (unit test)', function () { add_transfer_operation: jest.fn(function () { return fakeTransactionBuilder; }), - add_operation_undelegate: jest.fn(function () { + // add_operation_undelegate: jest.fn(() => { + // return fakeTransactionBuilder as unknown as TransactionBuilder; + // }), + add_operation_undelegate_partially: jest.fn(function () { return fakeTransactionBuilder; }), - add_operation_undelegate_partially: jest.fn(function () { + build: jest.fn(function () { + return fakeTransactionBuilder; + }), + sign: jest.fn(function () { return fakeTransactionBuilder; }), }; @@ -175,6 +185,9 @@ describe('staking (unit test)', function () { transaction: jest.fn(function () { return receivedTransferOperation; }), + build: jest.fn(function () { + return fakeTransactionBuilder; + }), }; spyBuildTransferOperationWithFee = jest .spyOn(Fee, 'buildTransferOperationWithFee') @@ -186,11 +199,6 @@ describe('staking (unit test)', function () { .mockImplementation(function () { return Promise.resolve(fakeTransactionBuilder); }); - spyAddOperationUndelegate = jest - .spyOn(fakeTransactionBuilder, 'add_operation_undelegate') - .mockImplementation(function () { - return fakeTransactionBuilder; - }); spyAddOperationUndelegatePartially = jest .spyOn(fakeTransactionBuilder, 'add_operation_undelegate_partially') .mockImplementation(function () { @@ -204,19 +212,18 @@ describe('staking (unit test)', function () { walletInfo = { publickey: 'senderPub' }; amount = '2'; validator = 'myValidaotrAddress'; - isFullUnstake = false; - return [4 /*yield*/, Staking.unStake(walletInfo, amount, validator, isFullUnstake)]; + return [4 /*yield*/, Staking.unStake(walletInfo, amount, validator)]; case 1: result = _a.sent(); expect(spyBuildTransferOperationWithFee).toHaveBeenCalledWith(walletInfo); expect(spyTransactionGetTransactionBuilder).toHaveBeenCalled(); - expect(spyAddOperationUndelegate).not.toHaveBeenCalledWith(); + // expect(spyAddOperationUndelegate).not.toHaveBeenCalledWith(); expect(spyAddOperationUndelegatePartially).toHaveBeenCalledWith(walletInfo.keypair, BigInt(amount), validator); expect(spyAddTransferOperation).toHaveBeenCalledWith(receivedTransferOperation); expect(result).toBe(fakeTransactionBuilder); spyBuildTransferOperationWithFee.mockRestore(); spyTransactionGetTransactionBuilder.mockRestore(); - spyAddOperationUndelegate.mockRestore(); + // spyAddOperationUndelegate.mockRestore(); spyAddOperationUndelegatePartially.mockRestore(); spyAddTransferOperation.mockRestore(); return [2 /*return*/]; @@ -224,7 +231,7 @@ describe('staking (unit test)', function () { }); }); }); it('throws an error when could not create a transfer operation', function () { return __awaiter(void 0, void 0, void 0, function () { - var fakeTransferOperationBuilderFee, spyBuildTransferOperationWithFee, walletInfo, amount, validator, isFullUnstake; + var fakeTransferOperationBuilderFee, spyBuildTransferOperationWithFee, walletInfo, amount, validator; return __generator(this, function (_a) { switch (_a.label) { case 0: @@ -235,6 +242,9 @@ describe('staking (unit test)', function () { sign: jest.fn(function () { throw new Error('boom'); }), + build: jest.fn(function () { + return fakeTransferOperationBuilderFee; + }), }; spyBuildTransferOperationWithFee = jest .spyOn(Fee, 'buildTransferOperationWithFee') @@ -244,9 +254,10 @@ describe('staking (unit test)', function () { walletInfo = { publickey: 'senderPub' }; amount = '2'; validator = 'myValidaotrAddress'; - isFullUnstake = false; - return [4 /*yield*/, expect(Staking.unStake(walletInfo, amount, validator, isFullUnstake)).rejects.toThrow('Could not create transfer operation with fee')]; + // const isFullUnstake = false; + return [4 /*yield*/, expect(Staking.unStake(walletInfo, amount, validator)).rejects.toThrow('Could not create transfer operation with fee')]; case 1: + // const isFullUnstake = false; _a.sent(); spyBuildTransferOperationWithFee.mockRestore(); return [2 /*return*/]; @@ -254,7 +265,7 @@ describe('staking (unit test)', function () { }); }); }); it('throws an error when could not create a transaction builder', function () { return __awaiter(void 0, void 0, void 0, function () { - var receivedTransferOperation, fakeTransferOperationBuilderFee, spyBuildTransferOperationWithFee, spyTransactionGetTransactionBuilder, walletInfo, amount, validator, isFullUnstake; + var receivedTransferOperation, fakeTransferOperationBuilderFee, spyBuildTransferOperationWithFee, spyTransactionGetTransactionBuilder, walletInfo, amount, validator; return __generator(this, function (_a) { switch (_a.label) { case 0: @@ -269,6 +280,9 @@ describe('staking (unit test)', function () { transaction: jest.fn(function () { return receivedTransferOperation; }), + build: jest.fn(function () { + return fakeTransferOperationBuilderFee; + }), }; spyBuildTransferOperationWithFee = jest .spyOn(Fee, 'buildTransferOperationWithFee') @@ -283,9 +297,10 @@ describe('staking (unit test)', function () { walletInfo = { publickey: 'senderPub' }; amount = '2'; validator = 'myValidaotrAddress'; - isFullUnstake = false; - return [4 /*yield*/, expect(Staking.unStake(walletInfo, amount, validator, isFullUnstake)).rejects.toThrow('Could not get "stakingTransactionBuilder"')]; + // const isFullUnstake = false; + return [4 /*yield*/, expect(Staking.unStake(walletInfo, amount, validator)).rejects.toThrow('Could not get "stakingTransactionBuilder"')]; case 1: + // const isFullUnstake = false; _a.sent(); spyBuildTransferOperationWithFee.mockRestore(); spyTransactionGetTransactionBuilder.mockRestore(); @@ -294,7 +309,7 @@ describe('staking (unit test)', function () { }); }); }); it('throws an error when could not add staking unStake operation', function () { return __awaiter(void 0, void 0, void 0, function () { - var fakeTransactionBuilder, receivedTransferOperation, fakeTransferOperationBuilderFee, spyBuildTransferOperationWithFee, spyTransactionGetTransactionBuilder, spyAddOperationUndelegatePartially, walletInfo, amount, validator, isFullUnstake; + var fakeTransactionBuilder, receivedTransferOperation, fakeTransferOperationBuilderFee, spyBuildTransferOperationWithFee, spyTransactionGetTransactionBuilder, spyAddOperationUndelegatePartially, walletInfo, amount, validator; return __generator(this, function (_a) { switch (_a.label) { case 0: @@ -305,10 +320,13 @@ describe('staking (unit test)', function () { add_transfer_operation: jest.fn(function () { return fakeTransactionBuilder; }), - add_operation_undelegate: jest.fn(function () { + // add_operation_undelegate: jest.fn(() => { + // return fakeTransactionBuilder as unknown as TransactionBuilder; + // }), + add_operation_undelegate_partially: jest.fn(function () { return fakeTransactionBuilder; }), - add_operation_undelegate_partially: jest.fn(function () { + build: jest.fn(function () { return fakeTransactionBuilder; }), }; @@ -323,6 +341,9 @@ describe('staking (unit test)', function () { transaction: jest.fn(function () { return receivedTransferOperation; }), + build: jest.fn(function () { + return fakeTransferOperationBuilderFee; + }), }; spyBuildTransferOperationWithFee = jest .spyOn(Fee, 'buildTransferOperationWithFee') @@ -342,9 +363,10 @@ describe('staking (unit test)', function () { walletInfo = { publickey: 'senderPub' }; amount = '2'; validator = 'myValidaotrAddress'; - isFullUnstake = false; - return [4 /*yield*/, expect(Staking.unStake(walletInfo, amount, validator, isFullUnstake)).rejects.toThrow('Could not add staking unStake operation')]; + // const isFullUnstake = false; + return [4 /*yield*/, expect(Staking.unStake(walletInfo, amount, validator)).rejects.toThrow('Could not add staking unStake operation')]; case 1: + // const isFullUnstake = false; _a.sent(); spyBuildTransferOperationWithFee.mockRestore(); spyTransactionGetTransactionBuilder.mockRestore(); @@ -354,7 +376,7 @@ describe('staking (unit test)', function () { }); }); }); it('throws an error when could not add transfer to unStake operation', function () { return __awaiter(void 0, void 0, void 0, function () { - var fakeTransactionBuilder, receivedTransferOperation, fakeTransferOperationBuilderFee, spyBuildTransferOperationWithFee, spyTransactionGetTransactionBuilder, spyAddOperationUndelegatePartially, spyAddTransferOperation, walletInfo, amount, validator, isFullUnstake; + var fakeTransactionBuilder, receivedTransferOperation, fakeTransferOperationBuilderFee, spyBuildTransferOperationWithFee, spyTransactionGetTransactionBuilder, spyAddOperationUndelegatePartially, spyAddTransferOperation, walletInfo, amount, validator; return __generator(this, function (_a) { switch (_a.label) { case 0: @@ -365,10 +387,13 @@ describe('staking (unit test)', function () { add_transfer_operation: jest.fn(function () { return fakeTransactionBuilder; }), - add_operation_undelegate: jest.fn(function () { + // add_operation_undelegate: jest.fn(() => { + // return fakeTransactionBuilder as unknown as TransactionBuilder; + // }), + add_operation_undelegate_partially: jest.fn(function () { return fakeTransactionBuilder; }), - add_operation_undelegate_partially: jest.fn(function () { + build: jest.fn(function () { return fakeTransactionBuilder; }), }; @@ -383,6 +408,9 @@ describe('staking (unit test)', function () { transaction: jest.fn(function () { return receivedTransferOperation; }), + build: jest.fn(function () { + return fakeTransferOperationBuilderFee; + }), }; spyBuildTransferOperationWithFee = jest .spyOn(Fee, 'buildTransferOperationWithFee') @@ -407,9 +435,10 @@ describe('staking (unit test)', function () { walletInfo = { publickey: 'senderPub' }; amount = '2'; validator = 'myValidaotrAddress'; - isFullUnstake = false; - return [4 /*yield*/, expect(Staking.unStake(walletInfo, amount, validator, isFullUnstake)).rejects.toThrow('Could not add transfer to unStake operation')]; + // const isFullUnstake = false; + return [4 /*yield*/, expect(Staking.unStake(walletInfo, amount, validator)).rejects.toThrow('Could not add transfer to unStake operation')]; case 1: + // const isFullUnstake = false; _a.sent(); spyBuildTransferOperationWithFee.mockRestore(); spyTransactionGetTransactionBuilder.mockRestore(); @@ -430,6 +459,12 @@ describe('staking (unit test)', function () { add_operation_delegate: jest.fn(function () { return fakeTransactionBuilder; }), + build: jest.fn(function () { + return fakeTransactionBuilder; + }), + sign: jest.fn(function () { + return fakeTransactionBuilder; + }), }; spyTransactionSendToaddress = jest.spyOn(Transaction, 'sendToAddress').mockImplementation(function () { return Promise.resolve(fakeTransactionBuilder); @@ -471,7 +506,7 @@ describe('staking (unit test)', function () { }); describe('claim', function () { it('claims the rewards from the validator', function () { return __awaiter(void 0, void 0, void 0, function () { - var fakeTransactionBuilder, receivedTransferOperation, fakeTransferOperationBuilderFee, spyBuildTransferOperationWithFee, spyTransactionGetTransactionBuilder, spyAddOperationClaimCustom, spyAddTransferOperation, walletInfo, amount, result; + var fakeTransactionBuilder, receivedTransferOperation, fakeTransferOperationBuilderFee, spyBuildTransferOperationWithFee, spyTransactionGetTransactionBuilder, spyAddOperationClaim, spyAddTransferOperation, walletInfo, validators, result; return __generator(this, function (_a) { switch (_a.label) { case 0: @@ -479,7 +514,13 @@ describe('staking (unit test)', function () { add_transfer_operation: jest.fn(function () { return fakeTransactionBuilder; }), - add_operation_claim_custom: jest.fn(function () { + add_operation_claim: jest.fn(function () { + return fakeTransactionBuilder; + }), + build: jest.fn(function () { + return fakeTransactionBuilder; + }), + sign: jest.fn(function () { return fakeTransactionBuilder; }), }; @@ -494,6 +535,9 @@ describe('staking (unit test)', function () { transaction: jest.fn(function () { return receivedTransferOperation; }), + build: jest.fn(function () { + return fakeTransferOperationBuilderFee; + }), }; spyBuildTransferOperationWithFee = jest .spyOn(Fee, 'buildTransferOperationWithFee') @@ -505,8 +549,8 @@ describe('staking (unit test)', function () { .mockImplementation(function () { return Promise.resolve(fakeTransactionBuilder); }); - spyAddOperationClaimCustom = jest - .spyOn(fakeTransactionBuilder, 'add_operation_claim_custom') + spyAddOperationClaim = jest + .spyOn(fakeTransactionBuilder, 'add_operation_claim') .mockImplementation(function () { return fakeTransactionBuilder; }); @@ -516,25 +560,26 @@ describe('staking (unit test)', function () { return fakeTransactionBuilder; }); walletInfo = { publickey: 'senderPub' }; - amount = '2'; - return [4 /*yield*/, Staking.claim(walletInfo, amount)]; + validators = ['0x0856654F7CD4BB0D6CC4409EF4892136C9D24692']; + return [4 /*yield*/, Staking.claim(walletInfo, validators)]; case 1: result = _a.sent(); expect(spyBuildTransferOperationWithFee).toHaveBeenCalledWith(walletInfo); expect(spyTransactionGetTransactionBuilder).toHaveBeenCalled(); - expect(spyAddOperationClaimCustom).toHaveBeenCalledWith(walletInfo.keypair, BigInt(amount)); + expect(spyAddOperationClaim).toHaveBeenCalledWith(walletInfo.keypair, Buffer.from(web3_1.default.utils.hexToBytes(validators[0]))); + // expect(spyAddOperationClaim).toHaveBeenCalledWith(walletInfo.keypair, Buffer.from(Web3.utils.hexToBytes(validators[1]))); expect(spyAddTransferOperation).toHaveBeenCalledWith(receivedTransferOperation); expect(result).toBe(fakeTransactionBuilder); spyBuildTransferOperationWithFee.mockRestore(); spyTransactionGetTransactionBuilder.mockRestore(); - spyAddOperationClaimCustom.mockRestore(); + spyAddOperationClaim.mockRestore(); spyAddTransferOperation.mockRestore(); return [2 /*return*/]; } }); }); }); it('throws an error if it can not get a transfer operation builder', function () { return __awaiter(void 0, void 0, void 0, function () { - var receivedTransferOperation, fakeTransferOperationBuilderFee, spyBuildTransferOperationWithFee, walletInfo, amount; + var receivedTransferOperation, fakeTransferOperationBuilderFee, spyBuildTransferOperationWithFee, walletInfo, validators; return __generator(this, function (_a) { switch (_a.label) { case 0: @@ -549,6 +594,9 @@ describe('staking (unit test)', function () { transaction: jest.fn(function () { return receivedTransferOperation; }), + build: jest.fn(function () { + return fakeTransferOperationBuilderFee; + }), }; spyBuildTransferOperationWithFee = jest .spyOn(Fee, 'buildTransferOperationWithFee') @@ -556,8 +604,8 @@ describe('staking (unit test)', function () { return Promise.resolve(fakeTransferOperationBuilderFee); }); walletInfo = { publickey: 'senderPub' }; - amount = '2'; - return [4 /*yield*/, expect(Staking.claim(walletInfo, amount)).rejects.toThrow('Could not create transfer operation')]; + validators = ['0x0856654F7CD4BB0D6CC4409EF4892136C9D24692']; + return [4 /*yield*/, expect(Staking.claim(walletInfo, validators)).rejects.toThrow('Could not create transfer operation')]; case 1: _a.sent(); spyBuildTransferOperationWithFee.mockRestore(); @@ -566,7 +614,7 @@ describe('staking (unit test)', function () { }); }); }); it('throws an error if it can not get a transaction operation builder', function () { return __awaiter(void 0, void 0, void 0, function () { - var fakeTransactionBuilder, receivedTransferOperation, fakeTransferOperationBuilderFee, spyBuildTransferOperationWithFee, spyTransactionGetTransactionBuilder, walletInfo, amount; + var fakeTransactionBuilder, receivedTransferOperation, fakeTransferOperationBuilderFee, spyBuildTransferOperationWithFee, spyTransactionGetTransactionBuilder, walletInfo, validators; return __generator(this, function (_a) { switch (_a.label) { case 0: @@ -574,7 +622,10 @@ describe('staking (unit test)', function () { add_transfer_operation: jest.fn(function () { return fakeTransactionBuilder; }), - add_operation_claim_custom: jest.fn(function () { + add_operation_claim: jest.fn(function () { + return fakeTransactionBuilder; + }), + build: jest.fn(function () { return fakeTransactionBuilder; }), }; @@ -589,6 +640,9 @@ describe('staking (unit test)', function () { transaction: jest.fn(function () { return receivedTransferOperation; }), + build: jest.fn(function () { + return fakeTransferOperationBuilderFee; + }), }; spyBuildTransferOperationWithFee = jest .spyOn(Fee, 'buildTransferOperationWithFee') @@ -601,8 +655,8 @@ describe('staking (unit test)', function () { throw new Error('boom'); }); walletInfo = { publickey: 'senderPub' }; - amount = '2'; - return [4 /*yield*/, expect(Staking.claim(walletInfo, amount)).rejects.toThrow('Could not get "stakingTransactionBuilder"')]; + validators = ['0x0856654F7CD4BB0D6CC4409EF4892136C9D24692']; + return [4 /*yield*/, expect(Staking.claim(walletInfo, validators)).rejects.toThrow('Could not get "stakingTransactionBuilder"')]; case 1: _a.sent(); spyBuildTransferOperationWithFee.mockRestore(); @@ -612,7 +666,7 @@ describe('staking (unit test)', function () { }); }); }); it('throws an error if it can not add staking claim operation', function () { return __awaiter(void 0, void 0, void 0, function () { - var fakeTransactionBuilder, receivedTransferOperation, fakeTransferOperationBuilderFee, spyBuildTransferOperationWithFee, spyTransactionGetTransactionBuilder, spyAddOperationClaimCustom, walletInfo, amount; + var fakeTransactionBuilder, receivedTransferOperation, fakeTransferOperationBuilderFee, spyBuildTransferOperationWithFee, spyTransactionGetTransactionBuilder, spyAddOperationClaim, walletInfo, validators; return __generator(this, function (_a) { switch (_a.label) { case 0: @@ -620,7 +674,10 @@ describe('staking (unit test)', function () { add_transfer_operation: jest.fn(function () { return fakeTransactionBuilder; }), - add_operation_claim_custom: jest.fn(function () { + add_operation_claim: jest.fn(function () { + return fakeTransactionBuilder; + }), + build: jest.fn(function () { return fakeTransactionBuilder; }), }; @@ -635,6 +692,9 @@ describe('staking (unit test)', function () { transaction: jest.fn(function () { return receivedTransferOperation; }), + build: jest.fn(function () { + return fakeTransferOperationBuilderFee; + }), }; spyBuildTransferOperationWithFee = jest .spyOn(Fee, 'buildTransferOperationWithFee') @@ -646,19 +706,19 @@ describe('staking (unit test)', function () { .mockImplementation(function () { return Promise.resolve(fakeTransactionBuilder); }); - spyAddOperationClaimCustom = jest - .spyOn(fakeTransactionBuilder, 'add_operation_claim_custom') + spyAddOperationClaim = jest + .spyOn(fakeTransactionBuilder, 'add_operation_claim') .mockImplementation(function () { throw new Error('bam'); }); walletInfo = { publickey: 'senderPub' }; - amount = '2'; - return [4 /*yield*/, expect(Staking.claim(walletInfo, amount)).rejects.toThrow('Could not add staking claim operation')]; + validators = ['0x0856654F7CD4BB0D6CC4409EF4892136C9D24692']; + return [4 /*yield*/, expect(Staking.claim(walletInfo, validators)).rejects.toThrow('Could not add staking claim operation')]; case 1: _a.sent(); spyBuildTransferOperationWithFee.mockRestore(); spyTransactionGetTransactionBuilder.mockRestore(); - spyAddOperationClaimCustom.mockRestore(); + spyAddOperationClaim.mockRestore(); return [2 /*return*/]; } }); diff --git a/dist/api/staking/staking.spec.js.map b/dist/api/staking/staking.spec.js.map index 48ee1124..0c20e00a 100644 --- a/dist/api/staking/staking.spec.js.map +++ b/dist/api/staking/staking.spec.js.map @@ -1 +1 @@ -{"version":3,"file":"staking.spec.js","sourceRoot":"","sources":["../../../src/api/staking/staking.spec.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAAiD;AAEjD,sDAA0C;AAI1C,6DAAiD;AACjD,8DAAkD;AAClD,sEAA0D;AAC1D,iDAAqC;AAkBrC,QAAQ,CAAC,qBAAqB,EAA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AAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"staking.spec.js","sourceRoot":"","sources":["../../../src/api/staking/staking.spec.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAAiD;AACjD,8CAAwB;AAExB,sDAA0C;AAI1C,6DAAiD;AACjD,8DAAkD;AAClD,sEAA0D;AAC1D,iDAAqC;AAmBrC,QAAQ,CAAC,qBAAqB,EAAE;IAC9B,QAAQ,CAAC,YAAY,EAAE;QACrB,EAAE,CAAC,0CAA0C,EAAE;;;;;wBACvC,sBAAsB,GAA2B;4BACrD,GAAG,EAAE,IAAI,CAAC,EAAE,CAAC;gCACX,OAAO,sBAAsB,CAAC;4BAChC,CAAC,CAAC;4BACF,sBAAsB,EAAE,IAAI,CAAC,EAAE,CAAC;gCAC9B,OAAO,sBAAuD,CAAC;4BACjE,CAAC,CAAC;4BACF,kCAAkC,EAAE,IAAI,CAAC,EAAE,CAAC;gCAC1C,OAAO,sBAAuD,CAAC;4BACjE,CAAC,CAAC;4BACF,KAAK,EAAE,IAAI,CAAC,EAAE,CAAC;gCACb,OAAO,sBAAsB,CAAC;4BAChC,CAAC,CAAC;4BACF,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC;gCACZ,OAAO,sBAAsB,CAAC;4BAChC,CAAC,CAAC;yBACH,CAAC;wBAEI,yBAAyB,GAAG,QAAQ,CAAC;wBAErC,+BAA+B,GAA2B;4BAC9D,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC;gCACd,OAAO,+BAA+B,CAAC;4BACzC,CAAC,CAAC;4BACF,WAAW,EAAE,IAAI,CAAC,EAAE,CAAC;gCACnB,OAAO,yBAAyB,CAAC;4BACnC,CAAC,CAAC;4BACF,KAAK,EAAE,IAAI,CAAC,EAAE,CAAC;gCACb,OAAO,+BAA+B,CAAC;4BACzC,CAAC,CAAC;4BACF,IAAI,EAAE,IA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,4CAA4C,CAAC,CAAC;wBAElE,qBAAM,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CACjE,uCAAuC,CACxC,EAAA;;wBAFD,SAEC,CAAC;wBAEF,gCAAgC,CAAC,WAAW,EAAE,CAAC;wBAC/C,mCAAmC,CAAC,WAAW,EAAE,CAAC;wBAClD,oBAAoB,CAAC,WAAW,EAAE,CAAC;;;;aACpC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/dist/run.js b/dist/run.js index 84c0395a..f57e9ce2 100644 --- a/dist/run.js +++ b/dist/run.js @@ -912,7 +912,7 @@ var delegateFraTransactionSubmit = function () { return __awaiter(void 0, void 0 }); }; exports.delegateFraTransactionSubmit = delegateFraTransactionSubmit; var delegateFraTransactionAndClaimRewards = function () { return __awaiter(void 0, void 0, void 0, function () { - var password, Ledger, pkey, walletInfo, toWalletInfo, fraCode, assetBlindRules, numbersToSend, numbersToDelegate, balanceBeforeSend, transactionBuilderSend, resultHandleSend, balanceAfterSend, delegationTargetPublicKey, delegationTargetAddress, formattedVlidators, validatorAddress, transactionBuilder, resultHandle, transactionStatus, sendResponse, Committed, txnSID, balanceAfterDelegate, delegateInfo, isRewardsAdded, balanceBefore, amountToClaim, transactionBuilderClaim, resultHandleClaim, transactionStatusClaim, claimResponse, ClaimCommited, txnSIDClaim, balanceAfter, isClaimSuccessfull; + var password, Ledger, pkey, walletInfo, toWalletInfo, fraCode, assetBlindRules, numbersToSend, numbersToDelegate, balanceBeforeSend, transactionBuilderSend, resultHandleSend, balanceAfterSend, delegationTargetPublicKey, delegationTargetAddress, formattedVlidators, validatorAddress, transactionBuilder, resultHandle, transactionStatus, sendResponse, Committed, txnSID, balanceAfterDelegate, delegateInfo, isRewardsAdded, balanceBefore, transactionBuilderClaim, resultHandleClaim, transactionStatusClaim, claimResponse, ClaimCommited, txnSIDClaim, balanceAfter, isClaimSuccessfull; return __generator(this, function (_a) { switch (_a.label) { case 0: @@ -1037,8 +1037,7 @@ var delegateFraTransactionAndClaimRewards = function () { return __awaiter(void case 28: balanceBefore = _a.sent(); console.log('🚀 ~ file: run.ts ~ line 801 ~ delegateFraTransactionAndClaimRewards ~ balanceBeforeClaim', balanceBefore); - amountToClaim = delegateInfo.rewards; - return [4 /*yield*/, api_1.Staking.claim(toWalletInfo, amountToClaim)]; + return [4 /*yield*/, api_1.Staking.claim(toWalletInfo, ['addr'])]; case 29: transactionBuilderClaim = _a.sent(); return [4 /*yield*/, api_1.Transaction.submitTransaction(transactionBuilderClaim)]; diff --git a/dist/run.js.map b/dist/run.js.map index 360c460f..a43a0779 100644 --- a/dist/run.js.map +++ b/dist/run.js.map @@ -1 +1 @@ -{"version":3,"file":"run.js","sourceRoot":"","sources":["../src/run.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA+B;AAC/B,0DAAoC;AACpC,kDAA4B;AAC5B,gEAAkC;AAClC,6BAAoF;AAEpF,iDAAuD;AACvD,8CAAwB;AAExB,6DAAyF;AACzF,kDAAsC;AACtC,sCAA8C;AAC9C,iEAA4D;AAC5D,0CAAwD;AACxD,gEAAoD;AACpD,oEAAoE;AAEpE,gBAAM,CAAC,MAAM,EAAE,CAAC;AAEhB,IAAM,8BAA8B,GAAG,KAAK,CAAC;AAE7C;;GAEG;AACH,IAAM,MAAM,GAAG;IACb,oDAAoD;IACpD,OAAO,EAAE,uCAAuC;IAChD,kDAAkD;IAClD,8CAA8C;IAC9C,+BAA+B;IAC/B,+CAA+C;IAC/C,+CAA+C;IAC/C,oEAAoE;IACpE,oCAAoC;IACpC,iFAAiF;IACjF,+CAA+C;IAC/C,cAAc,EAAE,6CAA6C;IAC7D,aAAa,EAAE,+BAAmB;IAClC,SAAS,EAAE,SAAS;CACrB,CAAC;AAEF;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;;;;;;CAuB5B;AAED,SAAe,eAAe;;;;;wBAEb,qBAAM,SAAG,CAAC,oBAAoB,CAAC,SAAS,CAAC,EAAA;;oBAAlD,MAAM,GAAG,SAAyC;oBACxD,OAAO,CAAC,GAAG,CAAC,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,GAAG,CAAC,CAAC;;;;;CAC1B;AAED,WAAW;AAEX,kBAAkB;AAClB,gBAAgB;AAChB,mBAAmB;AACnB,uBAAuB;AACvB,iBAAiB;AACjB,sBAAsB;AACtB,YAAY;AACZ,oBAAoB;AACpB,iBAAiB;AAEjB,oBAAoB;AACpB,wBAAwB;AAExB,oBAAoB;AAEpB,eAAe,EAAE,CAAC"} \ No newline at end of file diff --git a/package.json b/package.json index 25a5e884..34c10f94 100644 --- a/package.json +++ b/package.json @@ -139,7 +139,7 @@ "ethereum-protocol": "^1.0.1", "ethereumjs-abi": "^0.6.8", "ethereumjs-util": "^7.1.5", - "findora-wallet-wasm": "https://github.com/FindoraNetwork/wasm-js-bindings.git#v0.4.2", + "findora-wallet-wasm": "https://github.com/FindoraNetwork/wasm-js-bindings.git", "js-base64": "^3.6.1", "json-bigint": "^1.0.0", "lodash": "^4.17.21", diff --git a/src/api/evm/abis/Config.json b/src/api/evm/abis/Config.json new file mode 100644 index 00000000..4309cfa3 --- /dev/null +++ b/src/api/evm/abis/Config.json @@ -0,0 +1,968 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "inputs": [], + "name": "AMPLIFY", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "RATE_DECIMALS", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "UTXO_DIFF_DECIMALS", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "delegateMinimum", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "duplicateVotePunishRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "epochDuration", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "evmCallerAddr", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getAboutPunish", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getAmplify", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "getDelegateMinimum", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getDuplicateVotePunishRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getEpochDuration", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getEvmCallerAddr", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getInflationRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getJailDuraction", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getJailThreshold", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getLightClientAttackPunishRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getOffLinePunishRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPowerRateMaximum", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPrismAddr", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRateDecimals", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardAddr", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getSecondPerBlock", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getSecuredAddr", + "outputs": [ + { + "internalType": "address payable", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getStakeMinimum", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getStakingAddr", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getSystemAddr", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getUnknownPunishRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getUtxoDiffDecimals", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "getValidatorsLimit", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getWaitinPeriod", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "inflationRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_prismAddr", + "type": "address" + }, + { + "internalType": "address payable", + "name": "_securedAddr", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "jailDuraction", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "jailThreshold", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "lightClientAttackPunishRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "offLinePunishRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "powerRateMaximum", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "prismAddr", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "rewardAddr", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "secondPerBlock", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "securedAddr", + "outputs": [ + { + "internalType": "address payable", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_delegateMinimum", + "type": "uint256" + } + ], + "name": "setDelegateMinimum", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_duplicateVotePunishRate", + "type": "uint256" + } + ], + "name": "setDuplicateVotePunishRate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_epochDuration", + "type": "uint256" + } + ], + "name": "setEpochDuration", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_evmCallerAddr", + "type": "address" + } + ], + "name": "setEvmCallerAddr", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_inflationRate", + "type": "uint256" + } + ], + "name": "setInflationRate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_jailDuraction", + "type": "uint256" + } + ], + "name": "setJailDuraction", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_jailThreshold", + "type": "uint256" + } + ], + "name": "setJailThreshold", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_lightClientAttackPunishRate", + "type": "uint256" + } + ], + "name": "setLightClientAttackPunishRate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_offLinePunishRate", + "type": "uint256" + } + ], + "name": "setOffLinePunishRate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_powerRateMaximum", + "type": "uint256" + } + ], + "name": "setPowerRateMaximum", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_prismAddr", + "type": "address" + } + ], + "name": "setPrismAddr", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_rewardAddr", + "type": "address" + } + ], + "name": "setRewardAddr", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address payable", + "name": "addr", + "type": "address" + } + ], + "name": "setSecuredAddr", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_stakeMinimum", + "type": "uint256" + } + ], + "name": "setStakeMinimum", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_stakingAddr", + "type": "address" + } + ], + "name": "setStakingAddr", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_systemAddr", + "type": "address" + } + ], + "name": "setSystemAddr", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_unknownPunishRate", + "type": "uint256" + } + ], + "name": "setUnknownPunishRate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_validatorsLimit", + "type": "uint256" + } + ], + "name": "setValidatorsLimit", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_waitinPeriod", + "type": "uint256" + } + ], + "name": "setWaitinPeriod", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "stakeMinimum", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "stakingAddr", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "systemAddr", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "unknownPunishRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "validatorsLimit", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "waitinPeriod", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/src/api/evm/abis/Reward.json b/src/api/evm/abis/Reward.json new file mode 100644 index 00000000..008b5a54 --- /dev/null +++ b/src/api/evm/abis/Reward.json @@ -0,0 +1,638 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "delegator", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "publicKey", + "type": "bytes" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "CoinbaseMint", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "proposer", + "type": "address" + } + ], + "name": "Proposer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "REWARD_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "STAKING_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "SYSTEM_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "accPerShareInfo", + "outputs": [ + { + "internalType": "uint256", + "name": "stakerRewardRatio", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "delegatorRewardRatio", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "validators", + "type": "address[]" + }, + { + "internalType": "address payable", + "name": "delegator", + "type": "address" + } + ], + "name": "batchClaim", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address", + "name": "delegator", + "type": "address" + } + ], + "name": "calculateReward", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "config", + "outputs": [ + { + "internalType": "contract IConfig", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getDelegatorReturnRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "getRoleMember", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleMemberCount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "globalPreIssueAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "delegator", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "internalType": "struct IBaseEnum.RewardParam[]", + "name": "rp", + "type": "tuple[]" + } + ], + "name": "importReward", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_config", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "validators", + "type": "address[]" + }, + { + "internalType": "address", + "name": "oldDelegator", + "type": "address" + }, + { + "internalType": "address", + "name": "newDelegator", + "type": "address" + } + ], + "name": "replaceDelegator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address[]", + "name": "voted", + "type": "address[]" + } + ], + "name": "reward", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "rewardDebt", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "rewards", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_newConfig", + "type": "address" + } + ], + "name": "setConfig", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "setPreIssueAmount", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address payable", + "name": "delegator", + "type": "address" + } + ], + "name": "systemClaim", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "validators", + "type": "address[]" + }, + { + "internalType": "address", + "name": "delegator", + "type": "address" + } + ], + "name": "unclaimed", + "outputs": [ + { + "internalType": "uint256", + "name": "pending", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" + } +] \ No newline at end of file diff --git a/src/api/evm/abis/Staking.json b/src/api/evm/abis/Staking.json new file mode 100644 index 00000000..f551fd26 --- /dev/null +++ b/src/api/evm/abis/Staking.json @@ -0,0 +1,1229 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "delegator", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Delegation", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint32", + "name": "epoch", + "type": "uint32" + } + ], + "name": "Epoch", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "indexed": false, + "internalType": "bool", + "name": "jailed", + "type": "bool" + } + ], + "name": "Jailed", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address[]", + "name": "voted", + "type": "address[]" + }, + { + "indexed": false, + "internalType": "address[]", + "name": "unvoted", + "type": "address[]" + }, + { + "indexed": false, + "internalType": "address[]", + "name": "byztine", + "type": "address[]" + } + ], + "name": "Punish", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "oldDelegator", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "newDelegator", + "type": "address" + } + ], + "name": "ReplaceDelegator", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "publicKey", + "type": "bytes" + }, + { + "indexed": false, + "internalType": "enum IBaseEnum.PublicKeyType", + "name": "ty", + "type": "uint8" + }, + { + "indexed": true, + "internalType": "address", + "name": "staker", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "string", + "name": "memo", + "type": "string" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "rate", + "type": "uint256" + } + ], + "name": "Stake", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "index", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "delegator", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "unlockTime", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint8", + "name": "operationType", + "type": "uint8" + } + ], + "name": "Undelegation", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "indexed": false, + "internalType": "string", + "name": "memo", + "type": "string" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "rate", + "type": "uint256" + } + ], + "name": "UpdateValidator", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "REWARD_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "STAKING_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "SYSTEM_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "activeHeap", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "config", + "outputs": [ + { + "internalType": "contract IConfig", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "delegatorPkMapping", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "delegators", + "outputs": [ + { + "internalType": "uint256", + "name": "boundAmount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "unboundAmount", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address", + "name": "delegator", + "type": "address" + } + ], + "name": "delegatorsBoundAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "getRoleMember", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleMemberCount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getValidatorsList", + "outputs": [ + { + "components": [ + { + "internalType": "bytes", + "name": "publicKey", + "type": "bytes" + }, + { + "internalType": "enum IBaseEnum.PublicKeyType", + "name": "ty", + "type": "uint8" + }, + { + "internalType": "address", + "name": "addr", + "type": "address" + }, + { + "internalType": "uint256", + "name": "power", + "type": "uint256" + } + ], + "internalType": "struct IValidators.ValidatorInfo[]", + "name": "res", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address", + "name": "delegator", + "type": "address" + }, + { + "internalType": "bytes", + "name": "delegatorPk", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "boundAmount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "unboundAmount", + "type": "uint256" + } + ], + "internalType": "struct IBaseEnum.DelegatorParam[]", + "name": "dp", + "type": "tuple[]" + } + ], + "name": "importDelegators", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address payable", + "name": "delegator", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "height", + "type": "uint256" + } + ], + "internalType": "struct IBaseEnum.UndelegationParam[]", + "name": "udp", + "type": "tuple[]" + } + ], + "name": "importUndelegations", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "tdAddr", + "type": "address" + }, + { + "internalType": "bytes", + "name": "publicKey", + "type": "bytes" + }, + { + "internalType": "enum IBaseEnum.PublicKeyType", + "name": "ty", + "type": "uint8" + }, + { + "internalType": "string", + "name": "memo", + "type": "string" + }, + { + "internalType": "uint256", + "name": "rate", + "type": "uint256" + }, + { + "internalType": "address", + "name": "staker", + "type": "address" + }, + { + "internalType": "bytes", + "name": "stakerPk", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "power", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "beginBlock", + "type": "uint256" + } + ], + "internalType": "struct IBaseEnum.ValidatorParam[]", + "name": "vp", + "type": "tuple[]" + } + ], + "name": "importValidators", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "inactiveHeap", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_config", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "latestEpoch", + "outputs": [ + { + "internalType": "uint32", + "name": "", + "type": "uint32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "maxDelegationAmountBasedOnTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "voted", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "unvoted", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "byztine", + "type": "address[]" + }, + { + "internalType": "enum IBaseEnum.ByztineBehavior[]", + "name": "behavior", + "type": "uint8[]" + } + ], + "name": "punish", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + } + ], + "name": "releaseFromJail", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_newConfig", + "type": "address" + } + ], + "name": "setConfig", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address", + "name": "delegator", + "type": "address" + }, + { + "internalType": "bytes", + "name": "delegatorPk", + "type": "bytes" + } + ], + "name": "systemDelegate", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "involvedValidators", + "type": "address[]" + }, + { + "internalType": "address", + "name": "oldDelegator", + "type": "address" + }, + { + "internalType": "address", + "name": "newDelegator", + "type": "address" + }, + { + "internalType": "bytes", + "name": "delegatorPk", + "type": "bytes" + } + ], + "name": "systemReplaceDelegator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "bytes", + "name": "publicKey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "staker", + "type": "address" + }, + { + "internalType": "bytes", + "name": "stakerPk", + "type": "bytes" + }, + { + "internalType": "string", + "name": "memo", + "type": "string" + }, + { + "internalType": "uint256", + "name": "rate", + "type": "uint256" + } + ], + "name": "systemStake", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address", + "name": "delegator", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "systemUndelegate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address", + "name": "staker", + "type": "address" + }, + { + "internalType": "string", + "name": "memo", + "type": "string" + }, + { + "internalType": "uint256", + "name": "rate", + "type": "uint256" + } + ], + "name": "systemUpdateValidator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "totalDelegationAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "trigger", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "undelegations", + "outputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address payable", + "name": "delegator", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "unlockTime", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "undelegationsEnd", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "undelegationsStart", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "validatorStatus", + "outputs": [ + { + "internalType": "uint16", + "name": "heapIndexOff1", + "type": "uint16" + }, + { + "internalType": "bool", + "name": "isActive", + "type": "bool" + }, + { + "internalType": "bool", + "name": "jailed", + "type": "bool" + }, + { + "internalType": "uint64", + "name": "unjailDatetime", + "type": "uint64" + }, + { + "internalType": "uint16", + "name": "shouldVote", + "type": "uint16" + }, + { + "internalType": "uint16", + "name": "voted", + "type": "uint16" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "validators", + "outputs": [ + { + "internalType": "bytes", + "name": "publicKey", + "type": "bytes" + }, + { + "internalType": "enum IBaseEnum.PublicKeyType", + "name": "ty", + "type": "uint8" + }, + { + "internalType": "uint256", + "name": "rate", + "type": "uint256" + }, + { + "internalType": "address", + "name": "staker", + "type": "address" + }, + { + "internalType": "uint256", + "name": "power", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "totalUnboundAmount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "punishRate", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "beginBlock", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/src/api/evm/abis/System.json b/src/api/evm/abis/System.json new file mode 100644 index 00000000..19e9d05d --- /dev/null +++ b/src/api/evm/abis/System.json @@ -0,0 +1,690 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + } + ], + "name": "claim", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "config", + "outputs": [ + { + "internalType": "contract IConfig", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + } + ], + "name": "delegate", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "getClaimOnContractAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getTriggerOnContractAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + } + ], + "name": "getValidator", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "enum IBaseEnum.PublicKeyType", + "name": "", + "type": "uint8" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getValidatorsList", + "outputs": [ + { + "components": [ + { + "internalType": "bytes", + "name": "publicKey", + "type": "bytes" + }, + { + "internalType": "enum IBaseEnum.PublicKeyType", + "name": "ty", + "type": "uint8" + }, + { + "internalType": "address", + "name": "addr", + "type": "address" + }, + { + "internalType": "uint256", + "name": "power", + "type": "uint256" + } + ], + "internalType": "struct IValidators.ValidatorInfo[]", + "name": "res", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address", + "name": "delegator", + "type": "address" + }, + { + "internalType": "bytes", + "name": "delegatorPk", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "boundAmount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "unboundAmount", + "type": "uint256" + } + ], + "internalType": "struct IBaseEnum.DelegatorParam[]", + "name": "dp", + "type": "tuple[]" + } + ], + "name": "importDelegators", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "delegator", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "internalType": "struct IBaseEnum.RewardParam[]", + "name": "rp", + "type": "tuple[]" + } + ], + "name": "importReward", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address payable", + "name": "delegator", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "height", + "type": "uint256" + } + ], + "internalType": "struct IBaseEnum.UndelegationParam[]", + "name": "udp", + "type": "tuple[]" + } + ], + "name": "importUndelegations", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "tdAddr", + "type": "address" + }, + { + "internalType": "bytes", + "name": "publicKey", + "type": "bytes" + }, + { + "internalType": "enum IBaseEnum.PublicKeyType", + "name": "ty", + "type": "uint8" + }, + { + "internalType": "string", + "name": "memo", + "type": "string" + }, + { + "internalType": "uint256", + "name": "rate", + "type": "uint256" + }, + { + "internalType": "address", + "name": "staker", + "type": "address" + }, + { + "internalType": "bytes", + "name": "stakerPk", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "power", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "beginBlock", + "type": "uint256" + } + ], + "internalType": "struct IBaseEnum.ValidatorParam[]", + "name": "vp", + "type": "tuple[]" + } + ], + "name": "importValidators", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_config", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "validators", + "type": "address[]" + }, + { + "internalType": "address", + "name": "newDelegator", + "type": "address" + } + ], + "name": "replaceDelegator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_newConfig", + "type": "address" + } + ], + "name": "setConfig", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "bytes", + "name": "publicKey", + "type": "bytes" + }, + { + "internalType": "string", + "name": "memo", + "type": "string" + }, + { + "internalType": "uint256", + "name": "rate", + "type": "uint256" + } + ], + "name": "stake", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address payable", + "name": "delegator", + "type": "address" + } + ], + "name": "systemClaim", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address", + "name": "delegator", + "type": "address" + }, + { + "internalType": "bytes", + "name": "delegatorPk", + "type": "bytes" + } + ], + "name": "systemDelegate", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "validators", + "type": "address[]" + }, + { + "internalType": "address", + "name": "oldDelegator", + "type": "address" + }, + { + "internalType": "address", + "name": "newDelegator", + "type": "address" + }, + { + "internalType": "bytes", + "name": "delegatorPk", + "type": "bytes" + } + ], + "name": "systemReplaceDelegator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "bytes", + "name": "publicKey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "staker", + "type": "address" + }, + { + "internalType": "bytes", + "name": "stakerPk", + "type": "bytes" + }, + { + "internalType": "string", + "name": "memo", + "type": "string" + }, + { + "internalType": "uint256", + "name": "rate", + "type": "uint256" + } + ], + "name": "systemStake", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address", + "name": "delegator", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "systemUndelegate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "address", + "name": "staker", + "type": "address" + }, + { + "internalType": "string", + "name": "memo", + "type": "string" + }, + { + "internalType": "uint256", + "name": "rate", + "type": "uint256" + } + ], + "name": "systemUpdateValidator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "proposer", + "type": "address" + }, + { + "internalType": "address[]", + "name": "voted", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "unvoted", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "byztine", + "type": "address[]" + }, + { + "internalType": "enum IBaseEnum.ByztineBehavior[]", + "name": "behavior", + "type": "uint8[]" + }, + { + "internalType": "uint256", + "name": "preIssueAmount", + "type": "uint256" + } + ], + "name": "trigger", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "undelegate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "validator", + "type": "address" + }, + { + "internalType": "string", + "name": "memo", + "type": "string" + }, + { + "internalType": "uint256", + "name": "rate", + "type": "uint256" + } + ], + "name": "updateValidator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/src/api/evm/types/Config.ts b/src/api/evm/types/Config.ts new file mode 100755 index 00000000..e417c1d6 --- /dev/null +++ b/src/api/evm/types/Config.ts @@ -0,0 +1,676 @@ +import BN from 'bn.js'; +import BigNumber from 'bignumber.js'; +import { + PromiEvent, + TransactionReceipt, + EventResponse, + EventData, + Web3ContractContext, +} from 'ethereum-abi-types-generator'; + +export interface CallOptions { + from?: string; + gasPrice?: string; + gas?: number; +} + +export interface SendOptions { + from: string; + value?: number | string | BN | BigNumber; + gasPrice?: string; + gas?: number; +} + +export interface EstimateGasOptions { + from?: string; + value?: number | string | BN | BigNumber; + gas?: number; +} + +export interface MethodPayableReturnContext { + send(options: SendOptions): PromiEvent; + send(options: SendOptions, callback: (error: Error, result: any) => void): PromiEvent; + estimateGas(options: EstimateGasOptions): Promise; + estimateGas(options: EstimateGasOptions, callback: (error: Error, result: any) => void): Promise; + encodeABI(): string; +} + +export interface MethodConstantReturnContext { + call(): Promise; + call(options: CallOptions): Promise; + call(options: CallOptions, callback: (error: Error, result: TCallReturn) => void): Promise; + encodeABI(): string; +} + +export interface MethodReturnContext extends MethodPayableReturnContext {} + +export type ContractContext = Web3ContractContext< + Config, + ConfigMethodNames, + ConfigEventsContext, + ConfigEvents +>; +export type ConfigEvents = 'Initialized' | 'OwnershipTransferred'; +export interface ConfigEventsContext { + Initialized( + parameters: { + filter?: {}; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, + callback?: (error: Error, event: EventData) => void, + ): EventResponse; + OwnershipTransferred( + parameters: { + filter?: { + previousOwner?: string | string[]; + newOwner?: string | string[]; + }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, + callback?: (error: Error, event: EventData) => void, + ): EventResponse; +} +export type ConfigMethodNames = + | 'AMPLIFY' + | 'RATE_DECIMALS' + | 'UTXO_DIFF_DECIMALS' + | 'delegateMinimum' + | 'duplicateVotePunishRate' + | 'epochDuration' + | 'evmCallerAddr' + | 'getAboutPunish' + | 'getAmplify' + | 'getDelegateMinimum' + | 'getDuplicateVotePunishRate' + | 'getEpochDuration' + | 'getEvmCallerAddr' + | 'getInflationRate' + | 'getJailDuraction' + | 'getJailThreshold' + | 'getLightClientAttackPunishRate' + | 'getOffLinePunishRate' + | 'getPowerRateMaximum' + | 'getPrismAddr' + | 'getRateDecimals' + | 'getRewardAddr' + | 'getSecondPerBlock' + | 'getSecuredAddr' + | 'getStakeMinimum' + | 'getStakingAddr' + | 'getSystemAddr' + | 'getUnknownPunishRate' + | 'getUtxoDiffDecimals' + | 'getValidatorsLimit' + | 'getWaitinPeriod' + | 'inflationRate' + | 'initialize' + | 'jailDuraction' + | 'jailThreshold' + | 'lightClientAttackPunishRate' + | 'offLinePunishRate' + | 'owner' + | 'powerRateMaximum' + | 'prismAddr' + | 'renounceOwnership' + | 'rewardAddr' + | 'secondPerBlock' + | 'securedAddr' + | 'setDelegateMinimum' + | 'setDuplicateVotePunishRate' + | 'setEpochDuration' + | 'setEvmCallerAddr' + | 'setInflationRate' + | 'setJailDuraction' + | 'setJailThreshold' + | 'setLightClientAttackPunishRate' + | 'setOffLinePunishRate' + | 'setPowerRateMaximum' + | 'setPrismAddr' + | 'setRewardAddr' + | 'setSecuredAddr' + | 'setStakeMinimum' + | 'setStakingAddr' + | 'setSystemAddr' + | 'setUnknownPunishRate' + | 'setValidatorsLimit' + | 'setWaitinPeriod' + | 'stakeMinimum' + | 'stakingAddr' + | 'systemAddr' + | 'transferOwnership' + | 'unknownPunishRate' + | 'validatorsLimit' + | 'waitinPeriod'; +export interface InitializedEventEmittedResponse { + version: string | number; +} +export interface OwnershipTransferredEventEmittedResponse { + previousOwner: string; + newOwner: string; +} +export interface GetAboutPunishResponse { + result0: string; + result1: string; + result2: string; + result3: string; + result4: string; + result5: string; +} +export interface Config { + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + AMPLIFY(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + RATE_DECIMALS(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + UTXO_DIFF_DECIMALS(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + delegateMinimum(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + duplicateVotePunishRate(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + epochDuration(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + evmCallerAddr(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getAboutPunish(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: pure + * Type: function + */ + getAmplify(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getDelegateMinimum(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getDuplicateVotePunishRate(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getEpochDuration(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getEvmCallerAddr(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getInflationRate(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getJailDuraction(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getJailThreshold(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getLightClientAttackPunishRate(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getOffLinePunishRate(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getPowerRateMaximum(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getPrismAddr(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: pure + * Type: function + */ + getRateDecimals(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getRewardAddr(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getSecondPerBlock(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getSecuredAddr(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getStakeMinimum(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getStakingAddr(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getSystemAddr(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getUnknownPunishRate(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: pure + * Type: function + */ + getUtxoDiffDecimals(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getValidatorsLimit(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getWaitinPeriod(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + inflationRate(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _prismAddr Type: address, Indexed: false + * @param _securedAddr Type: address, Indexed: false + */ + initialize(_prismAddr: string, _securedAddr: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + jailDuraction(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + jailThreshold(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + lightClientAttackPunishRate(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + offLinePunishRate(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + owner(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + powerRateMaximum(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + prismAddr(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + */ + renounceOwnership(): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + rewardAddr(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + secondPerBlock(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + securedAddr(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _delegateMinimum Type: uint256, Indexed: false + */ + setDelegateMinimum(_delegateMinimum: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _duplicateVotePunishRate Type: uint256, Indexed: false + */ + setDuplicateVotePunishRate(_duplicateVotePunishRate: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _epochDuration Type: uint256, Indexed: false + */ + setEpochDuration(_epochDuration: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _evmCallerAddr Type: address, Indexed: false + */ + setEvmCallerAddr(_evmCallerAddr: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _inflationRate Type: uint256, Indexed: false + */ + setInflationRate(_inflationRate: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _jailDuraction Type: uint256, Indexed: false + */ + setJailDuraction(_jailDuraction: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _jailThreshold Type: uint256, Indexed: false + */ + setJailThreshold(_jailThreshold: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _lightClientAttackPunishRate Type: uint256, Indexed: false + */ + setLightClientAttackPunishRate(_lightClientAttackPunishRate: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _offLinePunishRate Type: uint256, Indexed: false + */ + setOffLinePunishRate(_offLinePunishRate: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _powerRateMaximum Type: uint256, Indexed: false + */ + setPowerRateMaximum(_powerRateMaximum: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _prismAddr Type: address, Indexed: false + */ + setPrismAddr(_prismAddr: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _rewardAddr Type: address, Indexed: false + */ + setRewardAddr(_rewardAddr: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param addr Type: address, Indexed: false + */ + setSecuredAddr(addr: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _stakeMinimum Type: uint256, Indexed: false + */ + setStakeMinimum(_stakeMinimum: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _stakingAddr Type: address, Indexed: false + */ + setStakingAddr(_stakingAddr: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _systemAddr Type: address, Indexed: false + */ + setSystemAddr(_systemAddr: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _unknownPunishRate Type: uint256, Indexed: false + */ + setUnknownPunishRate(_unknownPunishRate: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _validatorsLimit Type: uint256, Indexed: false + */ + setValidatorsLimit(_validatorsLimit: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _waitinPeriod Type: uint256, Indexed: false + */ + setWaitinPeriod(_waitinPeriod: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + stakeMinimum(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + stakingAddr(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + systemAddr(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param newOwner Type: address, Indexed: false + */ + transferOwnership(newOwner: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + unknownPunishRate(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + validatorsLimit(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + waitinPeriod(): MethodConstantReturnContext; +} diff --git a/src/api/evm/types/Reward.ts b/src/api/evm/types/Reward.ts new file mode 100755 index 00000000..0b86e8b6 --- /dev/null +++ b/src/api/evm/types/Reward.ts @@ -0,0 +1,423 @@ +import BN from 'bn.js'; +import BigNumber from 'bignumber.js'; +import { + PromiEvent, + TransactionReceipt, + EventResponse, + EventData, + Web3ContractContext, +} from 'ethereum-abi-types-generator'; + +export interface CallOptions { + from?: string; + gasPrice?: string; + gas?: number; +} + +export interface SendOptions { + from: string; + value?: number | string | BN | BigNumber; + gasPrice?: string; + gas?: number; +} + +export interface EstimateGasOptions { + from?: string; + value?: number | string | BN | BigNumber; + gas?: number; +} + +export interface MethodPayableReturnContext { + send(options: SendOptions): PromiEvent; + send(options: SendOptions, callback: (error: Error, result: any) => void): PromiEvent; + estimateGas(options: EstimateGasOptions): Promise; + estimateGas(options: EstimateGasOptions, callback: (error: Error, result: any) => void): Promise; + encodeABI(): string; +} + +export interface MethodConstantReturnContext { + call(): Promise; + call(options: CallOptions): Promise; + call(options: CallOptions, callback: (error: Error, result: TCallReturn) => void): Promise; + encodeABI(): string; +} + +export interface MethodReturnContext extends MethodPayableReturnContext {} + +export type ContractContext = Web3ContractContext< + Reward, + RewardMethodNames, + RewardEventsContext, + RewardEvents +>; +export type RewardEvents = + | 'CoinbaseMint' + | 'Initialized' + | 'Proposer' + | 'RoleAdminChanged' + | 'RoleGranted' + | 'RoleRevoked'; +export interface RewardEventsContext { + CoinbaseMint( + parameters: { + filter?: { validator?: string | string[]; delegator?: string | string[] }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, + callback?: (error: Error, event: EventData) => void, + ): EventResponse; + Initialized( + parameters: { + filter?: {}; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, + callback?: (error: Error, event: EventData) => void, + ): EventResponse; + Proposer( + parameters: { + filter?: {}; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, + callback?: (error: Error, event: EventData) => void, + ): EventResponse; + RoleAdminChanged( + parameters: { + filter?: { + role?: string | number[] | string | number[][]; + previousAdminRole?: string | number[] | string | number[][]; + newAdminRole?: string | number[] | string | number[][]; + }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, + callback?: (error: Error, event: EventData) => void, + ): EventResponse; + RoleGranted( + parameters: { + filter?: { + role?: string | number[] | string | number[][]; + account?: string | string[]; + sender?: string | string[]; + }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, + callback?: (error: Error, event: EventData) => void, + ): EventResponse; + RoleRevoked( + parameters: { + filter?: { + role?: string | number[] | string | number[][]; + account?: string | string[]; + sender?: string | string[]; + }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, + callback?: (error: Error, event: EventData) => void, + ): EventResponse; +} +export type RewardMethodNames = + | 'DEFAULT_ADMIN_ROLE' + | 'REWARD_ROLE' + | 'STAKING_ROLE' + | 'SYSTEM_ROLE' + | 'accPerShareInfo' + | 'batchClaim' + | 'calculateReward' + | 'config' + | 'getDelegatorReturnRate' + | 'getRoleAdmin' + | 'getRoleMember' + | 'getRoleMemberCount' + | 'globalPreIssueAmount' + | 'grantRole' + | 'hasRole' + | 'importReward' + | 'initialize' + | 'renounceRole' + | 'replaceDelegator' + | 'revokeRole' + | 'reward' + | 'rewardDebt' + | 'rewards' + | 'setConfig' + | 'setPreIssueAmount' + | 'supportsInterface' + | 'systemClaim' + | 'unclaimed'; +export interface CoinbaseMintEventEmittedResponse { + validator: string; + delegator: string; + publicKey: string | number[]; + amount: string; +} +export interface InitializedEventEmittedResponse { + version: string | number; +} +export interface ProposerEventEmittedResponse { + proposer: string; +} +export interface RoleAdminChangedEventEmittedResponse { + role: string | number[]; + previousAdminRole: string | number[]; + newAdminRole: string | number[]; +} +export interface RoleGrantedEventEmittedResponse { + role: string | number[]; + account: string; + sender: string; +} +export interface RoleRevokedEventEmittedResponse { + role: string | number[]; + account: string; + sender: string; +} +export interface AccPerShareInfoResponse { + stakerRewardRatio: string; + delegatorRewardRatio: string; +} +export interface ImportRewardRequest { + delegator: string; + amount: string; +} +export interface Reward { + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + DEFAULT_ADMIN_ROLE(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + REWARD_ROLE(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + STAKING_ROLE(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + SYSTEM_ROLE(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param parameter0 Type: address, Indexed: false + */ + accPerShareInfo(parameter0: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validators Type: address[], Indexed: false + * @param delegator Type: address, Indexed: false + */ + batchClaim(validators: string[], delegator: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validator Type: address, Indexed: false + * @param delegator Type: address, Indexed: false + */ + calculateReward(validator: string, delegator: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + config(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getDelegatorReturnRate(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param role Type: bytes32, Indexed: false + */ + getRoleAdmin(role: string | number[]): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param role Type: bytes32, Indexed: false + * @param index Type: uint256, Indexed: false + */ + getRoleMember(role: string | number[], index: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param role Type: bytes32, Indexed: false + */ + getRoleMemberCount(role: string | number[]): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + globalPreIssueAmount(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param role Type: bytes32, Indexed: false + * @param account Type: address, Indexed: false + */ + grantRole(role: string | number[], account: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param role Type: bytes32, Indexed: false + * @param account Type: address, Indexed: false + */ + hasRole(role: string | number[], account: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param rp Type: tuple[], Indexed: false + */ + importReward(rp: ImportRewardRequest[]): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _config Type: address, Indexed: false + */ + initialize(_config: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param role Type: bytes32, Indexed: false + * @param account Type: address, Indexed: false + */ + renounceRole(role: string | number[], account: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validators Type: address[], Indexed: false + * @param oldDelegator Type: address, Indexed: false + * @param newDelegator Type: address, Indexed: false + */ + replaceDelegator(validators: string[], oldDelegator: string, newDelegator: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param role Type: bytes32, Indexed: false + * @param account Type: address, Indexed: false + */ + revokeRole(role: string | number[], account: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validator Type: address, Indexed: false + * @param voted Type: address[], Indexed: false + */ + reward(validator: string, voted: string[]): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param parameter0 Type: address, Indexed: false + * @param parameter1 Type: address, Indexed: false + */ + rewardDebt(parameter0: string, parameter1: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param parameter0 Type: address, Indexed: false + */ + rewards(parameter0: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _newConfig Type: address, Indexed: false + */ + setConfig(_newConfig: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param amount Type: uint256, Indexed: false + */ + setPreIssueAmount(amount: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param interfaceId Type: bytes4, Indexed: false + */ + supportsInterface(interfaceId: string | number[]): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validator Type: address, Indexed: false + * @param delegator Type: address, Indexed: false + */ + systemClaim(validator: string, delegator: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param validators Type: address[], Indexed: false + * @param delegator Type: address, Indexed: false + */ + unclaimed(validators: string[], delegator: string): MethodConstantReturnContext; +} diff --git a/src/api/evm/types/Staking.ts b/src/api/evm/types/Staking.ts new file mode 100755 index 00000000..0dc52af5 --- /dev/null +++ b/src/api/evm/types/Staking.ts @@ -0,0 +1,704 @@ +import BN from 'bn.js'; +import BigNumber from 'bignumber.js'; +import { + PromiEvent, + TransactionReceipt, + EventResponse, + EventData, + Web3ContractContext, +} from 'ethereum-abi-types-generator'; + +export interface CallOptions { + from?: string; + gasPrice?: string; + gas?: number; +} + +export interface SendOptions { + from: string; + value?: number | string | BN | BigNumber; + gasPrice?: string; + gas?: number; +} + +export interface EstimateGasOptions { + from?: string; + value?: number | string | BN | BigNumber; + gas?: number; +} + +export interface MethodPayableReturnContext { + send(options: SendOptions): PromiEvent; + send(options: SendOptions, callback: (error: Error, result: any) => void): PromiEvent; + estimateGas(options: EstimateGasOptions): Promise; + estimateGas(options: EstimateGasOptions, callback: (error: Error, result: any) => void): Promise; + encodeABI(): string; +} + +export interface MethodConstantReturnContext { + call(): Promise; + call(options: CallOptions): Promise; + call(options: CallOptions, callback: (error: Error, result: TCallReturn) => void): Promise; + encodeABI(): string; +} + +export interface MethodReturnContext extends MethodPayableReturnContext {} + +export type ContractContext = Web3ContractContext< + Staking, + StakingMethodNames, + StakingEventsContext, + StakingEvents +>; +export type StakingEvents = + | 'Delegation' + | 'Epoch' + | 'Initialized' + | 'Jailed' + | 'Punish' + | 'ReplaceDelegator' + | 'RoleAdminChanged' + | 'RoleGranted' + | 'RoleRevoked' + | 'Stake' + | 'Undelegation' + | 'UpdateValidator'; +export interface StakingEventsContext { + Delegation( + parameters: { + filter?: { validator?: string | string[]; delegator?: string | string[] }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, + callback?: (error: Error, event: EventData) => void, + ): EventResponse; + Epoch( + parameters: { + filter?: {}; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, + callback?: (error: Error, event: EventData) => void, + ): EventResponse; + Initialized( + parameters: { + filter?: {}; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, + callback?: (error: Error, event: EventData) => void, + ): EventResponse; + Jailed( + parameters: { + filter?: { validator?: string | string[] }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, + callback?: (error: Error, event: EventData) => void, + ): EventResponse; + Punish( + parameters: { + filter?: {}; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, + callback?: (error: Error, event: EventData) => void, + ): EventResponse; + ReplaceDelegator( + parameters: { + filter?: { validator?: string | string[] }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, + callback?: (error: Error, event: EventData) => void, + ): EventResponse; + RoleAdminChanged( + parameters: { + filter?: { + role?: string | number[] | string | number[][]; + previousAdminRole?: string | number[] | string | number[][]; + newAdminRole?: string | number[] | string | number[][]; + }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, + callback?: (error: Error, event: EventData) => void, + ): EventResponse; + RoleGranted( + parameters: { + filter?: { + role?: string | number[] | string | number[][]; + account?: string | string[]; + sender?: string | string[]; + }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, + callback?: (error: Error, event: EventData) => void, + ): EventResponse; + RoleRevoked( + parameters: { + filter?: { + role?: string | number[] | string | number[][]; + account?: string | string[]; + sender?: string | string[]; + }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, + callback?: (error: Error, event: EventData) => void, + ): EventResponse; + Stake( + parameters: { + filter?: { validator?: string | string[]; staker?: string | string[] }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, + callback?: (error: Error, event: EventData) => void, + ): EventResponse; + Undelegation( + parameters: { + filter?: { validator?: string | string[]; delegator?: string | string[] }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, + callback?: (error: Error, event: EventData) => void, + ): EventResponse; + UpdateValidator( + parameters: { + filter?: { validator?: string | string[] }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, + callback?: (error: Error, event: EventData) => void, + ): EventResponse; +} +export type StakingMethodNames = + | 'DEFAULT_ADMIN_ROLE' + | 'REWARD_ROLE' + | 'STAKING_ROLE' + | 'SYSTEM_ROLE' + | 'activeHeap' + | 'config' + | 'delegatorPkMapping' + | 'delegators' + | 'delegatorsBoundAmount' + | 'getRoleAdmin' + | 'getRoleMember' + | 'getRoleMemberCount' + | 'getValidatorsList' + | 'grantRole' + | 'hasRole' + | 'importDelegators' + | 'importUndelegations' + | 'importValidators' + | 'inactiveHeap' + | 'initialize' + | 'latestEpoch' + | 'maxDelegationAmountBasedOnTotalAmount' + | 'punish' + | 'releaseFromJail' + | 'renounceRole' + | 'revokeRole' + | 'setConfig' + | 'supportsInterface' + | 'systemDelegate' + | 'systemReplaceDelegator' + | 'systemStake' + | 'systemUndelegate' + | 'systemUpdateValidator' + | 'totalDelegationAmount' + | 'trigger' + | 'undelegations' + | 'undelegationsEnd' + | 'undelegationsStart' + | 'validatorStatus' + | 'validators'; +export interface DelegationEventEmittedResponse { + validator: string; + delegator: string; + amount: string; +} +export interface EpochEventEmittedResponse { + epoch: string | number; +} +export interface InitializedEventEmittedResponse { + version: string | number; +} +export interface JailedEventEmittedResponse { + validator: string; + jailed: boolean; +} +export interface PunishEventEmittedResponse { + voted: string[]; + unvoted: string[]; + byztine: string[]; +} +export interface ReplaceDelegatorEventEmittedResponse { + validator: string; + oldDelegator: string; + newDelegator: string; +} +export interface RoleAdminChangedEventEmittedResponse { + role: string | number[]; + previousAdminRole: string | number[]; + newAdminRole: string | number[]; +} +export interface RoleGrantedEventEmittedResponse { + role: string | number[]; + account: string; + sender: string; +} +export interface RoleRevokedEventEmittedResponse { + role: string | number[]; + account: string; + sender: string; +} +export interface StakeEventEmittedResponse { + validator: string; + publicKey: string | number[]; + ty: string | number; + staker: string; + amount: string; + memo: string; + rate: string; +} +export interface UndelegationEventEmittedResponse { + index: string; + validator: string; + delegator: string; + unlockTime: string; + amount: string; + operationType: string | number; +} +export interface UpdateValidatorEventEmittedResponse { + validator: string; + memo: string; + rate: string; +} +export interface DelegatorsResponse { + boundAmount: string; + unboundAmount: string; +} +export interface ResResponse { + publicKey: string; + ty: string; + addr: string; + power: string; +} +export interface ImportDelegatorsRequest { + validator: string; + delegator: string; + delegatorPk: string | number[]; + boundAmount: string; + unboundAmount: string; +} +export interface ImportUndelegationsRequest { + validator: string; + delegator: string; + amount: string; + height: string; +} +export interface ImportValidatorsRequest { + tdAddr: string; + publicKey: string | number[]; + ty: string | number; + memo: string; + rate: string; + staker: string; + stakerPk: string | number[]; + power: string; + beginBlock: string; +} +export interface UndelegationsResponse { + validator: string; + delegator: string; + amount: string; + unlockTime: string; +} +export interface ValidatorStatusResponse { + heapIndexOff1: string; + isActive: boolean; + jailed: boolean; + unjailDatetime: string; + shouldVote: string; + voted: string; +} +export interface ValidatorsResponse { + publicKey: string; + ty: string; + rate: string; + staker: string; + power: string; + totalUnboundAmount: string; + punishRate: string; + beginBlock: string; +} +export interface Staking { + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + DEFAULT_ADMIN_ROLE(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + REWARD_ROLE(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + STAKING_ROLE(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + SYSTEM_ROLE(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param parameter0 Type: uint256, Indexed: false + */ + activeHeap(parameter0: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + config(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param parameter0 Type: address, Indexed: false + */ + delegatorPkMapping(parameter0: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param parameter0 Type: address, Indexed: false + * @param parameter1 Type: address, Indexed: false + */ + delegators(parameter0: string, parameter1: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param validator Type: address, Indexed: false + * @param delegator Type: address, Indexed: false + */ + delegatorsBoundAmount(validator: string, delegator: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param role Type: bytes32, Indexed: false + */ + getRoleAdmin(role: string | number[]): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param role Type: bytes32, Indexed: false + * @param index Type: uint256, Indexed: false + */ + getRoleMember(role: string | number[], index: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param role Type: bytes32, Indexed: false + */ + getRoleMemberCount(role: string | number[]): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getValidatorsList(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param role Type: bytes32, Indexed: false + * @param account Type: address, Indexed: false + */ + grantRole(role: string | number[], account: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param role Type: bytes32, Indexed: false + * @param account Type: address, Indexed: false + */ + hasRole(role: string | number[], account: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param dp Type: tuple[], Indexed: false + */ + importDelegators(dp: ImportDelegatorsRequest[]): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param udp Type: tuple[], Indexed: false + */ + importUndelegations(udp: ImportUndelegationsRequest[]): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param vp Type: tuple[], Indexed: false + */ + importValidators(vp: ImportValidatorsRequest[]): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param parameter0 Type: uint256, Indexed: false + */ + inactiveHeap(parameter0: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _config Type: address, Indexed: false + */ + initialize(_config: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + latestEpoch(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + maxDelegationAmountBasedOnTotalAmount(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param voted Type: address[], Indexed: false + * @param unvoted Type: address[], Indexed: false + * @param byztine Type: address[], Indexed: false + * @param behavior Type: uint8[], Indexed: false + */ + punish( + voted: string[], + unvoted: string[], + byztine: string[], + behavior: string | number[], + ): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validator Type: address, Indexed: false + */ + releaseFromJail(validator: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param role Type: bytes32, Indexed: false + * @param account Type: address, Indexed: false + */ + renounceRole(role: string | number[], account: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param role Type: bytes32, Indexed: false + * @param account Type: address, Indexed: false + */ + revokeRole(role: string | number[], account: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _newConfig Type: address, Indexed: false + */ + setConfig(_newConfig: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param interfaceId Type: bytes4, Indexed: false + */ + supportsInterface(interfaceId: string | number[]): MethodConstantReturnContext; + /** + * Payable: true + * Constant: false + * StateMutability: payable + * Type: function + * @param validator Type: address, Indexed: false + * @param delegator Type: address, Indexed: false + * @param delegatorPk Type: bytes, Indexed: false + */ + systemDelegate( + validator: string, + delegator: string, + delegatorPk: string | number[], + ): MethodPayableReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param involvedValidators Type: address[], Indexed: false + * @param oldDelegator Type: address, Indexed: false + * @param newDelegator Type: address, Indexed: false + * @param delegatorPk Type: bytes, Indexed: false + */ + systemReplaceDelegator( + involvedValidators: string[], + oldDelegator: string, + newDelegator: string, + delegatorPk: string | number[], + ): MethodReturnContext; + /** + * Payable: true + * Constant: false + * StateMutability: payable + * Type: function + * @param validator Type: address, Indexed: false + * @param publicKey Type: bytes, Indexed: false + * @param staker Type: address, Indexed: false + * @param stakerPk Type: bytes, Indexed: false + * @param memo Type: string, Indexed: false + * @param rate Type: uint256, Indexed: false + */ + systemStake( + validator: string, + publicKey: string | number[], + staker: string, + stakerPk: string | number[], + memo: string, + rate: string, + ): MethodPayableReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validator Type: address, Indexed: false + * @param delegator Type: address, Indexed: false + * @param amount Type: uint256, Indexed: false + */ + systemUndelegate(validator: string, delegator: string, amount: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validator Type: address, Indexed: false + * @param staker Type: address, Indexed: false + * @param memo Type: string, Indexed: false + * @param rate Type: uint256, Indexed: false + */ + systemUpdateValidator(validator: string, staker: string, memo: string, rate: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + totalDelegationAmount(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + */ + trigger(): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param parameter0 Type: uint256, Indexed: false + */ + undelegations(parameter0: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + undelegationsEnd(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + undelegationsStart(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param parameter0 Type: address, Indexed: false + */ + validatorStatus(parameter0: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param parameter0 Type: address, Indexed: false + */ + validators(parameter0: string): MethodConstantReturnContext; +} diff --git a/src/api/evm/types/System.ts b/src/api/evm/types/System.ts new file mode 100755 index 00000000..06262af3 --- /dev/null +++ b/src/api/evm/types/System.ts @@ -0,0 +1,423 @@ +import BN from 'bn.js'; +import BigNumber from 'bignumber.js'; +import { + PromiEvent, + TransactionReceipt, + EventResponse, + EventData, + Web3ContractContext, +} from 'ethereum-abi-types-generator'; + +export interface CallOptions { + from?: string; + gasPrice?: string; + gas?: number; +} + +export interface SendOptions { + from: string; + value?: number | string | BN | BigNumber; + gasPrice?: string; + gas?: number; +} + +export interface EstimateGasOptions { + from?: string; + value?: number | string | BN | BigNumber; + gas?: number; +} + +export interface MethodPayableReturnContext { + send(options: SendOptions): PromiEvent; + send(options: SendOptions, callback: (error: Error, result: any) => void): PromiEvent; + estimateGas(options: EstimateGasOptions): Promise; + estimateGas(options: EstimateGasOptions, callback: (error: Error, result: any) => void): Promise; + encodeABI(): string; +} + +export interface MethodConstantReturnContext { + call(): Promise; + call(options: CallOptions): Promise; + call(options: CallOptions, callback: (error: Error, result: TCallReturn) => void): Promise; + encodeABI(): string; +} + +export interface MethodReturnContext extends MethodPayableReturnContext {} + +export type ContractContext = Web3ContractContext< + System, + SystemMethodNames, + SystemEventsContext, + SystemEvents +>; +export type SystemEvents = 'Initialized' | 'OwnershipTransferred'; +export interface SystemEventsContext { + Initialized( + parameters: { + filter?: {}; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, + callback?: (error: Error, event: EventData) => void, + ): EventResponse; + OwnershipTransferred( + parameters: { + filter?: { + previousOwner?: string | string[]; + newOwner?: string | string[]; + }; + fromBlock?: number; + toBlock?: 'latest' | number; + topics?: string[]; + }, + callback?: (error: Error, event: EventData) => void, + ): EventResponse; +} +export type SystemMethodNames = + | 'claim' + | 'config' + | 'delegate' + | 'getClaimOnContractAddress' + | 'getTriggerOnContractAddress' + | 'getValidator' + | 'getValidatorsList' + | 'importDelegators' + | 'importReward' + | 'importUndelegations' + | 'importValidators' + | 'initialize' + | 'owner' + | 'renounceOwnership' + | 'replaceDelegator' + | 'setConfig' + | 'stake' + | 'systemClaim' + | 'systemDelegate' + | 'systemReplaceDelegator' + | 'systemStake' + | 'systemUndelegate' + | 'systemUpdateValidator' + | 'transferOwnership' + | 'trigger' + | 'undelegate' + | 'updateValidator'; +export interface InitializedEventEmittedResponse { + version: string | number; +} +export interface OwnershipTransferredEventEmittedResponse { + previousOwner: string; + newOwner: string; +} +export interface GetValidatorResponse { + result0: string; + result1: string; + result2: string; + result3: string; + result4: string; + result5: string; + result6: string; + result7: string; +} +export interface ResResponse { + publicKey: string; + ty: string; + addr: string; + power: string; +} +export interface ImportDelegatorsRequest { + validator: string; + delegator: string; + delegatorPk: string | number[]; + boundAmount: string; + unboundAmount: string; +} +export interface ImportRewardRequest { + delegator: string; + amount: string; +} +export interface ImportUndelegationsRequest { + validator: string; + delegator: string; + amount: string; + height: string; +} +export interface ImportValidatorsRequest { + tdAddr: string; + publicKey: string | number[]; + ty: string | number; + memo: string; + rate: string; + staker: string; + stakerPk: string | number[]; + power: string; + beginBlock: string; +} +export interface System { + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validator Type: address, Indexed: false + */ + claim(validator: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + config(): MethodConstantReturnContext; + /** + * Payable: true + * Constant: false + * StateMutability: payable + * Type: function + * @param validator Type: address, Indexed: false + */ + delegate(validator: string): MethodPayableReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getClaimOnContractAddress(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getTriggerOnContractAddress(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + * @param validator Type: address, Indexed: false + */ + getValidator(validator: string): MethodConstantReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + getValidatorsList(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param dp Type: tuple[], Indexed: false + */ + importDelegators(dp: ImportDelegatorsRequest[]): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param rp Type: tuple[], Indexed: false + */ + importReward(rp: ImportRewardRequest[]): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param udp Type: tuple[], Indexed: false + */ + importUndelegations(udp: ImportUndelegationsRequest[]): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param vp Type: tuple[], Indexed: false + */ + importValidators(vp: ImportValidatorsRequest[]): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _config Type: address, Indexed: false + */ + initialize(_config: string): MethodReturnContext; + /** + * Payable: false + * Constant: true + * StateMutability: view + * Type: function + */ + owner(): MethodConstantReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + */ + renounceOwnership(): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validators Type: address[], Indexed: false + * @param newDelegator Type: address, Indexed: false + */ + replaceDelegator(validators: string[], newDelegator: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param _newConfig Type: address, Indexed: false + */ + setConfig(_newConfig: string): MethodReturnContext; + /** + * Payable: true + * Constant: false + * StateMutability: payable + * Type: function + * @param validator Type: address, Indexed: false + * @param publicKey Type: bytes, Indexed: false + * @param memo Type: string, Indexed: false + * @param rate Type: uint256, Indexed: false + */ + stake( + validator: string, + publicKey: string | number[], + memo: string, + rate: string, + ): MethodPayableReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validator Type: address, Indexed: false + * @param delegator Type: address, Indexed: false + */ + systemClaim(validator: string, delegator: string): MethodReturnContext; + /** + * Payable: true + * Constant: false + * StateMutability: payable + * Type: function + * @param validator Type: address, Indexed: false + * @param delegator Type: address, Indexed: false + * @param delegatorPk Type: bytes, Indexed: false + */ + systemDelegate( + validator: string, + delegator: string, + delegatorPk: string | number[], + ): MethodPayableReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validators Type: address[], Indexed: false + * @param oldDelegator Type: address, Indexed: false + * @param newDelegator Type: address, Indexed: false + * @param delegatorPk Type: bytes, Indexed: false + */ + systemReplaceDelegator( + validators: string[], + oldDelegator: string, + newDelegator: string, + delegatorPk: string | number[], + ): MethodReturnContext; + /** + * Payable: true + * Constant: false + * StateMutability: payable + * Type: function + * @param validator Type: address, Indexed: false + * @param publicKey Type: bytes, Indexed: false + * @param staker Type: address, Indexed: false + * @param stakerPk Type: bytes, Indexed: false + * @param memo Type: string, Indexed: false + * @param rate Type: uint256, Indexed: false + */ + systemStake( + validator: string, + publicKey: string | number[], + staker: string, + stakerPk: string | number[], + memo: string, + rate: string, + ): MethodPayableReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validator Type: address, Indexed: false + * @param delegator Type: address, Indexed: false + * @param amount Type: uint256, Indexed: false + */ + systemUndelegate(validator: string, delegator: string, amount: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validator Type: address, Indexed: false + * @param staker Type: address, Indexed: false + * @param memo Type: string, Indexed: false + * @param rate Type: uint256, Indexed: false + */ + systemUpdateValidator(validator: string, staker: string, memo: string, rate: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param newOwner Type: address, Indexed: false + */ + transferOwnership(newOwner: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param proposer Type: address, Indexed: false + * @param voted Type: address[], Indexed: false + * @param unvoted Type: address[], Indexed: false + * @param byztine Type: address[], Indexed: false + * @param behavior Type: uint8[], Indexed: false + * @param preIssueAmount Type: uint256, Indexed: false + */ + trigger( + proposer: string, + voted: string[], + unvoted: string[], + byztine: string[], + behavior: string | number[], + preIssueAmount: string, + ): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validator Type: address, Indexed: false + * @param amount Type: uint256, Indexed: false + */ + undelegate(validator: string, amount: string): MethodReturnContext; + /** + * Payable: false + * Constant: false + * StateMutability: nonpayable + * Type: function + * @param validator Type: address, Indexed: false + * @param memo Type: string, Indexed: false + * @param rate Type: uint256, Indexed: false + */ + updateValidator(validator: string, memo: string, rate: string): MethodReturnContext; +} diff --git a/src/api/evm/web3.ts b/src/api/evm/web3.ts index be23a429..7281ad8f 100644 --- a/src/api/evm/web3.ts +++ b/src/api/evm/web3.ts @@ -4,22 +4,30 @@ import { ethers } from 'ethers'; import Web3 from 'web3'; import { Contract } from 'web3-eth-contract'; +import ConfigAbi from './abis/Config.json'; import Erc20Abi from './abis/Erc20.json'; import FNSRegistryAbi from './abis/FNSRegistry.json'; +import NameResolverAbi from './abis/NameResolver.json'; import NFT1155Abi from './abis/NFT1155.json'; import NFT721Abi from './abis/NFT721.json'; -import NameResolverAbi from './abis/NameResolver.json'; import PrismProxyAbi from './abis/PrismProxy.json'; import PrismXXAssetAbi from './abis/PrismXXAsset.json'; +import RewardAbi from './abis/Reward.json'; import SimBridgeAbi from './abis/SimBridge.json'; +import StakingAbi from './abis/Staking.json'; +import SystemAbi from './abis/System.json'; +import { Config } from './types/Config'; import { Erc20 } from './types/Erc20'; import { FNSRegistry } from './types/FNSRegistry'; +import { NameResolver } from './types/NameResolver'; import { NFT1155 } from './types/NFT1155'; import { NFT721 } from './types/NFT721'; -import { NameResolver } from './types/NameResolver'; import { PrismProxy } from './types/PrismProxy'; import { PrismXXAsset } from './types/PrismXXAsset'; +import { Reward } from './types/Reward'; import { SimBridge } from './types/SimBridge'; +import { Staking } from './types/Staking'; +import { System } from './types/System'; export interface IWebLinkedInfo { privateStr: string; @@ -70,6 +78,22 @@ const getFNSRegistryContract = (web3: Web3, address: string) => { return new web3.eth.Contract(FNSRegistryAbi as AbiItem[], address) as unknown as MyContract; }; +const getSystemContract = (web3: Web3, address: string) => { + return new web3.eth.Contract(SystemAbi as AbiItem[], address) as unknown as MyContract; +}; + +const getStakingContract = (web3: Web3, address: string) => { + return new web3.eth.Contract(StakingAbi as AbiItem[], address) as unknown as MyContract; +}; + +const getRewardContract = (web3: Web3, address: string) => { + return new web3.eth.Contract(RewardAbi as AbiItem[], address) as unknown as MyContract; +}; + +const getConfigContract = (web3: Web3, address: string) => { + return new web3.eth.Contract(ConfigAbi as AbiItem[], address) as unknown as MyContract; +}; + const toHex = (covertThis: string, padding: number) => { const temp1 = ethers.utils.hexZeroPad(ethers.utils.hexlify(new BigNumber(covertThis).toNumber()), padding); return temp1; @@ -120,4 +144,8 @@ export { calculationDecimalsAmount, toHex, getCurrentBalance, + getSystemContract, + getStakingContract, + getRewardContract, + getConfigContract, }; diff --git a/src/api/network/types.ts b/src/api/network/types.ts index f0c47d3d..2f3c75b1 100644 --- a/src/api/network/types.ts +++ b/src/api/network/types.ts @@ -719,5 +719,6 @@ export interface DisplayCheckpointDataResult extends NetworkAxiosDataResult { fix_delegators_am_height: number; validators_limit_v2_height: number; fns_registry: string; + evm_staking_address: string; }; } diff --git a/src/api/staking/staking.spec.ts b/src/api/staking/staking.spec.ts index a0553d25..4cbb81d3 100644 --- a/src/api/staking/staking.spec.ts +++ b/src/api/staking/staking.spec.ts @@ -1,7 +1,8 @@ import '@testing-library/jest-dom/extend-expect'; +import Web3 from 'web3'; import * as Fee from '../../services/fee'; -import { TransactionBuilder, TransferOperationBuilder } from '../../services/ledger/types'; +import { TransactionBuilder, TransferOperationBuilder, XfrKeyPair } from '../../services/ledger/types'; import * as FindoraWallet from '../../types/findoraWallet'; import * as KeypairApi from '../keypair/keypair'; import * as SdkAsset from '../sdkAsset/sdkAsset'; @@ -14,14 +15,15 @@ interface TransferOpBuilderLight { add_input_no_tracing?: () => TransferOpBuilderLight; add_output_with_tracing?: () => TransferOpBuilderLight; add_output_no_tracing?: () => TransferOpBuilderLight; - add_operation_undelegate?: () => TransactionBuilder; + // add_operation_undelegate?: () => TransactionBuilder; add_operation_undelegate_partially?: () => TransactionBuilder; - add_operation_claim_custom?: () => TransactionBuilder; + add_operation_claim?: () => TransactionBuilder; add_operation_delegate?: () => TransactionBuilder; new?: () => TransferOpBuilderLight; add_transfer_operation?: () => TransactionBuilder; create?: () => TransferOpBuilderLight; - sign?: () => TransferOpBuilderLight; + sign?: (kp: XfrKeyPair) => TransferOpBuilderLight; + build: () => TransferOpBuilderLight; transaction?: () => string; } @@ -35,12 +37,15 @@ describe('staking (unit test)', () => { add_transfer_operation: jest.fn(() => { return fakeTransactionBuilder as unknown as TransactionBuilder; }), - add_operation_undelegate: jest.fn(() => { - return fakeTransactionBuilder as unknown as TransactionBuilder; - }), add_operation_undelegate_partially: jest.fn(() => { return fakeTransactionBuilder as unknown as TransactionBuilder; }), + build: jest.fn(() => { + return fakeTransactionBuilder; + }), + sign: jest.fn(() => { + return fakeTransactionBuilder; + }), }; const receivedTransferOperation = 'txHash'; @@ -49,12 +54,15 @@ describe('staking (unit test)', () => { create: jest.fn(() => { return fakeTransferOperationBuilderFee; }), - sign: jest.fn(() => { - return fakeTransferOperationBuilderFee; - }), transaction: jest.fn(() => { return receivedTransferOperation; }), + build: jest.fn(() => { + return fakeTransferOperationBuilderFee; + }), + sign: jest.fn(() => { + return fakeTransferOperationBuilderFee; + }), }; const spyBuildTransferOperationWithFee = jest @@ -69,11 +77,11 @@ describe('staking (unit test)', () => { return Promise.resolve(fakeTransactionBuilder as unknown as TransactionBuilder); }); - const spyAddOperationUndelegate = jest - .spyOn(fakeTransactionBuilder, 'add_operation_undelegate') - .mockImplementation(() => { - return fakeTransactionBuilder as unknown as TransactionBuilder; - }); + // const spyAddOperationUndelegate = jest + // .spyOn(fakeTransactionBuilder, 'add_operation_undelegate') + // .mockImplementation(() => { + // return fakeTransactionBuilder as unknown as TransactionBuilder; + // }); const spyAddOperationUndelegatePartially = jest .spyOn(fakeTransactionBuilder, 'add_operation_undelegate_partially') @@ -90,21 +98,21 @@ describe('staking (unit test)', () => { const walletInfo = { publickey: 'senderPub' } as KeypairApi.WalletKeypar; const amount = '2'; const validator = 'myValidaotrAddress'; - const isFullUnstake = true; + // const isFullUnstake = true; - const result = await Staking.unStake(walletInfo, amount, validator, isFullUnstake); + const result = await Staking.unStake(walletInfo, amount, validator); expect(spyBuildTransferOperationWithFee).toHaveBeenCalledWith(walletInfo); expect(spyTransactionGetTransactionBuilder).toHaveBeenCalled(); - expect(spyAddOperationUndelegate).toHaveBeenCalledWith(walletInfo.keypair); - expect(spyAddOperationUndelegatePartially).not.toHaveBeenCalled(); + // expect(spyAddOperationUndelegate).toHaveBeenCalledWith(walletInfo.keypair); + expect(spyAddOperationUndelegatePartially).toHaveBeenCalled(); expect(spyAddTransferOperation).toHaveBeenCalledWith(receivedTransferOperation); expect(result).toBe(fakeTransactionBuilder); spyBuildTransferOperationWithFee.mockRestore(); spyTransactionGetTransactionBuilder.mockRestore(); - spyAddOperationUndelegate.mockRestore(); + // spyAddOperationUndelegate.mockRestore(); spyAddOperationUndelegatePartially.mockRestore(); spyAddTransferOperation.mockRestore(); }); @@ -116,12 +124,18 @@ describe('staking (unit test)', () => { add_transfer_operation: jest.fn(() => { return fakeTransactionBuilder as unknown as TransactionBuilder; }), - add_operation_undelegate: jest.fn(() => { - return fakeTransactionBuilder as unknown as TransactionBuilder; - }), + // add_operation_undelegate: jest.fn(() => { + // return fakeTransactionBuilder as unknown as TransactionBuilder; + // }), add_operation_undelegate_partially: jest.fn(() => { return fakeTransactionBuilder as unknown as TransactionBuilder; }), + build: jest.fn(() => { + return fakeTransactionBuilder; + }), + sign: jest.fn(() => { + return fakeTransactionBuilder; + }), }; const receivedTransferOperation = 'txHash'; @@ -136,6 +150,9 @@ describe('staking (unit test)', () => { transaction: jest.fn(() => { return receivedTransferOperation; }), + build: jest.fn(() => { + return fakeTransactionBuilder; + }), }; const spyBuildTransferOperationWithFee = jest @@ -150,11 +167,11 @@ describe('staking (unit test)', () => { return Promise.resolve(fakeTransactionBuilder as unknown as TransactionBuilder); }); - const spyAddOperationUndelegate = jest - .spyOn(fakeTransactionBuilder, 'add_operation_undelegate') - .mockImplementation(() => { - return fakeTransactionBuilder as unknown as TransactionBuilder; - }); + // const spyAddOperationUndelegate = jest + // .spyOn(fakeTransactionBuilder, 'add_operation_undelegate') + // .mockImplementation(() => { + // return fakeTransactionBuilder as unknown as TransactionBuilder; + // }); const spyAddOperationUndelegatePartially = jest .spyOn(fakeTransactionBuilder, 'add_operation_undelegate_partially') @@ -171,13 +188,13 @@ describe('staking (unit test)', () => { const walletInfo = { publickey: 'senderPub' } as KeypairApi.WalletKeypar; const amount = '2'; const validator = 'myValidaotrAddress'; - const isFullUnstake = false; + // const isFullUnstake = false; - const result = await Staking.unStake(walletInfo, amount, validator, isFullUnstake); + const result = await Staking.unStake(walletInfo, amount, validator); expect(spyBuildTransferOperationWithFee).toHaveBeenCalledWith(walletInfo); expect(spyTransactionGetTransactionBuilder).toHaveBeenCalled(); - expect(spyAddOperationUndelegate).not.toHaveBeenCalledWith(); + // expect(spyAddOperationUndelegate).not.toHaveBeenCalledWith(); expect(spyAddOperationUndelegatePartially).toHaveBeenCalledWith( walletInfo.keypair, BigInt(amount), @@ -189,7 +206,7 @@ describe('staking (unit test)', () => { spyBuildTransferOperationWithFee.mockRestore(); spyTransactionGetTransactionBuilder.mockRestore(); - spyAddOperationUndelegate.mockRestore(); + // spyAddOperationUndelegate.mockRestore(); spyAddOperationUndelegatePartially.mockRestore(); spyAddTransferOperation.mockRestore(); }); @@ -201,6 +218,9 @@ describe('staking (unit test)', () => { sign: jest.fn(() => { throw new Error('boom'); }), + build: jest.fn(() => { + return fakeTransferOperationBuilderFee; + }), }; const spyBuildTransferOperationWithFee = jest @@ -212,9 +232,9 @@ describe('staking (unit test)', () => { const walletInfo = { publickey: 'senderPub' } as KeypairApi.WalletKeypar; const amount = '2'; const validator = 'myValidaotrAddress'; - const isFullUnstake = false; + // const isFullUnstake = false; - await expect(Staking.unStake(walletInfo, amount, validator, isFullUnstake)).rejects.toThrow( + await expect(Staking.unStake(walletInfo, amount, validator)).rejects.toThrow( 'Could not create transfer operation with fee', ); @@ -233,6 +253,9 @@ describe('staking (unit test)', () => { transaction: jest.fn(() => { return receivedTransferOperation; }), + build: jest.fn(() => { + return fakeTransferOperationBuilderFee; + }), }; const spyBuildTransferOperationWithFee = jest @@ -250,9 +273,9 @@ describe('staking (unit test)', () => { const walletInfo = { publickey: 'senderPub' } as KeypairApi.WalletKeypar; const amount = '2'; const validator = 'myValidaotrAddress'; - const isFullUnstake = false; + // const isFullUnstake = false; - await expect(Staking.unStake(walletInfo, amount, validator, isFullUnstake)).rejects.toThrow( + await expect(Staking.unStake(walletInfo, amount, validator)).rejects.toThrow( 'Could not get "stakingTransactionBuilder"', ); @@ -267,12 +290,15 @@ describe('staking (unit test)', () => { add_transfer_operation: jest.fn(() => { return fakeTransactionBuilder as unknown as TransactionBuilder; }), - add_operation_undelegate: jest.fn(() => { - return fakeTransactionBuilder as unknown as TransactionBuilder; - }), + // add_operation_undelegate: jest.fn(() => { + // return fakeTransactionBuilder as unknown as TransactionBuilder; + // }), add_operation_undelegate_partially: jest.fn(() => { return fakeTransactionBuilder as unknown as TransactionBuilder; }), + build: jest.fn(() => { + return fakeTransactionBuilder; + }), }; const receivedTransferOperation = 'txHash'; @@ -287,6 +313,9 @@ describe('staking (unit test)', () => { transaction: jest.fn(() => { return receivedTransferOperation; }), + build: jest.fn(() => { + return fakeTransferOperationBuilderFee; + }), }; const spyBuildTransferOperationWithFee = jest @@ -310,9 +339,9 @@ describe('staking (unit test)', () => { const walletInfo = { publickey: 'senderPub' } as KeypairApi.WalletKeypar; const amount = '2'; const validator = 'myValidaotrAddress'; - const isFullUnstake = false; + // const isFullUnstake = false; - await expect(Staking.unStake(walletInfo, amount, validator, isFullUnstake)).rejects.toThrow( + await expect(Staking.unStake(walletInfo, amount, validator)).rejects.toThrow( 'Could not add staking unStake operation', ); @@ -328,12 +357,15 @@ describe('staking (unit test)', () => { add_transfer_operation: jest.fn(() => { return fakeTransactionBuilder as unknown as TransactionBuilder; }), - add_operation_undelegate: jest.fn(() => { - return fakeTransactionBuilder as unknown as TransactionBuilder; - }), + // add_operation_undelegate: jest.fn(() => { + // return fakeTransactionBuilder as unknown as TransactionBuilder; + // }), add_operation_undelegate_partially: jest.fn(() => { return fakeTransactionBuilder as unknown as TransactionBuilder; }), + build: jest.fn(() => { + return fakeTransactionBuilder; + }), }; const receivedTransferOperation = 'txHash'; @@ -348,6 +380,9 @@ describe('staking (unit test)', () => { transaction: jest.fn(() => { return receivedTransferOperation; }), + build: jest.fn(() => { + return fakeTransferOperationBuilderFee; + }), }; const spyBuildTransferOperationWithFee = jest @@ -377,9 +412,9 @@ describe('staking (unit test)', () => { const walletInfo = { publickey: 'senderPub' } as KeypairApi.WalletKeypar; const amount = '2'; const validator = 'myValidaotrAddress'; - const isFullUnstake = false; + // const isFullUnstake = false; - await expect(Staking.unStake(walletInfo, amount, validator, isFullUnstake)).rejects.toThrow( + await expect(Staking.unStake(walletInfo, amount, validator)).rejects.toThrow( 'Could not add transfer to unStake operation', ); @@ -395,6 +430,12 @@ describe('staking (unit test)', () => { add_operation_delegate: jest.fn(() => { return fakeTransactionBuilder as unknown as TransactionBuilder; }), + build: jest.fn(() => { + return fakeTransactionBuilder; + }), + sign: jest.fn(() => { + return fakeTransactionBuilder; + }), }; const spyTransactionSendToaddress = jest.spyOn(Transaction, 'sendToAddress').mockImplementation(() => { @@ -465,9 +506,15 @@ describe('staking (unit test)', () => { add_transfer_operation: jest.fn(() => { return fakeTransactionBuilder as unknown as TransactionBuilder; }), - add_operation_claim_custom: jest.fn(() => { + add_operation_claim: jest.fn(() => { return fakeTransactionBuilder as unknown as TransactionBuilder; }), + build: jest.fn(() => { + return fakeTransactionBuilder; + }), + sign: jest.fn(() => { + return fakeTransactionBuilder; + }), }; const receivedTransferOperation = 'txHash'; @@ -482,6 +529,9 @@ describe('staking (unit test)', () => { transaction: jest.fn(() => { return receivedTransferOperation; }), + build: jest.fn(() => { + return fakeTransferOperationBuilderFee; + }), }; const spyBuildTransferOperationWithFee = jest @@ -496,8 +546,8 @@ describe('staking (unit test)', () => { return Promise.resolve(fakeTransactionBuilder as unknown as TransactionBuilder); }); - const spyAddOperationClaimCustom = jest - .spyOn(fakeTransactionBuilder, 'add_operation_claim_custom') + const spyAddOperationClaim = jest + .spyOn(fakeTransactionBuilder, 'add_operation_claim') .mockImplementation(() => { return fakeTransactionBuilder as unknown as TransactionBuilder; }); @@ -509,20 +559,24 @@ describe('staking (unit test)', () => { }); const walletInfo = { publickey: 'senderPub' } as KeypairApi.WalletKeypar; - const amount = '2'; + const validators = ['0x0856654F7CD4BB0D6CC4409EF4892136C9D24692']; - const result = await Staking.claim(walletInfo, amount); + const result = await Staking.claim(walletInfo, validators); expect(spyBuildTransferOperationWithFee).toHaveBeenCalledWith(walletInfo); expect(spyTransactionGetTransactionBuilder).toHaveBeenCalled(); - expect(spyAddOperationClaimCustom).toHaveBeenCalledWith(walletInfo.keypair, BigInt(amount)); + expect(spyAddOperationClaim).toHaveBeenCalledWith( + walletInfo.keypair, + Buffer.from(Web3.utils.hexToBytes(validators[0])), + ); + // expect(spyAddOperationClaim).toHaveBeenCalledWith(walletInfo.keypair, Buffer.from(Web3.utils.hexToBytes(validators[1]))); expect(spyAddTransferOperation).toHaveBeenCalledWith(receivedTransferOperation); expect(result).toBe(fakeTransactionBuilder); spyBuildTransferOperationWithFee.mockRestore(); spyTransactionGetTransactionBuilder.mockRestore(); - spyAddOperationClaimCustom.mockRestore(); + spyAddOperationClaim.mockRestore(); spyAddTransferOperation.mockRestore(); }); it('throws an error if it can not get a transfer operation builder', async () => { @@ -538,6 +592,9 @@ describe('staking (unit test)', () => { transaction: jest.fn(() => { return receivedTransferOperation; }), + build: jest.fn(() => { + return fakeTransferOperationBuilderFee; + }), }; const spyBuildTransferOperationWithFee = jest @@ -547,9 +604,11 @@ describe('staking (unit test)', () => { }); const walletInfo = { publickey: 'senderPub' } as KeypairApi.WalletKeypar; - const amount = '2'; + const validators = ['0x0856654F7CD4BB0D6CC4409EF4892136C9D24692']; - await expect(Staking.claim(walletInfo, amount)).rejects.toThrow('Could not create transfer operation'); + await expect(Staking.claim(walletInfo, validators)).rejects.toThrow( + 'Could not create transfer operation', + ); spyBuildTransferOperationWithFee.mockRestore(); }); @@ -558,9 +617,12 @@ describe('staking (unit test)', () => { add_transfer_operation: jest.fn(() => { return fakeTransactionBuilder as unknown as TransactionBuilder; }), - add_operation_claim_custom: jest.fn(() => { + add_operation_claim: jest.fn(() => { return fakeTransactionBuilder as unknown as TransactionBuilder; }), + build: jest.fn(() => { + return fakeTransactionBuilder; + }), }; const receivedTransferOperation = 'txHash'; @@ -575,6 +637,9 @@ describe('staking (unit test)', () => { transaction: jest.fn(() => { return receivedTransferOperation; }), + build: jest.fn(() => { + return fakeTransferOperationBuilderFee; + }), }; const spyBuildTransferOperationWithFee = jest @@ -590,9 +655,9 @@ describe('staking (unit test)', () => { }); const walletInfo = { publickey: 'senderPub' } as KeypairApi.WalletKeypar; - const amount = '2'; + const validators = ['0x0856654F7CD4BB0D6CC4409EF4892136C9D24692']; - await expect(Staking.claim(walletInfo, amount)).rejects.toThrow( + await expect(Staking.claim(walletInfo, validators)).rejects.toThrow( 'Could not get "stakingTransactionBuilder"', ); @@ -604,9 +669,12 @@ describe('staking (unit test)', () => { add_transfer_operation: jest.fn(() => { return fakeTransactionBuilder as unknown as TransactionBuilder; }), - add_operation_claim_custom: jest.fn(() => { + add_operation_claim: jest.fn(() => { return fakeTransactionBuilder as unknown as TransactionBuilder; }), + build: jest.fn(() => { + return fakeTransactionBuilder; + }), }; const receivedTransferOperation = 'txHash'; @@ -621,6 +689,9 @@ describe('staking (unit test)', () => { transaction: jest.fn(() => { return receivedTransferOperation; }), + build: jest.fn(() => { + return fakeTransferOperationBuilderFee; + }), }; const spyBuildTransferOperationWithFee = jest @@ -635,22 +706,22 @@ describe('staking (unit test)', () => { return Promise.resolve(fakeTransactionBuilder as unknown as TransactionBuilder); }); - const spyAddOperationClaimCustom = jest - .spyOn(fakeTransactionBuilder, 'add_operation_claim_custom') + const spyAddOperationClaim = jest + .spyOn(fakeTransactionBuilder, 'add_operation_claim') .mockImplementation(() => { throw new Error('bam'); }); const walletInfo = { publickey: 'senderPub' } as KeypairApi.WalletKeypar; - const amount = '2'; + const validators = ['0x0856654F7CD4BB0D6CC4409EF4892136C9D24692']; - await expect(Staking.claim(walletInfo, amount)).rejects.toThrow( + await expect(Staking.claim(walletInfo, validators)).rejects.toThrow( 'Could not add staking claim operation', ); spyBuildTransferOperationWithFee.mockRestore(); spyTransactionGetTransactionBuilder.mockRestore(); - spyAddOperationClaimCustom.mockRestore(); + spyAddOperationClaim.mockRestore(); }); }); }); diff --git a/src/api/staking/staking.ts b/src/api/staking/staking.ts index 0f5f5aae..5cffa1e4 100644 --- a/src/api/staking/staking.ts +++ b/src/api/staking/staking.ts @@ -1,4 +1,5 @@ import orderBy from 'lodash/orderBy'; +import Web3 from 'web3'; import * as Transaction from '../../api/transaction'; import { create as createBigNumber, toWei } from '../../services/bigNumber'; @@ -20,14 +21,11 @@ import * as Builder from '../transaction/builder'; * ```ts * const walletInfo = await Keypair.restoreFromPrivateKey(pkey, password); * - * // Define whether or not user desires to unstake all the tokens, or only part of the staked amount - * const isFullUnstake = false; * * const transactionBuilder = await StakingApi.unStake( * walletInfo, * amount, * validator, - * isFullUnstake, * ); * * const resultHandle = await Transaction.submitTransaction(transactionBuilder); @@ -39,7 +37,7 @@ export const unStake = async ( walletInfo: WalletKeypar, amount: string, validator: string, - isFullUnstake = false, + // isFullUnstake = false, ): Promise => { const transferFeeOperationBuilder = await Fee.buildTransferOperationWithFee(walletInfo); @@ -66,15 +64,21 @@ export const unStake = async ( } try { - if (isFullUnstake) { - transactionBuilder = transactionBuilder.add_operation_undelegate(walletInfo.keypair); - } else { - transactionBuilder = transactionBuilder.add_operation_undelegate_partially( - walletInfo.keypair, - BigInt(amount), - validator, - ); - } + const targetValidator = validator.startsWith('0x') ? validator.slice(2) : validator; + transactionBuilder = transactionBuilder.add_operation_undelegate_partially( + walletInfo.keypair, + BigInt(amount), + targetValidator, + ); + // if (isFullUnstake) { + // transactionBuilder = transactionBuilder.add_operation_undelegate(walletInfo.keypair); + // } else { + // transactionBuilder = transactionBuilder.add_operation_undelegate_partially( + // walletInfo.keypair, + // BigInt(amount), + // validator.startsWith('0x') ? validator.slice(2) : validator, + // ); + // } } catch (error) { const e: Error = error as Error; @@ -164,10 +168,11 @@ export const delegate = async ( const decimals = asset.assetRules.decimals; const delegateAmount = BigInt(toWei(amount, decimals).toString()); + const targetValidator = validator.startsWith('0x') ? validator.slice(2) : validator; transactionBuilder = transactionBuilder.add_operation_delegate( walletInfo.keypair, delegateAmount, - validator, + targetValidator, ); try { @@ -193,9 +198,11 @@ export const delegate = async ( * ```ts * const walletInfo = await Keypair.restoreFromPrivateKey(pkey, password); + * const validators = ['validator_addr1', 'validator_addr2']; * const transactionBuilder = await StakingApi.claim( * walletInfo, * amount, + * validators, * ); * * const resultHandle = await Transaction.submitTransaction(transactionBuilder); @@ -203,7 +210,8 @@ export const delegate = async ( * * @returns TransactionBuilder which should be used in `Transaction.submitTransaction` */ -export const claim = async (walletInfo: WalletKeypar, amount: string): Promise => { + +export const claim = async (walletInfo: WalletKeypar, validators: string[]): Promise => { const transferFeeOperationBuilder = await Fee.buildTransferOperationWithFee(walletInfo); let receivedTransferFeeOperation; @@ -229,9 +237,13 @@ export const claim = async (walletInfo: WalletKeypar, amount: string): Promise { balanceBefore, ); - const amountToClaim = delegateInfo.rewards; + // const amountToClaim = delegateInfo.rewards; - const transactionBuilderClaim = await Staking.claim(toWalletInfo, amountToClaim); + const transactionBuilderClaim = await Staking.claim(toWalletInfo, ['addr']); const resultHandleClaim = await Transaction.submitTransaction(transactionBuilderClaim); diff --git a/yarn.lock b/yarn.lock index c065fabc..a2595dc2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,17 +2,22 @@ # yarn lockfile v1 +"@aashutoshrathi/word-wrap@^1.2.3": + version "1.2.6" + resolved "https://registry.yarnpkg.com/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf" + integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA== + "@adobe/css-tools@^4.0.1": - version "4.0.2" - resolved "https://registry.yarnpkg.com/@adobe/css-tools/-/css-tools-4.0.2.tgz#bd7d13543a186c3ff3eabb44bec2b22e8fb18ee0" - integrity sha512-Fx6tYjk2wKUgLi8uMANZr8GNZx05u44ArIJldn9VxLvolzlJVgHbTUCbwhMd6bcYky178+WUSxPHO3DAtGLWpw== + version "4.3.1" + resolved "https://registry.yarnpkg.com/@adobe/css-tools/-/css-tools-4.3.1.tgz#abfccb8ca78075a2b6187345c26243c1a0842f28" + integrity sha512-/62yikz7NLScCGAAST5SHdnjaDJQBDq0M2muyRTpf2VQhw6StBg2ALiu73zSJQ4fMVLA+0uBhBHAle7Wg+2kSg== -"@ampproject/remapping@^2.1.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.0.tgz#56c133824780de3174aed5ab6834f3026790154d" - integrity sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w== +"@ampproject/remapping@^2.2.0": + version "2.2.1" + resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.1.tgz#99e8e11851128b8702cd57c33684f1d0f260b630" + integrity sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg== dependencies: - "@jridgewell/gen-mapping" "^0.1.0" + "@jridgewell/gen-mapping" "^0.3.0" "@jridgewell/trace-mapping" "^0.3.9" "@babel/code-frame@7.12.11": @@ -22,156 +27,155 @@ dependencies: "@babel/highlight" "^7.10.4" -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.18.6.tgz#3b25d38c89600baa2dcc219edfa88a74eb2c427a" - integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.22.13": + version "7.22.13" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.22.13.tgz#e3c1c099402598483b7a8c46a721d1038803755e" + integrity sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w== dependencies: - "@babel/highlight" "^7.18.6" + "@babel/highlight" "^7.22.13" + chalk "^2.4.2" -"@babel/compat-data@^7.20.5": - version "7.20.10" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.20.10.tgz#9d92fa81b87542fff50e848ed585b4212c1d34ec" - integrity sha512-sEnuDPpOJR/fcafHMjpcpGN5M2jbUGUHwmuWKM/YdPzeEDJg8bgmbcWQFUfE32MQjti1koACvoPVsDe8Uq+idg== +"@babel/compat-data@^7.22.9": + version "7.22.20" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.22.20.tgz#8df6e96661209623f1975d66c35ffca66f3306d0" + integrity sha512-BQYjKbpXjoXwFW5jGqiizJQQT/aC7pFm9Ok1OWssonuguICi264lbgMzRp2ZMmRSlfkX6DsWDDcsrctK8Rwfiw== "@babel/core@^7.1.0", "@babel/core@^7.12.3", "@babel/core@^7.7.5": - version "7.20.12" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.20.12.tgz#7930db57443c6714ad216953d1356dac0eb8496d" - integrity sha512-XsMfHovsUYHFMdrIHkZphTN/2Hzzi78R08NuHfDBehym2VsPDL6Zn/JAD/JQdnRvbSsbQc4mVaU1m6JgtTEElg== - dependencies: - "@ampproject/remapping" "^2.1.0" - "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.20.7" - "@babel/helper-compilation-targets" "^7.20.7" - "@babel/helper-module-transforms" "^7.20.11" - "@babel/helpers" "^7.20.7" - "@babel/parser" "^7.20.7" - "@babel/template" "^7.20.7" - "@babel/traverse" "^7.20.12" - "@babel/types" "^7.20.7" + version "7.22.20" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.22.20.tgz#e3d0eed84c049e2a2ae0a64d27b6a37edec385b7" + integrity sha512-Y6jd1ahLubuYweD/zJH+vvOY141v4f9igNQAQ+MBgq9JlHS2iTsZKn1aMsb3vGccZsXI16VzTBw52Xx0DWmtnA== + dependencies: + "@ampproject/remapping" "^2.2.0" + "@babel/code-frame" "^7.22.13" + "@babel/generator" "^7.22.15" + "@babel/helper-compilation-targets" "^7.22.15" + "@babel/helper-module-transforms" "^7.22.20" + "@babel/helpers" "^7.22.15" + "@babel/parser" "^7.22.16" + "@babel/template" "^7.22.15" + "@babel/traverse" "^7.22.20" + "@babel/types" "^7.22.19" convert-source-map "^1.7.0" debug "^4.1.0" gensync "^1.0.0-beta.2" - json5 "^2.2.2" - semver "^6.3.0" + json5 "^2.2.3" + semver "^6.3.1" -"@babel/generator@^7.20.7": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.20.7.tgz#f8ef57c8242665c5929fe2e8d82ba75460187b4a" - integrity sha512-7wqMOJq8doJMZmP4ApXTzLxSr7+oO2jroJURrVEp6XShrQUObV8Tq/D0NCcoYg2uHqUrjzO0zwBjoYzelxK+sw== +"@babel/generator@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.22.15.tgz#1564189c7ec94cb8f77b5e8a90c4d200d21b2339" + integrity sha512-Zu9oWARBqeVOW0dZOjXc3JObrzuqothQ3y/n1kUtrjCoCPLkXUwMvOo/F/TCfoHMbWIFlWwpZtkZVb9ga4U2pA== dependencies: - "@babel/types" "^7.20.7" + "@babel/types" "^7.22.15" "@jridgewell/gen-mapping" "^0.3.2" + "@jridgewell/trace-mapping" "^0.3.17" jsesc "^2.5.1" -"@babel/helper-compilation-targets@^7.20.7": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.7.tgz#a6cd33e93629f5eb473b021aac05df62c4cd09bb" - integrity sha512-4tGORmfQcrc+bvrjb5y3dG9Mx1IOZjsHqQVUz7XCNHO+iTmqxWnVg3KRygjGmpRLJGdQSKuvFinbIb0CnZwHAQ== +"@babel/helper-compilation-targets@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.15.tgz#0698fc44551a26cf29f18d4662d5bf545a6cfc52" + integrity sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw== dependencies: - "@babel/compat-data" "^7.20.5" - "@babel/helper-validator-option" "^7.18.6" - browserslist "^4.21.3" + "@babel/compat-data" "^7.22.9" + "@babel/helper-validator-option" "^7.22.15" + browserslist "^4.21.9" lru-cache "^5.1.1" - semver "^6.3.0" - -"@babel/helper-environment-visitor@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz#0c0cee9b35d2ca190478756865bb3528422f51be" - integrity sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg== - -"@babel/helper-function-name@^7.19.0": - version "7.19.0" - resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz#941574ed5390682e872e52d3f38ce9d1bef4648c" - integrity sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w== - dependencies: - "@babel/template" "^7.18.10" - "@babel/types" "^7.19.0" - -"@babel/helper-hoist-variables@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz#d4d2c8fb4baeaa5c68b99cc8245c56554f926678" - integrity sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q== - dependencies: - "@babel/types" "^7.18.6" - -"@babel/helper-module-imports@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz#1e3ebdbbd08aad1437b428c50204db13c5a3ca6e" - integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== - dependencies: - "@babel/types" "^7.18.6" - -"@babel/helper-module-transforms@^7.20.11": - version "7.20.11" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.20.11.tgz#df4c7af713c557938c50ea3ad0117a7944b2f1b0" - integrity sha512-uRy78kN4psmji1s2QtbtcCSaj/LILFDp0f/ymhpQH5QY3nljUZCaNWz9X1dEj/8MBdBEFECs7yRhKn8i7NjZgg== - dependencies: - "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-module-imports" "^7.18.6" - "@babel/helper-simple-access" "^7.20.2" - "@babel/helper-split-export-declaration" "^7.18.6" - "@babel/helper-validator-identifier" "^7.19.1" - "@babel/template" "^7.20.7" - "@babel/traverse" "^7.20.10" - "@babel/types" "^7.20.7" + semver "^6.3.1" -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.8.0": - version "7.20.2" - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz#d1b9000752b18d0877cff85a5c376ce5c3121629" - integrity sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ== +"@babel/helper-environment-visitor@^7.22.20": + version "7.22.20" + resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz#96159db61d34a29dba454c959f5ae4a649ba9167" + integrity sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA== -"@babel/helper-simple-access@^7.20.2": - version "7.20.2" - resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz#0ab452687fe0c2cfb1e2b9e0015de07fc2d62dd9" - integrity sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA== +"@babel/helper-function-name@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.22.5.tgz#ede300828905bb15e582c037162f99d5183af1be" + integrity sha512-wtHSq6jMRE3uF2otvfuD3DIvVhOsSNshQl0Qrd7qC9oQJzHvOL4qQXlQn2916+CXGywIjpGuIkoyZRRxHPiNQQ== dependencies: - "@babel/types" "^7.20.2" + "@babel/template" "^7.22.5" + "@babel/types" "^7.22.5" -"@babel/helper-split-export-declaration@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz#7367949bc75b20c6d5a5d4a97bba2824ae8ef075" - integrity sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA== +"@babel/helper-hoist-variables@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz#c01a007dac05c085914e8fb652b339db50d823bb" + integrity sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw== dependencies: - "@babel/types" "^7.18.6" - -"@babel/helper-string-parser@^7.19.4": - version "7.19.4" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" - integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== + "@babel/types" "^7.22.5" -"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": - version "7.19.1" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" - integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== - -"@babel/helper-validator-option@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz#bf0d2b5a509b1f336099e4ff36e1a63aa5db4db8" - integrity sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw== - -"@babel/helpers@^7.20.7": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.20.7.tgz#04502ff0feecc9f20ecfaad120a18f011a8e6dce" - integrity sha512-PBPjs5BppzsGaxHQCDKnZ6Gd9s6xl8bBCluz3vEInLGRJmnZan4F6BYCeqtyXqkk4W5IlPmjK4JlOuZkpJ3xZA== +"@babel/helper-module-imports@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz#16146307acdc40cc00c3b2c647713076464bdbf0" + integrity sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w== dependencies: - "@babel/template" "^7.20.7" - "@babel/traverse" "^7.20.7" - "@babel/types" "^7.20.7" + "@babel/types" "^7.22.15" -"@babel/highlight@^7.10.4", "@babel/highlight@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" - integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== +"@babel/helper-module-transforms@^7.22.20": + version "7.22.20" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.22.20.tgz#da9edc14794babbe7386df438f3768067132f59e" + integrity sha512-dLT7JVWIUUxKOs1UnJUBR3S70YK+pKX6AbJgB2vMIvEkZkrfJDbYDJesnPshtKV4LhDOR3Oc5YULeDizRek+5A== dependencies: - "@babel/helper-validator-identifier" "^7.18.6" - chalk "^2.0.0" + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-module-imports" "^7.22.15" + "@babel/helper-simple-access" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/helper-validator-identifier" "^7.22.20" + +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.8.0": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz#dd7ee3735e8a313b9f7b05a773d892e88e6d7295" + integrity sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg== + +"@babel/helper-simple-access@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz#4938357dc7d782b80ed6dbb03a0fba3d22b1d5de" + integrity sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-split-export-declaration@^7.22.6": + version "7.22.6" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz#322c61b7310c0997fe4c323955667f18fcefb91c" + integrity sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-string-parser@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz#533f36457a25814cf1df6488523ad547d784a99f" + integrity sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw== + +"@babel/helper-validator-identifier@^7.22.19", "@babel/helper-validator-identifier@^7.22.20": + version "7.22.20" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz#c4ae002c61d2879e724581d96665583dbc1dc0e0" + integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A== + +"@babel/helper-validator-option@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.22.15.tgz#694c30dfa1d09a6534cdfcafbe56789d36aba040" + integrity sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA== + +"@babel/helpers@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.22.15.tgz#f09c3df31e86e3ea0b7ff7556d85cdebd47ea6f1" + integrity sha512-7pAjK0aSdxOwR+CcYAqgWOGy5dcfvzsTIfFTb2odQqW47MDfv14UaJDY6eng8ylM2EaeKXdxaSWESbkmaQHTmw== + dependencies: + "@babel/template" "^7.22.15" + "@babel/traverse" "^7.22.15" + "@babel/types" "^7.22.15" + +"@babel/highlight@^7.10.4", "@babel/highlight@^7.22.13": + version "7.22.20" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.22.20.tgz#4ca92b71d80554b01427815e06f2df965b9c1f54" + integrity sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg== + dependencies: + "@babel/helper-validator-identifier" "^7.22.20" + chalk "^2.4.2" js-tokens "^4.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.20.7.tgz#66fe23b3c8569220817d5feb8b9dcdc95bb4f71b" - integrity sha512-T3Z9oHybU+0vZlY9CiDSJQTD5ZapcW18ZctFMi0MOAl/4BjFF4ul7NVSARLdbGO5vDqy9eQiGTV0LtKfvCYvcg== +"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.22.15", "@babel/parser@^7.22.16": + version "7.22.16" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.22.16.tgz#180aead7f247305cce6551bea2720934e2fa2c95" + integrity sha512-+gPfKv8UWeKKeJTUxe59+OobVcrYHETCsORl61EmSkmgymguYk/X5bp7GuUIXaFsc6y++v8ZxPsLSSuujqDphA== "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" @@ -257,45 +261,45 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/runtime@^7.12.5", "@babel/runtime@^7.15.4", "@babel/runtime@^7.9.2": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.7.tgz#fcb41a5a70550e04a7b708037c7c32f7f356d8fd" - integrity sha512-UF0tvkUtxwAgZ5W/KrkHf0Rn0fdnLDU9ScxBrEVNUprE/MzirjK4MJUX1/BVDv00Sv8cljtukVK1aky++X1SjQ== - dependencies: - regenerator-runtime "^0.13.11" - -"@babel/template@^7.18.10", "@babel/template@^7.20.7", "@babel/template@^7.3.3": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.20.7.tgz#a15090c2839a83b02aa996c0b4994005841fd5a8" - integrity sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw== - dependencies: - "@babel/code-frame" "^7.18.6" - "@babel/parser" "^7.20.7" - "@babel/types" "^7.20.7" - -"@babel/traverse@^7.1.0", "@babel/traverse@^7.20.10", "@babel/traverse@^7.20.12", "@babel/traverse@^7.20.7": - version "7.20.12" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.20.12.tgz#7f0f787b3a67ca4475adef1f56cb94f6abd4a4b5" - integrity sha512-MsIbFN0u+raeja38qboyF8TIT7K0BFzz/Yd/77ta4MsUsmP2RAnidIlwq7d5HFQrH/OZJecGV6B71C4zAgpoSQ== - dependencies: - "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.20.7" - "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-function-name" "^7.19.0" - "@babel/helper-hoist-variables" "^7.18.6" - "@babel/helper-split-export-declaration" "^7.18.6" - "@babel/parser" "^7.20.7" - "@babel/types" "^7.20.7" +"@babel/runtime@^7.12.5", "@babel/runtime@^7.15.4", "@babel/runtime@^7.21.0", "@babel/runtime@^7.9.2": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.22.15.tgz#38f46494ccf6cf020bd4eed7124b425e83e523b8" + integrity sha512-T0O+aa+4w0u06iNmapipJXMV4HoUir03hpx3/YqXXhu9xim3w+dVphjFWl1OH8NbZHw5Lbm9k45drDkgq2VNNA== + dependencies: + regenerator-runtime "^0.14.0" + +"@babel/template@^7.22.15", "@babel/template@^7.22.5", "@babel/template@^7.3.3": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.15.tgz#09576efc3830f0430f4548ef971dde1350ef2f38" + integrity sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w== + dependencies: + "@babel/code-frame" "^7.22.13" + "@babel/parser" "^7.22.15" + "@babel/types" "^7.22.15" + +"@babel/traverse@^7.1.0", "@babel/traverse@^7.22.15", "@babel/traverse@^7.22.20": + version "7.22.20" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.22.20.tgz#db572d9cb5c79e02d83e5618b82f6991c07584c9" + integrity sha512-eU260mPZbU7mZ0N+X10pxXhQFMGTeLb9eFS0mxehS8HZp9o1uSnFeWQuG1UPrlxgA7QoUzFhOnilHDp0AXCyHw== + dependencies: + "@babel/code-frame" "^7.22.13" + "@babel/generator" "^7.22.15" + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-function-name" "^7.22.5" + "@babel/helper-hoist-variables" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/parser" "^7.22.16" + "@babel/types" "^7.22.19" debug "^4.1.0" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.18.6", "@babel/types@^7.19.0", "@babel/types@^7.20.2", "@babel/types@^7.20.7", "@babel/types@^7.3.0", "@babel/types@^7.3.3": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.20.7.tgz#54ec75e252318423fc07fb644dc6a58a64c09b7f" - integrity sha512-69OnhBxSSgK0OzTJai4kyPDiKTIe3j+ctaHdIGVbRahTLAT7L3R9oeXHC2aVSuGYt3cVnoAMDmOCgJ2yaiLMvg== +"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.22.15", "@babel/types@^7.22.19", "@babel/types@^7.22.5", "@babel/types@^7.3.3": + version "7.22.19" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.22.19.tgz#7425343253556916e440e662bb221a93ddb75684" + integrity sha512-P7LAw/LbojPzkgp5oznjE6tQEIWbp4PkkfrZDINTro9zgBRtI324/EYsiSI7lhPbpIQ+DCeR2NNmMWANGGfZsg== dependencies: - "@babel/helper-string-parser" "^7.19.4" - "@babel/helper-validator-identifier" "^7.19.1" + "@babel/helper-string-parser" "^7.22.5" + "@babel/helper-validator-identifier" "^7.22.19" to-fast-properties "^2.0.0" "@bcoe/v8-coverage@^0.2.3": @@ -311,7 +315,7 @@ exec-sh "^0.3.2" minimist "^1.2.0" -"@discoveryjs/json-ext@^0.5.0": +"@discoveryjs/json-ext@0.5.7", "@discoveryjs/json-ext@^0.5.0": version "0.5.7" resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70" integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw== @@ -352,6 +356,11 @@ crc-32 "^1.2.0" ethereumjs-util "^7.1.5" +"@ethereumjs/rlp@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@ethereumjs/rlp/-/rlp-4.0.1.tgz#626fabfd9081baab3d0a3074b0c7ecaf674aaa41" + integrity sha512-tqsQiBQDQdmPWE1xkkBq4rlSW5QZpLOUJ5RJh2/9fug+q9tnUhuZoVLk7s0scUIKTOzEtR72DFBXI4WiZcMpvw== + "@ethereumjs/tx@3.3.2": version "3.3.2" resolved "https://registry.yarnpkg.com/@ethereumjs/tx/-/tx-3.3.2.tgz#348d4624bf248aaab6c44fec2ae67265efe3db00" @@ -360,6 +369,15 @@ "@ethereumjs/common" "^2.5.0" ethereumjs-util "^7.1.2" +"@ethereumjs/util@^8.1.0": + version "8.1.0" + resolved "https://registry.yarnpkg.com/@ethereumjs/util/-/util-8.1.0.tgz#299df97fb6b034e0577ce9f94c7d9d1004409ed4" + integrity sha512-zQ0IqbdX8FZ9aw11vP+dZkKDkS+kgIvQPHnSAXzP9pLu+Rfu3D3XEeLbicvoXJTYnhZiPmsZUxgdzXwNKxRPbA== + dependencies: + "@ethereumjs/rlp" "^4.0.1" + ethereum-cryptography "^2.0.0" + micro-ftch "^0.3.1" + "@ethersproject/abi@5.7.0", "@ethersproject/abi@^5.6.3", "@ethersproject/abi@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/abi/-/abi-5.7.0.tgz#b3f3e045bbbeed1af3947335c247ad625a44e449" @@ -788,12 +806,12 @@ "@types/node" "*" jest-mock "^26.6.2" -"@jest/expect-utils@^29.3.1": - version "29.3.1" - resolved "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-29.3.1.tgz#531f737039e9b9e27c42449798acb5bba01935b6" - integrity sha512-wlrznINZI5sMjwvUoLVk617ll/UYfGIZNxmbU+Pa7wmkL4vYzhV9R2pwVqUh4NWWuLQWkI8+8mOkxs//prKQ3g== +"@jest/expect-utils@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-29.7.0.tgz#023efe5d26a8a70f21677d0a1afc0f0a44e3a1c6" + integrity sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA== dependencies: - jest-get-type "^29.2.0" + jest-get-type "^29.6.3" "@jest/fake-timers@^26.6.2": version "26.6.2" @@ -848,12 +866,12 @@ optionalDependencies: node-notifier "^8.0.0" -"@jest/schemas@^29.0.0": - version "29.0.0" - resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.0.0.tgz#5f47f5994dd4ef067fb7b4188ceac45f77fe952a" - integrity sha512-3Ab5HgYIIAnS0HjqJHQYZS+zXc4tUmTmBH3z83ajI6afXp8X3ZtdLX+nXx+I7LNkJD7uN9LAVhgnjDgZa2z0kA== +"@jest/schemas@^29.6.3": + version "29.6.3" + resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.6.3.tgz#430b5ce8a4e0044a7e3819663305a7b3091c8e03" + integrity sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA== dependencies: - "@sinclair/typebox" "^0.24.1" + "@sinclair/typebox" "^0.27.8" "@jest/source-map@^26.6.2": version "26.6.2" @@ -917,65 +935,57 @@ "@types/yargs" "^15.0.0" chalk "^4.0.0" -"@jest/types@^29.3.1": - version "29.3.1" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-29.3.1.tgz#7c5a80777cb13e703aeec6788d044150341147e3" - integrity sha512-d0S0jmmTpjnhCmNpApgX3jrUZgZ22ivKJRvL2lli5hpCRoNnp1f85r2/wpKfXuYu8E7Jjh1hGfhPyup1NM5AmA== +"@jest/types@^29.6.3": + version "29.6.3" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-29.6.3.tgz#1131f8cf634e7e84c5e77bab12f052af585fba59" + integrity sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw== dependencies: - "@jest/schemas" "^29.0.0" + "@jest/schemas" "^29.6.3" "@types/istanbul-lib-coverage" "^2.0.0" "@types/istanbul-reports" "^3.0.0" "@types/node" "*" "@types/yargs" "^17.0.8" chalk "^4.0.0" -"@jridgewell/gen-mapping@^0.1.0": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz#e5d2e450306a9491e3bd77e323e38d7aff315996" - integrity sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w== - dependencies: - "@jridgewell/set-array" "^1.0.0" - "@jridgewell/sourcemap-codec" "^1.4.10" - "@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.2": - version "0.3.2" - resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz#c1aedc61e853f2bb9f5dfe6d4442d3b565b253b9" - integrity sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A== + version "0.3.3" + resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz#7e02e6eb5df901aaedb08514203b096614024098" + integrity sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ== dependencies: "@jridgewell/set-array" "^1.0.1" "@jridgewell/sourcemap-codec" "^1.4.10" "@jridgewell/trace-mapping" "^0.3.9" -"@jridgewell/resolve-uri@3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" - integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== +"@jridgewell/resolve-uri@^3.1.0": + version "3.1.1" + resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz#c08679063f279615a3326583ba3a90d1d82cc721" + integrity sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA== -"@jridgewell/set-array@^1.0.0", "@jridgewell/set-array@^1.0.1": +"@jridgewell/set-array@^1.0.1": version "1.1.2" resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== -"@jridgewell/source-map@^0.3.2": - version "0.3.2" - resolved "https://registry.yarnpkg.com/@jridgewell/source-map/-/source-map-0.3.2.tgz#f45351aaed4527a298512ec72f81040c998580fb" - integrity sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw== +"@jridgewell/source-map@^0.3.3": + version "0.3.5" + resolved "https://registry.yarnpkg.com/@jridgewell/source-map/-/source-map-0.3.5.tgz#a3bb4d5c6825aab0d281268f47f6ad5853431e91" + integrity sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ== dependencies: "@jridgewell/gen-mapping" "^0.3.0" "@jridgewell/trace-mapping" "^0.3.9" -"@jridgewell/sourcemap-codec@1.4.14", "@jridgewell/sourcemap-codec@^1.4.10": - version "1.4.14" - resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" - integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== +"@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.14": + version "1.4.15" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" + integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== -"@jridgewell/trace-mapping@^0.3.14", "@jridgewell/trace-mapping@^0.3.9": - version "0.3.17" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz#793041277af9073b0951a7fe0f0d8c4c98c36985" - integrity sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g== +"@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.9": + version "0.3.19" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.19.tgz#f8a3249862f91be48d3127c3cfe992f79b4b8811" + integrity sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw== dependencies: - "@jridgewell/resolve-uri" "3.1.0" - "@jridgewell/sourcemap-codec" "1.4.14" + "@jridgewell/resolve-uri" "^3.1.0" + "@jridgewell/sourcemap-codec" "^1.4.14" "@mswjs/cookies@^0.2.2": version "0.2.2" @@ -986,19 +996,36 @@ set-cookie-parser "^2.4.6" "@mswjs/interceptors@^0.17.5": - version "0.17.6" - resolved "https://registry.yarnpkg.com/@mswjs/interceptors/-/interceptors-0.17.6.tgz#7f7900f4cd26f70d9f698685e4485b2f4101d26a" - integrity sha512-201pBIWehTURb6q8Gheu4Zhvd3Ox1U4BJq5KiOQsYzkWyfiOG4pwcz5hPZIEryztgrf8/sdwABpvY757xMmfrQ== + version "0.17.10" + resolved "https://registry.yarnpkg.com/@mswjs/interceptors/-/interceptors-0.17.10.tgz#857b41f30e2b92345ed9a4e2b1d0a08b8b6fcad4" + integrity sha512-N8x7eSLGcmUFNWZRxT1vsHvypzIRgQYdG0rJey/rZCy6zT/30qDt8Joj7FxzGNLSwXbeZqJOMqDurp7ra4hgbw== dependencies: "@open-draft/until" "^1.0.3" "@types/debug" "^4.1.7" "@xmldom/xmldom" "^0.8.3" debug "^4.3.3" - headers-polyfill "^3.1.0" + headers-polyfill "3.2.5" outvariant "^1.2.1" strict-event-emitter "^0.2.4" web-encoding "^1.1.5" +"@noble/curves@1.1.0", "@noble/curves@~1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.1.0.tgz#f13fc667c89184bc04cccb9b11e8e7bae27d8c3d" + integrity sha512-091oBExgENk/kGj3AZmtBDMpxQPDtxQABR2B9lb1JbVTs6ytdzZNwvhxQ4MWasRNEzlbEH8jCWFCwhF/Obj5AA== + dependencies: + "@noble/hashes" "1.3.1" + +"@noble/hashes@1.3.1": + version "1.3.1" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.1.tgz#8831ef002114670c603c458ab8b11328406953a9" + integrity sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA== + +"@noble/hashes@~1.3.0", "@noble/hashes@~1.3.1": + version "1.3.2" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.2.tgz#6f26dbc8fbc7205873ce3cee2f690eba0d421b39" + integrity sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ== + "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" @@ -1026,14 +1053,36 @@ integrity sha512-Aq58f5HiWdyDlFffbbSjAlv596h/cOnt2DO1w3DOC7OJ5EHs0hd/nycJfiu9RJbT6Yk6F1knnRRXNSpxoIVZ9Q== "@polka/url@^1.0.0-next.20": - version "1.0.0-next.21" - resolved "https://registry.yarnpkg.com/@polka/url/-/url-1.0.0-next.21.tgz#5de5a2385a35309427f6011992b544514d559aa1" - integrity sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g== + version "1.0.0-next.23" + resolved "https://registry.yarnpkg.com/@polka/url/-/url-1.0.0-next.23.tgz#498e41218ab3b6a1419c735e5c6ae2c5ed609b6c" + integrity sha512-C16M+IYz0rgRhWZdCmK+h58JMv8vijAA61gmz2rspCSwKwzBebpdcsiUmwrtJRdphuY30i6BSLEOP8ppbNLyLg== + +"@scure/base@~1.1.0": + version "1.1.3" + resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.3.tgz#8584115565228290a6c6c4961973e0903bb3df2f" + integrity sha512-/+SgoRjLq7Xlf0CWuLHq2LUZeL/w65kfzAPG5NH9pcmBhs+nunQTn4gvdwgMTIXnt9b2C/1SeL2XiysZEyIC9Q== -"@sinclair/typebox@^0.24.1": - version "0.24.51" - resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.51.tgz#645f33fe4e02defe26f2f5c0410e1c094eac7f5f" - integrity sha512-1P1OROm/rdubP5aFDSZQILU0vrLCJ4fvHt6EoqHEM+2D/G5MK3bIaymUKLit8Js9gbns5UyJnkP/TZROLw4tUA== +"@scure/bip32@1.3.1": + version "1.3.1" + resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.3.1.tgz#7248aea723667f98160f593d621c47e208ccbb10" + integrity sha512-osvveYtyzdEVbt3OfwwXFr4P2iVBL5u1Q3q4ONBfDY/UpOuXmOlbgwc1xECEboY8wIays8Yt6onaWMUdUbfl0A== + dependencies: + "@noble/curves" "~1.1.0" + "@noble/hashes" "~1.3.1" + "@scure/base" "~1.1.0" + +"@scure/bip39@1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.2.1.tgz#5cee8978656b272a917b7871c981e0541ad6ac2a" + integrity sha512-Z3/Fsz1yr904dduJD0NpiyRHhRYHdcnyh73FZWiV+/qhWi83wNJ3NWolYqCEN+ZWsUz2TWwajJggcRE9r1zUYg== + dependencies: + "@noble/hashes" "~1.3.0" + "@scure/base" "~1.1.0" + +"@sinclair/typebox@^0.27.8": + version "0.27.8" + resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.27.8.tgz#6667fac16c436b5434a387a34dedb013198f6e6e" + integrity sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA== "@sindresorhus/is@^0.14.0": version "0.14.0" @@ -1081,9 +1130,9 @@ defer-to-connect "^2.0.1" "@testing-library/jest-dom@^5.11.10": - version "5.16.5" - resolved "https://registry.yarnpkg.com/@testing-library/jest-dom/-/jest-dom-5.16.5.tgz#3912846af19a29b2dbf32a6ae9c31ef52580074e" - integrity sha512-N5ixQ2qKpi5OLYfwQmUb/5mSV9LneAcaUfp32pn4yCnpb8r/Yz0pXFPck21dIicKmi+ta5WRAknkZCfA8refMA== + version "5.17.0" + resolved "https://registry.yarnpkg.com/@testing-library/jest-dom/-/jest-dom-5.17.0.tgz#5e97c8f9a15ccf4656da00fecab505728de81e0c" + integrity sha512-ynmNeT7asXyH3aSVv4vvX4Rb+0qjOhdNHnO/3vuZNqPmhDpV/+rCSGwQ7bLcmU2cJ4dvoheIO85LQj0IbJHEtg== dependencies: "@adobe/css-tools" "^4.0.1" "@babel/runtime" "^7.9.2" @@ -1108,37 +1157,37 @@ integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw== "@types/babel__core@^7.0.0", "@types/babel__core@^7.1.7": - version "7.1.20" - resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.20.tgz#e168cdd612c92a2d335029ed62ac94c95b362359" - integrity sha512-PVb6Bg2QuscZ30FvOU7z4guG6c926D9YRvOxEaelzndpMsvP+YM74Q/dAFASpg2l6+XLalxSGxcq/lrgYWZtyQ== + version "7.20.2" + resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.20.2.tgz#215db4f4a35d710256579784a548907237728756" + integrity sha512-pNpr1T1xLUc2l3xJKuPtsEky3ybxN3m4fJkknfIpTCTfIZCDW57oAg+EfCgIIp2rvCe0Wn++/FfodDS4YXxBwA== dependencies: - "@babel/parser" "^7.1.0" - "@babel/types" "^7.0.0" + "@babel/parser" "^7.20.7" + "@babel/types" "^7.20.7" "@types/babel__generator" "*" "@types/babel__template" "*" "@types/babel__traverse" "*" "@types/babel__generator@*": - version "7.6.4" - resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.4.tgz#1f20ce4c5b1990b37900b63f050182d28c2439b7" - integrity sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg== + version "7.6.5" + resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.5.tgz#281f4764bcbbbc51fdded0f25aa587b4ce14da95" + integrity sha512-h9yIuWbJKdOPLJTbmSpPzkF67e659PbQDba7ifWm5BJ8xTv+sDmS7rFmywkWOvXedGTivCdeGSIIX8WLcRTz8w== dependencies: "@babel/types" "^7.0.0" "@types/babel__template@*": - version "7.4.1" - resolved "https://registry.yarnpkg.com/@types/babel__template/-/babel__template-7.4.1.tgz#3d1a48fd9d6c0edfd56f2ff578daed48f36c8969" - integrity sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g== + version "7.4.2" + resolved "https://registry.yarnpkg.com/@types/babel__template/-/babel__template-7.4.2.tgz#843e9f1f47c957553b0c374481dc4772921d6a6b" + integrity sha512-/AVzPICMhMOMYoSx9MoKpGDKdBRsIXMNByh1PXSZoa+v6ZoLa8xxtsT/uLQ/NJm0XVAWl/BvId4MlDeXJaeIZQ== dependencies: "@babel/parser" "^7.1.0" "@babel/types" "^7.0.0" "@types/babel__traverse@*", "@types/babel__traverse@^7.0.4", "@types/babel__traverse@^7.0.6": - version "7.18.3" - resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.18.3.tgz#dfc508a85781e5698d5b33443416b6268c4b3e8d" - integrity sha512-1kbcJ40lLB7MHsj39U4Sh1uTd2E7rLEa79kmDpI6cy+XiXsteB3POdQomoq4FxszMrO3ZYchkhYJw7A2862b3w== + version "7.20.2" + resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.20.2.tgz#4ddf99d95cfdd946ff35d2b65c978d9c9bf2645d" + integrity sha512-ojlGK1Hsfce93J0+kn3H5R73elidKUaZonirN33GSmgTUMpzI/MIFfSpF3haANe3G1bEBS9/9/QEqwTzwqFsKw== dependencies: - "@babel/types" "^7.3.0" + "@babel/types" "^7.20.7" "@types/bn.js@^4.11.3", "@types/bn.js@^4.11.6": version "4.11.6" @@ -1147,10 +1196,10 @@ dependencies: "@types/node" "*" -"@types/bn.js@^5.1.0": - version "5.1.1" - resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-5.1.1.tgz#b51e1b55920a4ca26e9285ff79936bbdec910682" - integrity sha512-qNrYbZqMx0uJAfKnKclPh+dTwK33KfLHYqtyODwd5HnXOjnkhc4qgn3BrK6RWyGZm5+sIFE7Q7Vz6QQtJB7w7g== +"@types/bn.js@^5.1.0", "@types/bn.js@^5.1.1": + version "5.1.2" + resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-5.1.2.tgz#162f5238c46f4bcbac07a98561724eca1fcf0c5e" + integrity sha512-dkpZu0szUtn9UXTmw+e0AJFd4D2XAxDnsCLdc05SfqpqzPEBft8eQr8uaFitfo/dUUOZERaLec2hHMG87A4Dxg== dependencies: "@types/node" "*" @@ -1177,42 +1226,37 @@ integrity sha512-XW/Aa8APYr6jSVVA1y/DEIZX0/GMKLEVekNG727R8cs56ahETkRAy/3DR7+fJyh7oUgGwNQaRfXCun0+KbWY7Q== "@types/debug@^4.1.7": - version "4.1.7" - resolved "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.7.tgz#7cc0ea761509124709b8b2d1090d8f6c17aadb82" - integrity sha512-9AonUzyTjXXhEOa0DnqpzZi6VHlqKMswga9EXjpXnnqxwLtdvPPtlO8evrI5D9S6asFRCQ6v+wpiUKbw+vKqyg== + version "4.1.9" + resolved "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.9.tgz#906996938bc672aaf2fb8c0d3733ae1dda05b005" + integrity sha512-8Hz50m2eoS56ldRlepxSBa6PWEVCtzUo/92HgLc2qTMnotJNIm7xP+UZhyWoYsyOdd5dxZ+NZLb24rsKyFs2ow== dependencies: "@types/ms" "*" "@types/eslint-scope@^3.7.3": - version "3.7.4" - resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.4.tgz#37fc1223f0786c39627068a12e94d6e6fc61de16" - integrity sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA== + version "3.7.5" + resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.5.tgz#e28b09dbb1d9d35fdfa8a884225f00440dfc5a3e" + integrity sha512-JNvhIEyxVW6EoMIFIvj93ZOywYFatlpu9deeH6eSx6PE3WHYvHaQtmHmQeNw7aA81bYGBPPQqdtBm6b1SsQMmA== dependencies: "@types/eslint" "*" "@types/estree" "*" "@types/eslint@*": - version "8.4.10" - resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.4.10.tgz#19731b9685c19ed1552da7052b6f668ed7eb64bb" - integrity sha512-Sl/HOqN8NKPmhWo2VBEPm0nvHnu2LL3v9vKo8MEq0EtbJ4eVzGPl41VNPvn5E1i5poMk4/XD8UriLHpJvEP/Nw== + version "8.44.3" + resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.44.3.tgz#96614fae4875ea6328f56de38666f582d911d962" + integrity sha512-iM/WfkwAhwmPff3wZuPLYiHX18HI24jU8k1ZSH7P8FHwxTjZ2P6CoX2wnF43oprR+YXJM6UUxATkNvyv/JHd+g== dependencies: "@types/estree" "*" "@types/json-schema" "*" -"@types/estree@*": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.0.tgz#5fb2e536c1ae9bf35366eed879e827fa59ca41c2" - integrity sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ== - -"@types/estree@^0.0.51": - version "0.0.51" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.51.tgz#cfd70924a25a3fd32b218e5e420e6897e1ac4f40" - integrity sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ== +"@types/estree@*", "@types/estree@^1.0.0": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.2.tgz#ff02bc3dc8317cd668dfec247b750ba1f1d62453" + integrity sha512-VeiPZ9MMwXjO32/Xu7+OwflfmeoRwkE/qzndw42gGtgJwZopBnzy2gD//NN1+go1mADzkDcqf/KnFRSjTJ8xJA== "@types/ethereum-protocol@*": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@types/ethereum-protocol/-/ethereum-protocol-1.0.2.tgz#e765d4c6f4b5ebe906932bd20333e307c56a9bc7" - integrity sha512-Ri/hwt4UckZlF7eqhhAQcXsNvcgQmSJOKZteLco1/5NsRcneW/cJuQcrQNILN2Ohs9WUQjeGW3ZRRNqkEVMzuQ== + version "1.0.3" + resolved "https://registry.yarnpkg.com/@types/ethereum-protocol/-/ethereum-protocol-1.0.3.tgz#64a4001b8ef7d3f09e89123feb8c35d04efd00a7" + integrity sha512-peaCYb+wAT3Gnttt8Ep6+b3ciVK+mWX5wyVnJiDtmWXU1c9RXi5qDxEjGyZrjU/9EYdXPd3hMiXXBjDDPu96yQ== dependencies: bignumber.js "7.2.1" @@ -1224,16 +1268,16 @@ "@types/node" "*" "@types/graceful-fs@^4.1.2": - version "4.1.6" - resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.6.tgz#e14b2576a1c25026b7f02ede1de3b84c3a1efeae" - integrity sha512-Sig0SNORX9fdW+bQuTEovKj3uHcUL6LQKbCrrqb1X7J6/ReAbhCXRAhc+SMejhLELFj2QcyuxmUooZ4bt5ReSw== + version "4.1.7" + resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.7.tgz#30443a2e64fd51113bc3e2ba0914d47109695e2a" + integrity sha512-MhzcwU8aUygZroVwL2jeYk6JisJrPl/oov/gsgGCue9mkgl9wjGbzReYQClxiUgFDnib9FuHqTndccKeZKxTRw== dependencies: "@types/node" "*" "@types/http-cache-semantics@*": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@types/http-cache-semantics/-/http-cache-semantics-4.0.1.tgz#0ea7b61496902b95890dc4c3a116b60cb8dae812" - integrity sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ== + version "4.0.2" + resolved "https://registry.yarnpkg.com/@types/http-cache-semantics/-/http-cache-semantics-4.0.2.tgz#abe102d06ccda1efdf0ed98c10ccf7f36a785a41" + integrity sha512-FD+nQWA2zJjh4L9+pFXqWOi0Hs1ryBCfI+985NjluQ1p8EYtoLvjLOKidXBtZ4/IcxDX4o8/E8qDS3540tNliw== "@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": version "2.0.4" @@ -1255,9 +1299,9 @@ "@types/istanbul-lib-report" "*" "@types/jest@*": - version "29.2.5" - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.2.5.tgz#c27f41a9d6253f288d1910d3c5f09484a56b73c0" - integrity sha512-H2cSxkKgVmqNHXP7TC2L/WUorrZu8ZigyRywfVzv6EyBlxj39n4C00hjXYQWsbwqgElaj/CiAeSRmk5GoaKTgw== + version "29.5.5" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.5.tgz#727204e06228fe24373df9bae76b90f3e8236a2a" + integrity sha512-ebylz2hnsWR9mYvmBFbXJXr+33UPc4+ZdxyDXh5w0FlPBTfCVN3wPL+kuOiQt3xvrK419v7XWeAs+AeOksafXg== dependencies: expect "^29.0.0" pretty-format "^29.0.0" @@ -1276,14 +1320,14 @@ integrity sha512-qC4bCqYGy1y/NP7dDVr7KJarn+PbX1nSpwA7JXdu0HxT3QYjO8MJ+cntENtHFVy2dRAyBV23OZ6MxsW1AM1L8g== "@types/json-bigint@^1.0.0": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@types/json-bigint/-/json-bigint-1.0.1.tgz#201062a6990119a8cc18023cfe1fed12fc2fc8a7" - integrity sha512-zpchZLNsNuzJHi6v64UBoFWAvQlPhch7XAi36FkH6tL1bbbmimIF+cS7vwkzY4u5RaSWMoflQfu+TshMPPw8uw== + version "1.0.2" + resolved "https://registry.yarnpkg.com/@types/json-bigint/-/json-bigint-1.0.2.tgz#6ee51d6c71fecd474b7e3f003aeb13d21227853e" + integrity sha512-ZXqZc1YeBj1B2my/a/f5PWpNemgIb1r5s3cALPvsMqoGEZ0NOEo1UxrSRUEZr0EtChy1BH/CuORiYuvYr4/4Fw== "@types/json-schema@*", "@types/json-schema@^7.0.7", "@types/json-schema@^7.0.8": - version "7.0.11" - resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" - integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== + version "7.0.13" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.13.tgz#02c24f4363176d2d18fc8b70b9f3c54aba178a85" + integrity sha512-RbSSoHliUbnXj3ny0CNFOoxrIDV6SUGyStHsvDqosw6CkdPV8TtWGlfecuK4ToyMEAql6pzNxgCFKanovUzlgQ== "@types/json5@^0.0.29": version "0.0.29" @@ -1298,9 +1342,9 @@ "@types/node" "*" "@types/lodash@^4.14.170": - version "4.14.191" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.191.tgz#09511e7f7cba275acd8b419ddac8da9a6a79e2fa" - integrity sha512-BdZ5BCCvho3EIXw6wUCXHe7rS53AIDPLE+JzwgT+OsJk53oBfbSmZZ7CX4VaRoN78N+TJpFi9QPlfIVNmJYWxQ== + version "4.14.199" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.199.tgz#c3edb5650149d847a277a8961a7ad360c474e9bf" + integrity sha512-Vrjz5N5Ia4SEzWWgIVwnHNEnb1UE1XMkvY5DGXrAeOGE9imk0hgTHh5GyDjLDJi9OTCn9oo9dXH1uToK1VRfrg== "@types/minimist@^1.2.2": version "1.2.2" @@ -1313,9 +1357,9 @@ integrity sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA== "@types/node@*": - version "18.11.18" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.18.tgz#8dfb97f0da23c2293e554c5a50d61ef134d7697f" - integrity sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA== + version "20.6.5" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.6.5.tgz#4c6a79adf59a8e8193ac87a0e522605b16587258" + integrity sha512-2qGq5LAOTh9izcc0+F+dToFigBWiK1phKPt7rNhOqJSr35y8rlIBjDwGtFSgAI6MGIhjwOVNSQZVdJsZJ2uR1w== "@types/node@^10.3.2": version "10.17.60" @@ -1328,14 +1372,14 @@ integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ== "@types/node@^14.14.17", "@types/node@^14.14.33": - version "14.18.36" - resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.36.tgz#c414052cb9d43fab67d679d5f3c641be911f5835" - integrity sha512-FXKWbsJ6a1hIrRxv+FoukuHnGTgEzKYGi7kilfMae96AL9UNkPFNWJEEYWzdRI9ooIkbr4AKldyuSTLql06vLQ== + version "14.18.63" + resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.63.tgz#1788fa8da838dbb5f9ea994b834278205db6ca2b" + integrity sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ== "@types/normalize-package-data@^2.4.0": - version "2.4.1" - resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301" - integrity sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw== + version "2.4.2" + resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.2.tgz#9b0e3e8533fe5024ad32d6637eb9589988b6fdca" + integrity sha512-lqa4UEhhv/2sjjIQgjX8B+RBjj47eo0mzGasklVJ78UKGQY1r0VpB9XHDaZZO9qzEFDdy4MrXLuEaSmPrPSe/A== "@types/parse-json@^4.0.0": version "4.0.0" @@ -1350,9 +1394,9 @@ "@types/node" "*" "@types/prettier@^2.0.0": - version "2.7.2" - resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.7.2.tgz#6c2324641cc4ba050a8c710b2b251b377581fbf0" - integrity sha512-KufADq8uQqo1pYKVIYzfKbJfBAc0sOeXqGbFaSpv8MRmC/zXgowNZmFcbngndGk922QDmOASEXUZCaY48gs4cg== + version "2.7.3" + resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.7.3.tgz#3e51a17e291d01d17d3fc61422015a933af7a08f" + integrity sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA== "@types/readable-stream@^2.3.9": version "2.3.15" @@ -1377,9 +1421,9 @@ "@types/node" "*" "@types/set-cookie-parser@^2.4.0": - version "2.4.2" - resolved "https://registry.yarnpkg.com/@types/set-cookie-parser/-/set-cookie-parser-2.4.2.tgz#b6a955219b54151bfebd4521170723df5e13caad" - integrity sha512-fBZgytwhYAUkj/jC/FAV4RQ5EerRup1YQsXQCh8rZfiHkc4UahC192oH0smGwsXol3cL3A5oETuAHeQHmhXM4w== + version "2.4.3" + resolved "https://registry.yarnpkg.com/@types/set-cookie-parser/-/set-cookie-parser-2.4.3.tgz#963a7437ed026c6adec2a71478ed6e3df2837160" + integrity sha512-7QhnH7bi+6KAhBB+Auejz1uV9DHiopZqu7LfR/5gZZTkejJV5nYeZZpgfFoE0N8aDsXuiYpfKyfyMatCwQhyTQ== dependencies: "@types/node" "*" @@ -1389,16 +1433,16 @@ integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw== "@types/testing-library__jest-dom@^5.9.1": - version "5.14.5" - resolved "https://registry.yarnpkg.com/@types/testing-library__jest-dom/-/testing-library__jest-dom-5.14.5.tgz#d113709c90b3c75fdb127ec338dad7d5f86c974f" - integrity sha512-SBwbxYoyPIvxHbeHxTZX2Pe/74F/tX2/D3mMvzabdeJ25bBojfW0TyB8BHrbq/9zaaKICJZjLP+8r6AeZMFCuQ== + version "5.14.9" + resolved "https://registry.yarnpkg.com/@types/testing-library__jest-dom/-/testing-library__jest-dom-5.14.9.tgz#0fb1e6a0278d87b6737db55af5967570b67cb466" + integrity sha512-FSYhIjFlfOpGSRyVoMBMuS3ws5ehFQODymf3vlI7U1K8c7PHwWwFY7VREfmsuzHSOnoKs/9/Y983ayOs7eRzqw== dependencies: "@types/jest" "*" "@types/tmp@^0.2.0": - version "0.2.3" - resolved "https://registry.yarnpkg.com/@types/tmp/-/tmp-0.2.3.tgz#908bfb113419fd6a42273674c00994d40902c165" - integrity sha512-dDZH/tXzwjutnuk4UacGgFRwV+JSLaXL1ikvidfJprkb7L9Nx1njcRHHmi3Dsvt7pgqqTEeucQuOrWHPFgzVHA== + version "0.2.4" + resolved "https://registry.yarnpkg.com/@types/tmp/-/tmp-0.2.4.tgz#1e26f791b94a95474f1f3322a721dfb065b876fb" + integrity sha512-Vq3rwM+2KgiLacq68EjTJD9cuJ/ne5pXntWn8B8Rxj25SLkGAhCgooCZ1lhcIcV5OFveJ+s5Cqpi+XKfFM/xZA== "@types/web3-provider-engine@^14.0.1": version "14.0.1" @@ -1415,21 +1459,21 @@ "@types/node" "*" "@types/yargs-parser@*": - version "21.0.0" - resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.0.tgz#0c60e537fa790f5f9472ed2776c2b71ec117351b" - integrity sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA== + version "21.0.1" + resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.1.tgz#07773d7160494d56aa882d7531aac7319ea67c3b" + integrity sha512-axdPBuLuEJt0c4yI5OZssC19K2Mq1uKdrfZBzuxLvaztgqUtFYZUNw7lETExPYJR9jdEoIg4mb7RQKRQzOkeGQ== "@types/yargs@^15.0.0": - version "15.0.15" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-15.0.15.tgz#e609a2b1ef9e05d90489c2f5f45bbfb2be092158" - integrity sha512-IziEYMU9XoVj8hWg7k+UJrXALkGFjWJhn5QFEv9q4p+v40oZhSuC135M38st8XPjICL7Ey4TV64ferBGUoJhBg== + version "15.0.16" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-15.0.16.tgz#258009dc52907e8f03041eb64ffdac297ba4b208" + integrity sha512-2FeD5qezW3FvLpZ0JpfuaEWepgNLl9b2gQYiz/ce0NhoB1W/D+VZu98phITXkADYerfr/jb7JcDcVhITsc9bwg== dependencies: "@types/yargs-parser" "*" "@types/yargs@^17.0.8": - version "17.0.19" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.19.tgz#8dbecdc9ab48bee0cb74f6e3327de3fa0d0c98ae" - integrity sha512-cAx3qamwaYX9R0fzOIZAlFpo4A+1uBVCxqpKz9D26uTF4srRXaGTTsikQmaotCtNdbhzyUH7ft6p9ktz9s6UNQ== + version "17.0.25" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.25.tgz#3edd102803c97356fb4c805b2bbaf7dfc9ab6abc" + integrity sha512-gy7iPgwnzNvxgAEi2bXOHWCVOG6f7xsprVJH4MjlAWeBmJ7vh/Y1kwMtUrs64ztf24zVIRCpr3n/z6gm9QIkgg== dependencies: "@types/yargs-parser" "*" @@ -1460,13 +1504,13 @@ eslint-utils "^3.0.0" "@typescript-eslint/parser@^5.37.0": - version "5.48.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.48.2.tgz#c9edef2a0922d26a37dba03be20c5fff378313b3" - integrity sha512-38zMsKsG2sIuM5Oi/olurGwYJXzmtdsHhn5mI/pQogP+BjYVkK5iRazCQ8RGS0V+YLk282uWElN70zAAUmaYHw== + version "5.62.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.62.0.tgz#1b63d082d849a2fcae8a569248fbe2ee1b8a56c7" + integrity sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA== dependencies: - "@typescript-eslint/scope-manager" "5.48.2" - "@typescript-eslint/types" "5.48.2" - "@typescript-eslint/typescript-estree" "5.48.2" + "@typescript-eslint/scope-manager" "5.62.0" + "@typescript-eslint/types" "5.62.0" + "@typescript-eslint/typescript-estree" "5.62.0" debug "^4.3.4" "@typescript-eslint/scope-manager@4.33.0": @@ -1477,23 +1521,23 @@ "@typescript-eslint/types" "4.33.0" "@typescript-eslint/visitor-keys" "4.33.0" -"@typescript-eslint/scope-manager@5.48.2": - version "5.48.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.48.2.tgz#bb7676cb78f1e94921eaab637a4b5d596f838abc" - integrity sha512-zEUFfonQid5KRDKoI3O+uP1GnrFd4tIHlvs+sTJXiWuypUWMuDaottkJuR612wQfOkjYbsaskSIURV9xo4f+Fw== +"@typescript-eslint/scope-manager@5.62.0": + version "5.62.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz#d9457ccc6a0b8d6b37d0eb252a23022478c5460c" + integrity sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w== dependencies: - "@typescript-eslint/types" "5.48.2" - "@typescript-eslint/visitor-keys" "5.48.2" + "@typescript-eslint/types" "5.62.0" + "@typescript-eslint/visitor-keys" "5.62.0" "@typescript-eslint/types@4.33.0": version "4.33.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.33.0.tgz#a1e59036a3b53ae8430ceebf2a919dc7f9af6d72" integrity sha512-zKp7CjQzLQImXEpLt2BUw1tvOMPfNoTAfb8l51evhYbOEEzdWyQNmHWWGPR6hwKJDAi+1VXSBmnhL9kyVTTOuQ== -"@typescript-eslint/types@5.48.2": - version "5.48.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.48.2.tgz#635706abb1ec164137f92148f06f794438c97b8e" - integrity sha512-hE7dA77xxu7ByBc6KCzikgfRyBCTst6dZQpwaTy25iMYOnbNljDT4hjhrGEJJ0QoMjrfqrx+j1l1B9/LtKeuqA== +"@typescript-eslint/types@5.62.0": + version "5.62.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.62.0.tgz#258607e60effa309f067608931c3df6fed41fd2f" + integrity sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ== "@typescript-eslint/typescript-estree@4.33.0": version "4.33.0" @@ -1508,13 +1552,13 @@ semver "^7.3.5" tsutils "^3.21.0" -"@typescript-eslint/typescript-estree@5.48.2": - version "5.48.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.48.2.tgz#6e206b462942b32383582a6c9251c05021cc21b0" - integrity sha512-bibvD3z6ilnoVxUBFEgkO0k0aFvUc4Cttt0dAreEr+nrAHhWzkO83PEVVuieK3DqcgL6VAK5dkzK8XUVja5Zcg== +"@typescript-eslint/typescript-estree@5.62.0": + version "5.62.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz#7d17794b77fabcac615d6a48fb143330d962eb9b" + integrity sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA== dependencies: - "@typescript-eslint/types" "5.48.2" - "@typescript-eslint/visitor-keys" "5.48.2" + "@typescript-eslint/types" "5.62.0" + "@typescript-eslint/visitor-keys" "5.62.0" debug "^4.3.4" globby "^11.1.0" is-glob "^4.0.3" @@ -1529,133 +1573,133 @@ "@typescript-eslint/types" "4.33.0" eslint-visitor-keys "^2.0.0" -"@typescript-eslint/visitor-keys@5.48.2": - version "5.48.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.48.2.tgz#c247582a0bcce467461d7b696513bf9455000060" - integrity sha512-z9njZLSkwmjFWUelGEwEbdf4NwKvfHxvGC0OcGN1Hp/XNDIcJ7D5DpPNPv6x6/mFvc1tQHsaWmpD/a4gOvvCJQ== +"@typescript-eslint/visitor-keys@5.62.0": + version "5.62.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz#2174011917ce582875954ffe2f6912d5931e353e" + integrity sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw== dependencies: - "@typescript-eslint/types" "5.48.2" + "@typescript-eslint/types" "5.62.0" eslint-visitor-keys "^3.3.0" -"@webassemblyjs/ast@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.11.1.tgz#2bfd767eae1a6996f432ff7e8d7fc75679c0b6a7" - integrity sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw== +"@webassemblyjs/ast@1.11.6", "@webassemblyjs/ast@^1.11.5": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.11.6.tgz#db046555d3c413f8966ca50a95176a0e2c642e24" + integrity sha512-IN1xI7PwOvLPgjcf180gC1bqn3q/QaOCwYUahIOhbYUu8KA/3tw2RT/T0Gidi1l7Hhj5D/INhJxiICObqpMu4Q== dependencies: - "@webassemblyjs/helper-numbers" "1.11.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.1" + "@webassemblyjs/helper-numbers" "1.11.6" + "@webassemblyjs/helper-wasm-bytecode" "1.11.6" -"@webassemblyjs/floating-point-hex-parser@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz#f6c61a705f0fd7a6aecaa4e8198f23d9dc179e4f" - integrity sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ== +"@webassemblyjs/floating-point-hex-parser@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz#dacbcb95aff135c8260f77fa3b4c5fea600a6431" + integrity sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw== -"@webassemblyjs/helper-api-error@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz#1a63192d8788e5c012800ba6a7a46c705288fd16" - integrity sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg== +"@webassemblyjs/helper-api-error@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz#6132f68c4acd59dcd141c44b18cbebbd9f2fa768" + integrity sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q== -"@webassemblyjs/helper-buffer@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz#832a900eb444884cde9a7cad467f81500f5e5ab5" - integrity sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA== +"@webassemblyjs/helper-buffer@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.6.tgz#b66d73c43e296fd5e88006f18524feb0f2c7c093" + integrity sha512-z3nFzdcp1mb8nEOFFk8DrYLpHvhKC3grJD2ardfKOzmbmJvEf/tPIqCY+sNcwZIY8ZD7IkB2l7/pqhUhqm7hLA== -"@webassemblyjs/helper-numbers@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz#64d81da219fbbba1e3bd1bfc74f6e8c4e10a62ae" - integrity sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ== +"@webassemblyjs/helper-numbers@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz#cbce5e7e0c1bd32cf4905ae444ef64cea919f1b5" + integrity sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g== dependencies: - "@webassemblyjs/floating-point-hex-parser" "1.11.1" - "@webassemblyjs/helper-api-error" "1.11.1" + "@webassemblyjs/floating-point-hex-parser" "1.11.6" + "@webassemblyjs/helper-api-error" "1.11.6" "@xtuc/long" "4.2.2" -"@webassemblyjs/helper-wasm-bytecode@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz#f328241e41e7b199d0b20c18e88429c4433295e1" - integrity sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q== +"@webassemblyjs/helper-wasm-bytecode@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz#bb2ebdb3b83aa26d9baad4c46d4315283acd51e9" + integrity sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA== -"@webassemblyjs/helper-wasm-section@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz#21ee065a7b635f319e738f0dd73bfbda281c097a" - integrity sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg== +"@webassemblyjs/helper-wasm-section@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.6.tgz#ff97f3863c55ee7f580fd5c41a381e9def4aa577" + integrity sha512-LPpZbSOwTpEC2cgn4hTydySy1Ke+XEu+ETXuoyvuyezHO3Kjdu90KK95Sh9xTbmjrCsUwvWwCOQQNta37VrS9g== dependencies: - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/helper-buffer" "1.11.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.1" - "@webassemblyjs/wasm-gen" "1.11.1" + "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-buffer" "1.11.6" + "@webassemblyjs/helper-wasm-bytecode" "1.11.6" + "@webassemblyjs/wasm-gen" "1.11.6" -"@webassemblyjs/ieee754@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz#963929e9bbd05709e7e12243a099180812992614" - integrity sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ== +"@webassemblyjs/ieee754@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz#bb665c91d0b14fffceb0e38298c329af043c6e3a" + integrity sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg== dependencies: "@xtuc/ieee754" "^1.2.0" -"@webassemblyjs/leb128@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.11.1.tgz#ce814b45574e93d76bae1fb2644ab9cdd9527aa5" - integrity sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw== +"@webassemblyjs/leb128@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.11.6.tgz#70e60e5e82f9ac81118bc25381a0b283893240d7" + integrity sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ== dependencies: "@xtuc/long" "4.2.2" -"@webassemblyjs/utf8@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.11.1.tgz#d1f8b764369e7c6e6bae350e854dec9a59f0a3ff" - integrity sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ== - -"@webassemblyjs/wasm-edit@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz#ad206ebf4bf95a058ce9880a8c092c5dec8193d6" - integrity sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/helper-buffer" "1.11.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.1" - "@webassemblyjs/helper-wasm-section" "1.11.1" - "@webassemblyjs/wasm-gen" "1.11.1" - "@webassemblyjs/wasm-opt" "1.11.1" - "@webassemblyjs/wasm-parser" "1.11.1" - "@webassemblyjs/wast-printer" "1.11.1" - -"@webassemblyjs/wasm-gen@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz#86c5ea304849759b7d88c47a32f4f039ae3c8f76" - integrity sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.1" - "@webassemblyjs/ieee754" "1.11.1" - "@webassemblyjs/leb128" "1.11.1" - "@webassemblyjs/utf8" "1.11.1" - -"@webassemblyjs/wasm-opt@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz#657b4c2202f4cf3b345f8a4c6461c8c2418985f2" - integrity sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/helper-buffer" "1.11.1" - "@webassemblyjs/wasm-gen" "1.11.1" - "@webassemblyjs/wasm-parser" "1.11.1" - -"@webassemblyjs/wasm-parser@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz#86ca734534f417e9bd3c67c7a1c75d8be41fb199" - integrity sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/helper-api-error" "1.11.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.1" - "@webassemblyjs/ieee754" "1.11.1" - "@webassemblyjs/leb128" "1.11.1" - "@webassemblyjs/utf8" "1.11.1" - -"@webassemblyjs/wast-printer@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz#d0c73beda8eec5426f10ae8ef55cee5e7084c2f0" - integrity sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg== - dependencies: - "@webassemblyjs/ast" "1.11.1" +"@webassemblyjs/utf8@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.11.6.tgz#90f8bc34c561595fe156603be7253cdbcd0fab5a" + integrity sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA== + +"@webassemblyjs/wasm-edit@^1.11.5": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.6.tgz#c72fa8220524c9b416249f3d94c2958dfe70ceab" + integrity sha512-Ybn2I6fnfIGuCR+Faaz7YcvtBKxvoLV3Lebn1tM4o/IAJzmi9AWYIPWpyBfU8cC+JxAO57bk4+zdsTjJR+VTOw== + dependencies: + "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-buffer" "1.11.6" + "@webassemblyjs/helper-wasm-bytecode" "1.11.6" + "@webassemblyjs/helper-wasm-section" "1.11.6" + "@webassemblyjs/wasm-gen" "1.11.6" + "@webassemblyjs/wasm-opt" "1.11.6" + "@webassemblyjs/wasm-parser" "1.11.6" + "@webassemblyjs/wast-printer" "1.11.6" + +"@webassemblyjs/wasm-gen@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.6.tgz#fb5283e0e8b4551cc4e9c3c0d7184a65faf7c268" + integrity sha512-3XOqkZP/y6B4F0PBAXvI1/bky7GryoogUtfwExeP/v7Nzwo1QLcq5oQmpKlftZLbT+ERUOAZVQjuNVak6UXjPA== + dependencies: + "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-wasm-bytecode" "1.11.6" + "@webassemblyjs/ieee754" "1.11.6" + "@webassemblyjs/leb128" "1.11.6" + "@webassemblyjs/utf8" "1.11.6" + +"@webassemblyjs/wasm-opt@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.6.tgz#d9a22d651248422ca498b09aa3232a81041487c2" + integrity sha512-cOrKuLRE7PCe6AsOVl7WasYf3wbSo4CeOk6PkrjS7g57MFfVUF9u6ysQBBODX0LdgSvQqRiGz3CXvIDKcPNy4g== + dependencies: + "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-buffer" "1.11.6" + "@webassemblyjs/wasm-gen" "1.11.6" + "@webassemblyjs/wasm-parser" "1.11.6" + +"@webassemblyjs/wasm-parser@1.11.6", "@webassemblyjs/wasm-parser@^1.11.5": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.6.tgz#bb85378c527df824004812bbdb784eea539174a1" + integrity sha512-6ZwPeGzMJM3Dqp3hCsLgESxBGtT/OeCvCZ4TA1JUPYgmhAx38tTPR9JaKy0S5H3evQpO/h2uWs2j6Yc/fjkpTQ== + dependencies: + "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-api-error" "1.11.6" + "@webassemblyjs/helper-wasm-bytecode" "1.11.6" + "@webassemblyjs/ieee754" "1.11.6" + "@webassemblyjs/leb128" "1.11.6" + "@webassemblyjs/utf8" "1.11.6" + +"@webassemblyjs/wast-printer@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.11.6.tgz#a7bf8dd7e362aeb1668ff43f35cb849f188eff20" + integrity sha512-JM7AhRcE+yW2GWYaKeHL5vt4xqee5N2WcezptmgyhNS+ScggqcT1OtXykhAb13Sn5Yas0j2uv9tHgrjwvzAP4A== + dependencies: + "@webassemblyjs/ast" "1.11.6" "@xtuc/long" "4.2.2" "@webpack-cli/configtest@^1.2.0": @@ -1676,9 +1720,9 @@ integrity sha512-oxnCNGj88fL+xzV+dacXs44HcDwf1ovs3AuEzvP7mqXw7fQntqIhQ1BRmynh4qEKQSSSRSWVyXRjmTbZIX9V2Q== "@xmldom/xmldom@^0.8.3": - version "0.8.6" - resolved "https://registry.yarnpkg.com/@xmldom/xmldom/-/xmldom-0.8.6.tgz#8a1524eb5bd5e965c1e3735476f0262469f71440" - integrity sha512-uRjjusqpoqfmRkTaNuLJ2VohVr67Q5YwDATW3VU7PfzTj6IRaihGrYI7zckGZjxQPBIp63nfvJbM+Yu5ICh0Bg== + version "0.8.10" + resolved "https://registry.yarnpkg.com/@xmldom/xmldom/-/xmldom-0.8.10.tgz#a1337ca426aa61cef9fe15b5b28e340a72f6fa99" + integrity sha512-2WALfTl4xo2SkGCYRt6rDTFfk9R1czmBvUQy12gK2KuRKIpWEhcbbzy8EZXtz/jkRqHX8bFEc6FC1HjX4TUWYw== "@xtuc/ieee754@^1.2.0": version "1.2.0" @@ -1705,7 +1749,7 @@ abbrev@1: resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== -abortcontroller-polyfill@^1.7.3: +abortcontroller-polyfill@^1.7.5: version "1.7.5" resolved "https://registry.yarnpkg.com/abortcontroller-polyfill/-/abortcontroller-polyfill-1.7.5.tgz#6738495f4e901fbb57b6c0611d0c75f76c485bed" integrity sha512-JMJ5soJWP18htbbxJjG7bG6yuI6pRhgJ0scHHTfkUjf6wjP912xZWvM+A4sJK3gqd9E8fcPbDnOefbA9Th/FIQ== @@ -1726,10 +1770,10 @@ acorn-globals@^6.0.0: acorn "^7.1.1" acorn-walk "^7.1.1" -acorn-import-assertions@^1.7.6: - version "1.8.0" - resolved "https://registry.yarnpkg.com/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz#ba2b5939ce62c238db6d93d81c9b111b29b855e9" - integrity sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw== +acorn-import-assertions@^1.9.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz#507276249d684797c84e0734ef84860334cfb1ac" + integrity sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA== acorn-jsx@^5.3.1: version "5.3.2" @@ -1751,10 +1795,10 @@ acorn@^7.1.1, acorn@^7.4.0: resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== -acorn@^8.0.4, acorn@^8.2.4, acorn@^8.5.0, acorn@^8.7.1: - version "8.8.1" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.1.tgz#0a3f9cbecc4ec3bea6f0a80b66ae8dd2da250b73" - integrity sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA== +acorn@^8.0.4, acorn@^8.2.4, acorn@^8.7.1, acorn@^8.8.2: + version "8.10.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.10.0.tgz#8be5b3907a67221a81ab23c7889c4c5526b62ec5" + integrity sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw== aes-js@3.0.0: version "3.0.0" @@ -1881,11 +1925,11 @@ argparse@^1.0.7: sprintf-js "~1.0.2" aria-query@^5.0.0: - version "5.1.3" - resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.1.3.tgz#19db27cd101152773631396f7a95a3b58c22c35e" - integrity sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ== + version "5.3.0" + resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.3.0.tgz#650c569e41ad90b51b3d7df5e5eed1c7549c103e" + integrity sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A== dependencies: - deep-equal "^2.0.5" + dequal "^2.0.3" arr-diff@^4.0.0: version "4.0.0" @@ -1902,20 +1946,28 @@ arr-union@^3.1.0: resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" integrity sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q== +array-buffer-byte-length@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz#fabe8bc193fea865f317fe7807085ee0dee5aead" + integrity sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A== + dependencies: + call-bind "^1.0.2" + is-array-buffer "^3.0.1" + array-flatten@1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" integrity sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg== array-includes@^3.1.6: - version "3.1.6" - resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.6.tgz#9e9e720e194f198266ba9e18c29e6a9b0e4b225f" - integrity sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw== + version "3.1.7" + resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.7.tgz#8cd2e01b26f7a3086cbc87271593fe921c62abda" + integrity sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ== dependencies: call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" - get-intrinsic "^1.1.3" + define-properties "^1.2.0" + es-abstract "^1.22.1" + get-intrinsic "^1.2.1" is-string "^1.0.7" array-union@^2.1.0: @@ -1928,26 +1980,50 @@ array-unique@^0.3.2: resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" integrity sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ== +array.prototype.findlastindex@^1.2.2: + version "1.2.3" + resolved "https://registry.yarnpkg.com/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.3.tgz#b37598438f97b579166940814e2c0493a4f50207" + integrity sha512-LzLoiOMAxvy+Gd3BAq3B7VeIgPdo+Q8hthvKtXybMvRV0jrXfJM/t8mw7nNlpEcVlVUnCnM2KSX4XU5HmpodOA== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + es-shim-unscopables "^1.0.0" + get-intrinsic "^1.2.1" + array.prototype.flat@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz#ffc6576a7ca3efc2f46a143b9d1dda9b4b3cf5e2" - integrity sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA== + version "1.3.2" + resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz#1476217df8cff17d72ee8f3ba06738db5b387d18" + integrity sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA== dependencies: call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" + define-properties "^1.2.0" + es-abstract "^1.22.1" es-shim-unscopables "^1.0.0" array.prototype.flatmap@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz#1aae7903c2100433cb8261cd4ed310aab5c4a183" - integrity sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ== + version "1.3.2" + resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz#c9a7c6831db8e719d6ce639190146c24bbd3e527" + integrity sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ== dependencies: call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" + define-properties "^1.2.0" + es-abstract "^1.22.1" es-shim-unscopables "^1.0.0" +arraybuffer.prototype.slice@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.2.tgz#98bd561953e3e74bb34938e77647179dfe6e9f12" + integrity sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw== + dependencies: + array-buffer-byte-length "^1.0.0" + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + get-intrinsic "^1.2.1" + is-array-buffer "^3.0.2" + is-shared-array-buffer "^1.0.2" + asn1.js@^5.2.0: version "5.4.1" resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-5.4.1.tgz#11a980b84ebb91781ce35b0fdc2ee294e3783f07" @@ -2006,9 +2082,9 @@ available-typed-arrays@^1.0.5: integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw== aws-sdk@^2.929.0: - version "2.1296.0" - resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.1296.0.tgz#5194b3856874938bc6c682dfdb7aa276e7a8e6e9" - integrity sha512-6Nm6zQexyne8lVy+BW8jklGpS36mXJjq67zlsn5XuyB3+qAMlolzar9nxgtuabvb/tSQTP4RSwlhkVzOct+MvA== + version "2.1463.0" + resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.1463.0.tgz#ae584a0ea57c73fb43ef75f4d51a5076a4aaba8b" + integrity sha512-NGJLovoHEX6uN3u9iHx0KWg9AigZfSz9YekLQssqGk5vHAEzW7TlCgRsqTu6vhGI5FzlYWapSvUpJUriQUCwMA== dependencies: buffer "4.9.2" events "1.1.1" @@ -2019,7 +2095,7 @@ aws-sdk@^2.929.0: url "0.10.3" util "^0.12.4" uuid "8.0.0" - xml2js "0.4.19" + xml2js "0.5.0" aws-sign2@~0.7.0: version "0.7.0" @@ -2032,9 +2108,9 @@ aws4@^1.8.0: integrity sha512-NmWvPnx0F1SfrQbYwOi7OeaNGokp9XhzNioJ/CSBs8Qa4vxug81mhJEAVZwxXuBmYB5KDRfMq/F3RR0BIU7sWg== axios-retry@^3.1.9: - version "3.3.1" - resolved "https://registry.yarnpkg.com/axios-retry/-/axios-retry-3.3.1.tgz#47624646138aedefbad2ac32f226f4ee94b6dcab" - integrity sha512-RohAUQTDxBSWLFEnoIG/6bvmy8l3TfpkclgStjl5MDCMBDgapAWCmr1r/9harQfWC8bzLC8job6UcL1A1Yc+/Q== + version "3.8.0" + resolved "https://registry.yarnpkg.com/axios-retry/-/axios-retry-3.8.0.tgz#a174af633ef143a9f5642b9e4afe65c2017936b5" + integrity sha512-CfIsQyWNc5/AE7x/UEReRUadiBmQeoBpSEC+4QyGLJMswTsP1tz0GW2YYPnE7w9+ESMef5zOgLDFpHynNyEZ1w== dependencies: "@babel/runtime" "^7.15.4" is-retry-allowed "^2.2.0" @@ -2165,9 +2241,9 @@ bignumber.js@7.2.1: integrity sha512-S4XzBk5sMB+Rcb/LNcpzXr57VRTxgAvaAEDAl1AwRx27j00hT84O6OkteE7u8UB3NuaaygCRrEpqox4uDOrbdQ== bignumber.js@^9.0.0, bignumber.js@^9.0.1: - version "9.1.1" - resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.1.tgz#c4df7dc496bd849d4c9464344c1aa74228b4dac6" - integrity sha512-pHm4LsMJ6lzgNGVfZHjMoO8sdoRhOzOH4MLmY65Jg70bpxCKu5iOHNJyfF6OyvYw7t8Fpf35RuzUyqnQsj8Vig== + version "9.1.2" + resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.2.tgz#b7c4242259c008903b13707983b5f4bbd31eda0c" + integrity sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug== binary-extensions@^2.0.0: version "2.2.0" @@ -2228,7 +2304,7 @@ bn.js@^5.0.0, bn.js@^5.1.1, bn.js@^5.1.2, bn.js@^5.2.0, bn.js@^5.2.1: resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== -body-parser@1.20.1, body-parser@^1.16.0: +body-parser@1.20.1: version "1.20.1" resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.1.tgz#b1812a8912c195cd371a3ee5e66faa2338a5c668" integrity sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw== @@ -2246,6 +2322,24 @@ body-parser@1.20.1, body-parser@^1.16.0: type-is "~1.6.18" unpipe "1.0.0" +body-parser@^1.16.0: + version "1.20.2" + resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.2.tgz#6feb0e21c4724d06de7ff38da36dad4f57a747fd" + integrity sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA== + dependencies: + bytes "3.1.2" + content-type "~1.0.5" + debug "2.6.9" + depd "2.0.0" + destroy "1.2.0" + http-errors "2.0.0" + iconv-lite "0.4.24" + on-finished "2.4.1" + qs "6.11.0" + raw-body "2.5.2" + type-is "~1.6.18" + unpipe "1.0.0" + brace-expansion@^1.1.7: version "1.1.11" resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" @@ -2341,15 +2435,15 @@ browserify-sign@^4.0.0: readable-stream "^3.6.0" safe-buffer "^5.2.0" -browserslist@^4.14.5, browserslist@^4.21.3: - version "4.21.4" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.4.tgz#e7496bbc67b9e39dd0f98565feccdcb0d4ff6987" - integrity sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw== +browserslist@^4.14.5, browserslist@^4.21.9: + version "4.21.11" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.11.tgz#35f74a3e51adc4d193dcd76ea13858de7b8fecb8" + integrity sha512-xn1UXOKUz7DjdGlg9RrUr0GGiWzI97UQJnugHtH0OLDfJB7jMgoIkYvRIEO1l9EeEERVqeqLYOcFBW9ldjypbQ== dependencies: - caniuse-lite "^1.0.30001400" - electron-to-chromium "^1.4.251" - node-releases "^2.0.6" - update-browserslist-db "^1.0.9" + caniuse-lite "^1.0.30001538" + electron-to-chromium "^1.4.526" + node-releases "^2.0.13" + update-browserslist-db "^1.0.13" bs-logger@0.x: version "0.2.6" @@ -2495,9 +2589,9 @@ cacheable-request@^6.0.0: responselike "^1.0.2" cacheable-request@^7.0.2: - version "7.0.2" - resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-7.0.2.tgz#ea0d0b889364a25854757301ca12b2da77f91d27" - integrity sha512-pouW8/FmiPQbuGpkXQ9BAPv/Mo5xDGANgSNXzTzJ8DrKGuXOssM4wIQRjfanNRh3Yu5cfYPvcorqbhg2KIJtew== + version "7.0.4" + resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-7.0.4.tgz#7a33ebf08613178b403635be7b899d3e69bbe817" + integrity sha512-v+p6ongsrp0yTGbJXjgxPow2+DL93DASP4kXCDKb8/bwRtt9OEF3whggkkDkGNzgcWy2XaF4a8nZglC7uElscg== dependencies: clone-response "^1.0.2" get-stream "^5.1.0" @@ -2535,10 +2629,10 @@ camelcase@^6.0.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== -caniuse-lite@^1.0.30001400: - version "1.0.30001445" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001445.tgz#cf2d4eb93f2bcdf0310de9dd6d18be271bc0b447" - integrity sha512-8sdQIdMztYmzfTMO6KfLny878Ln9c2M0fc7EH60IjlP4Dc4PiCy7K2Vl3ITmWgOyPgVQKa5x+UP/KqFsxj4mBg== +caniuse-lite@^1.0.30001538: + version "1.0.30001539" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001539.tgz#325a387ab1ed236df2c12dc6cd43a4fff9903a44" + integrity sha512-hfS5tE8bnNiNvEOEkm8HElUHroYwlqMMENEzELymy77+tJ6m+gA2krtHl5hxJaj71OlpC2cHZbdSMX1/YEqEkA== capture-exit@^2.0.0: version "2.0.0" @@ -2560,7 +2654,7 @@ chalk@4.1.1: ansi-styles "^4.1.0" supports-color "^7.1.0" -chalk@^2.0.0: +chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -2626,9 +2720,9 @@ ci-info@^2.0.0: integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== ci-info@^3.2.0: - version "3.7.1" - resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.7.1.tgz#708a6cdae38915d597afdf3b145f2f8e1ff55f3f" - integrity sha512-4jYS4MOAaCIStSRwiuxc4B8MYhIe676yO1sYGzARnjXkWpmzZMMYxY6zu8WYWDhSuth5zhrQ1rhNSibyyvv4/w== + version "3.8.0" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.8.0.tgz#81408265a5380c929f0bc665d62256628ce9ef91" + integrity sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw== cids@^0.7.1: version "0.7.5" @@ -2682,9 +2776,9 @@ cli-cursor@^3.1.0: restore-cursor "^3.1.0" cli-spinners@^2.5.0: - version "2.7.0" - resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.7.0.tgz#f815fd30b5f9eaac02db604c7a231ed7cb2f797a" - integrity sha512-qu3pN8Y3qHNgE2AFweciB1IfMnmZ/fsNTEE+NOFjmGB2F/7rLhnhzppvpCnN4FovtP26k8lHyy9ptEbNwWFLzw== + version "2.9.1" + resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.9.1.tgz#9c0b9dad69a6d47cbb4333c14319b060ed395a35" + integrity sha512-jHgecW0pxkonBJdrKsqxgRX9AcG+u/5k0Q7WPDfi8AogLAdwxEkyYYNWwZ5GvVFoFx2uiY1eNcSK00fh+1+FyQ== cli-truncate@^2.1.0: version "2.1.0" @@ -2776,9 +2870,9 @@ code-point-at@^1.0.0: integrity sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA== collect-v8-coverage@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz#cc2c8e94fc18bbdffe64d6534570c8a673b27f59" - integrity sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg== + version "1.0.2" + resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz#c0b29bcd33bcd0779a1344c2136051e6afd3d9e9" + integrity sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q== collection-visit@^1.0.0: version "1.0.0" @@ -2813,9 +2907,9 @@ color-name@~1.1.4: integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== colorette@^2.0.14, colorette@^2.0.16: - version "2.0.19" - resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.19.tgz#cdf044f47ad41a0f4b56b3a0d5b4e6e1a2d5a798" - integrity sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ== + version "2.0.20" + resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.20.tgz#9eb793e6833067f7235902fcd3b09917a000a95a" + integrity sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w== colors@^1.4.0: version "1.4.0" @@ -2889,10 +2983,10 @@ content-hash@^2.5.2: multicodec "^0.5.5" multihashes "^0.4.15" -content-type@~1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" - integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== +content-type@~1.0.4, content-type@~1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" + integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== convert-source-map@^1.4.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: version "1.9.0" @@ -2994,12 +3088,12 @@ create-require@^1.1.0: resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== -cross-fetch@^3.1.4: - version "3.1.5" - resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.5.tgz#e1389f44d9e7ba767907f7af8454787952ab534f" - integrity sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw== +cross-fetch@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-4.0.0.tgz#f037aef1580bb3a1a35164ea2a848ba81b445983" + integrity sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g== dependencies: - node-fetch "2.6.7" + node-fetch "^2.6.12" cross-spawn@^6.0.0: version "6.0.5" @@ -3092,9 +3186,11 @@ data-urls@^2.0.0: whatwg-url "^8.0.0" date-fns@^2.16.1: - version "2.29.3" - resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.29.3.tgz#27402d2fc67eb442b511b70bbdf98e6411cd68a8" - integrity sha512-dDCnyH2WnnKusqvZZ6+jA1O51Ibt8ZMRNkDZdyAyK4YfbDwa/cEmuztzG5pk6hqlp9aSBPYcjOlktquahGwGeA== + version "2.30.0" + resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.30.0.tgz#f367e644839ff57894ec6ac480de40cae4b0f4d0" + integrity sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw== + dependencies: + "@babel/runtime" "^7.21.0" debug@2.6.9, debug@^2.2.0, debug@^2.3.3: version "2.6.9" @@ -3204,38 +3300,15 @@ dedent@^0.7.0: resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" integrity sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA== -deep-equal@^2.0.5: - version "2.2.0" - resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-2.2.0.tgz#5caeace9c781028b9ff459f33b779346637c43e6" - integrity sha512-RdpzE0Hv4lhowpIUKKMJfeH6C1pXdtT1/it80ubgWqwI3qpuxUBpC1S4hnHg+zjnuOoDkzUtUCEEkG+XG5l3Mw== - dependencies: - call-bind "^1.0.2" - es-get-iterator "^1.1.2" - get-intrinsic "^1.1.3" - is-arguments "^1.1.1" - is-array-buffer "^3.0.1" - is-date-object "^1.0.5" - is-regex "^1.1.4" - is-shared-array-buffer "^1.0.2" - isarray "^2.0.5" - object-is "^1.1.5" - object-keys "^1.1.1" - object.assign "^4.1.4" - regexp.prototype.flags "^1.4.3" - side-channel "^1.0.4" - which-boxed-primitive "^1.0.2" - which-collection "^1.0.1" - which-typed-array "^1.1.9" - -deep-is@^0.1.3, deep-is@~0.1.3: +deep-is@^0.1.3: version "0.1.4" resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== deepmerge@^4.2.2: - version "4.2.2" - resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" - integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== + version "4.3.1" + resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.3.1.tgz#44b5f2147cd3b00d4b56137685966f26fd25dd4a" + integrity sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A== defaults@^1.0.3: version "1.0.4" @@ -3254,11 +3327,21 @@ defer-to-connect@^2.0.0, defer-to-connect@^2.0.1: resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-2.0.1.tgz#8016bdb4143e4632b77a3449c6236277de520587" integrity sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg== -define-properties@^1.1.3, define-properties@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.4.tgz#0b14d7bd7fbeb2f3572c3a7eda80ea5d57fb05b1" - integrity sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA== +define-data-property@^1.0.1: + version "1.1.0" + resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.0.tgz#0db13540704e1d8d479a0656cf781267531b9451" + integrity sha512-UzGwzcjyv3OtAvolTj1GoyNYzfFR+iqbGjcnBEENZVCpM4/Ng1yhGNvS3lR/xDS74Tb2wGG9WzNSNIOS9UVb2g== + dependencies: + get-intrinsic "^1.2.1" + gopd "^1.0.1" + has-property-descriptors "^1.0.0" + +define-properties@^1.1.3, define-properties@^1.1.4, define-properties@^1.2.0: + version "1.2.1" + resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.2.1.tgz#10781cc616eb951a80a034bafcaa7377f6af2b6c" + integrity sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg== dependencies: + define-data-property "^1.0.1" has-property-descriptors "^1.0.0" object-keys "^1.1.1" @@ -3294,10 +3377,15 @@ depd@2.0.0: resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== +dequal@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be" + integrity sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA== + des.js@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.1.tgz#5382142e1bdc53f85d86d53e5f4aa7deb91e0843" - integrity sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA== + version "1.1.0" + resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.1.0.tgz#1d37f5766f3bbff4ee9638e871a8768c173b81da" + integrity sha512-r17GxjhUCjSRy8aiJpr8/UadFIzMzJGexI3Nmz4ADi9LYSFx4gTBp80+NaX/YsXWWLhpZ7v/v/ubEc/bCNfKwg== dependencies: inherits "^2.0.1" minimalistic-assert "^1.0.0" @@ -3317,10 +3405,10 @@ diff-sequences@^26.6.2: resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-26.6.2.tgz#48ba99157de1923412eed41db6b6d4aa9ca7c0b1" integrity sha512-Mv/TDa3nZ9sbc5soK+OoA74BsS3mL37yixCvUAQkiuA4Wz6YtwP/K47n2rv2ovzHZvoiQeA5FTQOschKkEwB0Q== -diff-sequences@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-29.3.1.tgz#104b5b95fe725932421a9c6e5b4bef84c3f2249e" - integrity sha512-hlM3QR272NXCi4pq+N4Kok4kOp6EsgOM3ZSpJI7Da3UAs+Ttsi8MRmB6trM/lhyzUxGfOgnpkHtgqm5Q/CTcfQ== +diff-sequences@^29.6.3: + version "29.6.3" + resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-29.6.3.tgz#4deaf894d11407c51efc8418012f9e70b84ea921" + integrity sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q== diff@^4.0.1: version "4.0.2" @@ -3358,9 +3446,9 @@ doctrine@^3.0.0: esutils "^2.0.2" dom-accessibility-api@^0.5.6: - version "0.5.15" - resolved "https://registry.yarnpkg.com/dom-accessibility-api/-/dom-accessibility-api-0.5.15.tgz#357e74338704f36fada8b2e01a4bfc11ef436ac9" - integrity sha512-8o+oVqLQZoruQPYy3uAAQtc6YbtSiRq5aPJBhJ82YTJRHvI6ofhYAkC81WmjFTnfUbqg6T3aCglIpU9p/5e7Cw== + version "0.5.16" + resolved "https://registry.yarnpkg.com/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz#5a7429e6066eb3664d911e33fb0e45de8eb08453" + integrity sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg== dom-walk@^0.1.0: version "0.1.2" @@ -3407,10 +3495,10 @@ ee-first@1.1.1: resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== -electron-to-chromium@^1.4.251: - version "1.4.284" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz#61046d1e4cab3a25238f6bf7413795270f125592" - integrity sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA== +electron-to-chromium@^1.4.526: + version "1.4.528" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.528.tgz#7c900fd73d9d2e8bb0dab0e301f25f0f4776ef2c" + integrity sha512-UdREXMXzLkREF4jA8t89FQjA8WHI6ssP38PMY4/4KhXFQbtImnghh4GkCgrtiZwLKUKVD2iTVXvDVQjfomEQuA== elliptic@6.3.3: version "6.3.3" @@ -3476,20 +3564,21 @@ enhanced-resolve@^4.0.0: memory-fs "^0.5.0" tapable "^1.0.0" -enhanced-resolve@^5.10.0, enhanced-resolve@^5.7.0: - version "5.12.0" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.12.0.tgz#300e1c90228f5b570c4d35babf263f6da7155634" - integrity sha512-QHTXI/sZQmko1cbDoNAa3mJ5qhWUUNAq3vR0/YiD379fWQrcfuoX1+HW2S0MTt7XmoPLapdaDKUtelUSPic7hQ== +enhanced-resolve@^5.15.0, enhanced-resolve@^5.7.0: + version "5.15.0" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz#1af946c7d93603eb88e9896cee4904dc012e9c35" + integrity sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg== dependencies: graceful-fs "^4.2.4" tapable "^2.2.0" enquirer@^2.3.5, enquirer@^2.3.6: - version "2.3.6" - resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.3.6.tgz#2a7fe5dd634a1e4125a975ec994ff5456dc3734d" - integrity sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg== + version "2.4.1" + resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.4.1.tgz#93334b3fbd74fc7097b224ab4a8fb7e40bf4ae56" + integrity sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ== dependencies: ansi-colors "^4.1.1" + strip-ansi "^6.0.1" env@^0.0.2: version "0.0.2" @@ -3497,9 +3586,9 @@ env@^0.0.2: integrity sha512-yP8LfjO4ughSHD/3HgLPinWzexmaOGvRfs2TFx0SZhOm7j1xPi9evjuGcLiNVHIGLmcsgMak4eDbBzlYqGIVxw== envinfo@^7.7.3: - version "7.8.1" - resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.8.1.tgz#06377e3e5f4d379fea7ac592d5ad8927e0c4d475" - integrity sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw== + version "7.10.0" + resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.10.0.tgz#55146e3909cc5fe63c22da63fb15b05aeac35b13" + integrity sha512-ZtUjZO6l5mwTHvc1L9+1q5p/R3wTopcfqMW8r5t8SJSKqeVI/LtajORwRFEKpEFuekjD0VBjwu1HMxL4UalIRw== errno@^0.1.3: version "0.1.8" @@ -3515,18 +3604,19 @@ error-ex@^1.2.0, error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" -es-abstract@^1.19.0, es-abstract@^1.20.4: - version "1.21.1" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.21.1.tgz#e6105a099967c08377830a0c9cb589d570dd86c6" - integrity sha512-QudMsPOz86xYz/1dG1OuGBKOELjCh99IIWHLzy5znUB6j8xG2yMA7bfTV86VSqKF+Y/H08vQPR+9jyXpuC6hfg== +es-abstract@^1.22.1: + version "1.22.2" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.22.2.tgz#90f7282d91d0ad577f505e423e52d4c1d93c1b8a" + integrity sha512-YoxfFcDmhjOgWPWsV13+2RNjq1F6UQnfs+8TftwNqtzlmFzEXvlUwdrNrYeaizfjQzRMxkZ6ElWMOJIFKdVqwA== dependencies: + array-buffer-byte-length "^1.0.0" + arraybuffer.prototype.slice "^1.0.2" available-typed-arrays "^1.0.5" call-bind "^1.0.2" es-set-tostringtag "^2.0.1" es-to-primitive "^1.2.1" - function-bind "^1.1.1" - function.prototype.name "^1.1.5" - get-intrinsic "^1.1.3" + function.prototype.name "^1.1.6" + get-intrinsic "^1.2.1" get-symbol-description "^1.0.0" globalthis "^1.0.3" gopd "^1.0.1" @@ -3534,45 +3624,35 @@ es-abstract@^1.19.0, es-abstract@^1.20.4: has-property-descriptors "^1.0.0" has-proto "^1.0.1" has-symbols "^1.0.3" - internal-slot "^1.0.4" - is-array-buffer "^3.0.1" + internal-slot "^1.0.5" + is-array-buffer "^3.0.2" is-callable "^1.2.7" is-negative-zero "^2.0.2" is-regex "^1.1.4" is-shared-array-buffer "^1.0.2" is-string "^1.0.7" - is-typed-array "^1.1.10" + is-typed-array "^1.1.12" is-weakref "^1.0.2" - object-inspect "^1.12.2" + object-inspect "^1.12.3" object-keys "^1.1.1" object.assign "^4.1.4" - regexp.prototype.flags "^1.4.3" + regexp.prototype.flags "^1.5.1" + safe-array-concat "^1.0.1" safe-regex-test "^1.0.0" - string.prototype.trimend "^1.0.6" - string.prototype.trimstart "^1.0.6" + string.prototype.trim "^1.2.8" + string.prototype.trimend "^1.0.7" + string.prototype.trimstart "^1.0.7" + typed-array-buffer "^1.0.0" + typed-array-byte-length "^1.0.0" + typed-array-byte-offset "^1.0.0" typed-array-length "^1.0.4" unbox-primitive "^1.0.2" - which-typed-array "^1.1.9" + which-typed-array "^1.1.11" -es-get-iterator@^1.1.2: - version "1.1.3" - resolved "https://registry.yarnpkg.com/es-get-iterator/-/es-get-iterator-1.1.3.tgz#3ef87523c5d464d41084b2c3c9c214f1199763d6" - integrity sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw== - dependencies: - call-bind "^1.0.2" - get-intrinsic "^1.1.3" - has-symbols "^1.0.3" - is-arguments "^1.1.1" - is-map "^2.0.2" - is-set "^2.0.2" - is-string "^1.0.7" - isarray "^2.0.5" - stop-iteration-iterator "^1.0.0" - -es-module-lexer@^0.9.0: - version "0.9.3" - resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.9.3.tgz#6f13db00cc38417137daf74366f535c8eb438f19" - integrity sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ== +es-module-lexer@^1.2.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.3.1.tgz#c1b0dd5ada807a3b3155315911f364dc4e909db1" + integrity sha512-JUFAyicQV9mXc3YRxPnDlrfBKpqt6hUYzz9/boprUJHs4e4KVr3XwOF70doO6gwXUor6EWZJAyWAfKki84t20Q== es-set-tostringtag@^2.0.1: version "2.0.1" @@ -3656,14 +3736,13 @@ escape-string-regexp@^4.0.0: integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== escodegen@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-2.0.0.tgz#5e32b12833e8aa8fa35e1bf0befa89380484c7dd" - integrity sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw== + version "2.1.0" + resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-2.1.0.tgz#ba93bbb7a43986d29d6041f99f5262da773e2e17" + integrity sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w== dependencies: esprima "^4.0.1" estraverse "^5.2.0" esutils "^2.0.2" - optionator "^0.8.1" optionalDependencies: source-map "~0.6.1" @@ -3675,41 +3754,43 @@ eslint-config-prettier@^6.11.0: get-stdin "^6.0.0" eslint-import-resolver-node@^0.3.7: - version "0.3.7" - resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.7.tgz#83b375187d412324a1963d84fa664377a23eb4d7" - integrity sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA== + version "0.3.9" + resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz#d4eaac52b8a2e7c3cd1903eb00f7e053356118ac" + integrity sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g== dependencies: debug "^3.2.7" - is-core-module "^2.11.0" - resolve "^1.22.1" + is-core-module "^2.13.0" + resolve "^1.22.4" -eslint-module-utils@^2.7.4: - version "2.7.4" - resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.7.4.tgz#4f3e41116aaf13a20792261e61d3a2e7e0583974" - integrity sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA== +eslint-module-utils@^2.8.0: + version "2.8.0" + resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.8.0.tgz#e439fee65fc33f6bba630ff621efc38ec0375c49" + integrity sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw== dependencies: debug "^3.2.7" eslint-plugin-import@^2.22.0: - version "2.27.5" - resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.27.5.tgz#876a6d03f52608a3e5bb439c2550588e51dd6c65" - integrity sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow== + version "2.28.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.28.1.tgz#63b8b5b3c409bfc75ebaf8fb206b07ab435482c4" + integrity sha512-9I9hFlITvOV55alzoKBI+K9q74kv0iKMeY6av5+umsNwayt59fz692daGyjR+oStBQgx6nwR9rXldDev3Clw+A== dependencies: array-includes "^3.1.6" + array.prototype.findlastindex "^1.2.2" array.prototype.flat "^1.3.1" array.prototype.flatmap "^1.3.1" debug "^3.2.7" doctrine "^2.1.0" eslint-import-resolver-node "^0.3.7" - eslint-module-utils "^2.7.4" + eslint-module-utils "^2.8.0" has "^1.0.3" - is-core-module "^2.11.0" + is-core-module "^2.13.0" is-glob "^4.0.3" minimatch "^3.1.2" + object.fromentries "^2.0.6" + object.groupby "^1.0.0" object.values "^1.1.6" - resolve "^1.22.1" - semver "^6.3.0" - tsconfig-paths "^3.14.1" + semver "^6.3.1" + tsconfig-paths "^3.14.2" eslint-plugin-prettier@^3.1.3: version "3.4.1" @@ -3756,9 +3837,9 @@ eslint-visitor-keys@^2.0.0: integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== eslint-visitor-keys@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826" - integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA== + version "3.4.3" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" + integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== eslint@^7.5: version "7.32.0" @@ -3821,9 +3902,9 @@ esprima@^4.0.0, esprima@^4.0.1: integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== esquery@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.4.0.tgz#2148ffc38b82e8c7057dfed48425b3e61f0f24a5" - integrity sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w== + version "1.5.0" + resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.5.0.tgz#6ce17738de8577694edd7361c57182ac8cb0db0b" + integrity sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg== dependencies: estraverse "^5.1.0" @@ -3893,9 +3974,9 @@ eth-lib@^0.1.26: xhr-request-promise "^0.1.2" ethereum-abi-types-generator@^1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/ethereum-abi-types-generator/-/ethereum-abi-types-generator-1.3.2.tgz#b804c97093a69505498dcdf6fc768131c64bb212" - integrity sha512-hoAwuxXYLZpnmBByN8fLLqlY4o5KEI8WSY9g2bC0x83sQVsrihickY1siVVcmjdOa4NPin2Bwtj4vYHcfI2jLQ== + version "1.3.4" + resolved "https://registry.yarnpkg.com/ethereum-abi-types-generator/-/ethereum-abi-types-generator-1.3.4.tgz#3b950ed2ef05480b03e6956442d21a8c7ea56a67" + integrity sha512-5O775BQ9ZkLEJfX7uWkCt8kzt3HcLL/UVp8s6D4wjh6TWW5n1+xjR6jXUXNpCtZSr+gPqj2r2U6sUQ8yZ1+Odw== dependencies: "@types/bn.js" "^4.11.6" bignumber.js "^9.0.0" @@ -3936,6 +4017,16 @@ ethereum-cryptography@^0.1.3: secp256k1 "^4.0.1" setimmediate "^1.0.5" +ethereum-cryptography@^2.0.0, ethereum-cryptography@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/ethereum-cryptography/-/ethereum-cryptography-2.1.2.tgz#18fa7108622e56481157a5cb7c01c0c6a672eb67" + integrity sha512-Z5Ba0T0ImZ8fqXrJbpHcbpAvIswRte2wGNR/KePnu8GbbvgJ47lMxT/ZZPG6i9Jaht4azPDop4HaM00J0J59ug== + dependencies: + "@noble/curves" "1.1.0" + "@noble/hashes" "1.3.1" + "@scure/bip32" "1.3.1" + "@scure/bip39" "1.2.1" + ethereum-protocol@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/ethereum-protocol/-/ethereum-protocol-1.0.1.tgz#b7d68142f4105e0ae7b5e178cf42f8d4dc4b93cf" @@ -3962,7 +4053,7 @@ ethereumjs-util@6.2.1, ethereumjs-util@^6.0.0: ethjs-util "0.1.6" rlp "^2.2.3" -ethereumjs-util@^7.0.10, ethereumjs-util@^7.1.0, ethereumjs-util@^7.1.1, ethereumjs-util@^7.1.2, ethereumjs-util@^7.1.5: +ethereumjs-util@^7.1.1, ethereumjs-util@^7.1.2, ethereumjs-util@^7.1.5: version "7.1.5" resolved "https://registry.yarnpkg.com/ethereumjs-util/-/ethereumjs-util-7.1.5.tgz#9ecf04861e4fbbeed7465ece5f23317ad1129181" integrity sha512-SDl5kKrQAudFBUe5OJM9Ac6WmMyYmXX/6sTmLZ3ffG2eY6ZIGBes3pEDxNN6V72WyOw4CPD5RomKdsa8DAAwLg== @@ -4148,15 +4239,15 @@ expect@^26.6.2: jest-regex-util "^26.0.0" expect@^29.0.0: - version "29.3.1" - resolved "https://registry.yarnpkg.com/expect/-/expect-29.3.1.tgz#92877aad3f7deefc2e3f6430dd195b92295554a6" - integrity sha512-gGb1yTgU30Q0O/tQq+z30KBWv24ApkMgFUpvKBkyLUBL68Wv8dHdJxTBZFl/iT8K/bqDHvUYRH6IIN3rToopPA== + version "29.7.0" + resolved "https://registry.yarnpkg.com/expect/-/expect-29.7.0.tgz#578874590dcb3214514084c08115d8aee61e11bc" + integrity sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw== dependencies: - "@jest/expect-utils" "^29.3.1" - jest-get-type "^29.2.0" - jest-matcher-utils "^29.3.1" - jest-message-util "^29.3.1" - jest-util "^29.3.1" + "@jest/expect-utils" "^29.7.0" + jest-get-type "^29.6.3" + jest-matcher-utils "^29.7.0" + jest-message-util "^29.7.0" + jest-util "^29.7.0" express@^4.14.0: version "4.18.2" @@ -4261,14 +4352,14 @@ fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== fast-diff@^1.1.2: - version "1.2.0" - resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03" - integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== + version "1.3.0" + resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.3.0.tgz#ece407fa550a64d638536cd727e129c61616e0f0" + integrity sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw== fast-glob@^3.2.9: - version "3.2.12" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80" - integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w== + version "3.3.1" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.1.tgz#784b4e897340f3dbbef17413b3f11acf03c874c4" + integrity sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg== dependencies: "@nodelib/fs.stat" "^2.0.2" "@nodelib/fs.walk" "^1.2.3" @@ -4281,7 +4372,7 @@ fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0: resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== -fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.6: +fast-levenshtein@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== @@ -4414,27 +4505,28 @@ find-versions@^4.0.0: dependencies: semver-regex "^3.1.2" -"findora-wallet-wasm@https://github.com/FindoraNetwork/wasm-js-bindings.git#v0.4.2": +"findora-wallet-wasm@https://github.com/FindoraNetwork/wasm-js-bindings.git": version "0.0.0" - resolved "https://github.com/FindoraNetwork/wasm-js-bindings.git#8ede93b075d98e9295dfea8526cd396a7b51d2ed" + resolved "https://github.com/FindoraNetwork/wasm-js-bindings.git#570c6e5c43e052721bfd8b6adc02408f4caedede" flat-cache@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" - integrity sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg== + version "3.1.0" + resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.1.0.tgz#0e54ab4a1a60fe87e2946b6b00657f1c99e1af3f" + integrity sha512-OHx4Qwrrt0E4jEIcI5/Xb+f+QmJYNj2rrK8wiIdQOIrB9WrrJL8cjZvXdXuBTkkEwEqLycb5BeZDV1o2i9bTew== dependencies: - flatted "^3.1.0" + flatted "^3.2.7" + keyv "^4.5.3" rimraf "^3.0.2" -flatted@^3.1.0: - version "3.2.7" - resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787" - integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ== +flatted@^3.2.7: + version "3.2.9" + resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.9.tgz#7eb4c67ca1ba34232ca9d2d93e9886e611ad7daf" + integrity sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ== follow-redirects@^1.14.0: - version "1.15.2" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" - integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== + version "1.15.3" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.3.tgz#fe2f3ef2690afce7e82ed0b44db08165b207123a" + integrity sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q== for-each@^0.3.3: version "0.3.3" @@ -4541,31 +4633,31 @@ fs.realpath@^1.0.0: integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== fsevents@^2.1.2, fsevents@~2.3.2: - version "2.3.2" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" - integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== + version "2.3.3" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" + integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== function-bind@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== -function.prototype.name@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.5.tgz#cce0505fe1ffb80503e6f9e46cc64e46a12a9621" - integrity sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA== +function.prototype.name@^1.1.6: + version "1.1.6" + resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.6.tgz#cdf315b7d90ee77a4c6ee216c3c3362da07533fd" + integrity sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg== dependencies: call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.0" - functions-have-names "^1.2.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + functions-have-names "^1.2.3" functional-red-black-tree@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" integrity sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g== -functions-have-names@^1.2.2: +functions-have-names@^1.2.3: version "1.2.3" resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834" integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ== @@ -4594,13 +4686,14 @@ get-caller-file@^2.0.1, get-caller-file@^2.0.5: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.3.tgz#063c84329ad93e83893c7f4f243ef63ffa351385" - integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A== +get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@^1.2.0, get-intrinsic@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.1.tgz#d295644fed4505fc9cde952c37ee12b477a83d82" + integrity sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw== dependencies: function-bind "^1.1.1" has "^1.0.3" + has-proto "^1.0.1" has-symbols "^1.0.3" get-own-enumerable-property-symbols@^3.0.0: @@ -4708,9 +4801,9 @@ globals@^11.1.0: integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== globals@^13.6.0, globals@^13.9.0: - version "13.19.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-13.19.0.tgz#7a42de8e6ad4f7242fbcca27ea5b23aca367b5c8" - integrity sha512-dkQ957uSRWHw7CFXLUtUHQI3g3aWApYhfNR2O6jn/907riyTYKVBmxYVROkBcY614FSSeSJh7Xm7SrUWCxvJMQ== + version "13.22.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-13.22.0.tgz#0c9fcb9c48a2494fbb5edbfee644285543eba9d8" + integrity sha512-H1Ddc/PbZHTDVJSnj8kWptIRSD6AM3pK+mKytuIVF4uoBV7rshFlhhvA58ceJ5wp3Er58w6zj7bykMpYXt3ETw== dependencies: type-fest "^0.20.2" @@ -4814,14 +4907,14 @@ got@^7.1.0: url-to-options "^1.0.1" graceful-fs@^4.1.10, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9, graceful-fs@^4.2.0, graceful-fs@^4.2.4, graceful-fs@^4.2.9: - version "4.2.10" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" - integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== + version "4.2.11" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" + integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== "graphql@^15.0.0 || ^16.0.0": - version "16.6.0" - resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.6.0.tgz#c2dcffa4649db149f6282af726c8c83f1c7c5fdb" - integrity sha512-KPIBPDlW7NxrbT/eh4qPXz5FiFdL5UbaA0XUNz2Rp3Z3hqBSkbj0GVjwFDztsWVauZUWsbKHgMg++sk8UX0bkw== + version "16.8.1" + resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.8.1.tgz#1930a965bef1170603702acdb68aedd3f3cf6f07" + integrity sha512-59LZHPdGZVh695Ud9lRzPBVTtlX9ZCV150Er2W43ro37wVof0ctenSaskPPjN7lVTIN8mSZt8PHUNKZuNQUuxw== growly@^1.3.0: version "1.3.0" @@ -4836,12 +4929,12 @@ gzip-size@^6.0.0: duplexer "^0.1.2" handlebars@^4.7.7: - version "4.7.7" - resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1" - integrity sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA== + version "4.7.8" + resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.8.tgz#41c42c18b1be2365439188c77c6afae71c0cd9e9" + integrity sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ== dependencies: minimist "^1.2.5" - neo-async "^2.6.0" + neo-async "^2.6.2" source-map "^0.6.1" wordwrap "^1.0.0" optionalDependencies: @@ -4974,10 +5067,15 @@ hash.js@1.1.7, hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7: inherits "^2.0.3" minimalistic-assert "^1.0.1" +headers-polyfill@3.2.5: + version "3.2.5" + resolved "https://registry.yarnpkg.com/headers-polyfill/-/headers-polyfill-3.2.5.tgz#6e67d392c9d113d37448fe45014e0afdd168faed" + integrity sha512-tUCGvt191vNSQgttSyJoibR+VO+I6+iCHIUdhzEMJKE+EAL8BwCN7fUOZlY4ofOelNHsK+gEjxB/B+9N3EWtdA== + headers-polyfill@^3.1.0: - version "3.1.2" - resolved "https://registry.yarnpkg.com/headers-polyfill/-/headers-polyfill-3.1.2.tgz#9a4dcb545c5b95d9569592ef7ec0708aab763fbe" - integrity sha512-tWCK4biJ6hcLqTviLXVR9DTRfYGQMXEIUj3gwJ2rZ5wO/at3XtkI4g8mCvFdUF9l1KMBNCfmNAdnahm1cgavQA== + version "3.3.0" + resolved "https://registry.yarnpkg.com/headers-polyfill/-/headers-polyfill-3.3.0.tgz#67c6ef7b72d4c8cac832ad5936f5b3a56e7b705a" + integrity sha512-5e57etwBpNcDc0b6KCVWEh/Ro063OxPvzVimUdM0/tsYM/T7Hfy3kknIGj78SFTOhNd8AZY41U8mOHoO4LzmIQ== hmac-drbg@^1.0.1: version "1.0.1" @@ -5006,9 +5104,9 @@ html-escaper@^2.0.0: integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg== http-cache-semantics@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390" - integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ== + version "4.1.1" + resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz#abe02fcb2985460bf0323be664436ec3476a6d5a" + integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ== http-errors@2.0.0: version "2.0.0" @@ -5168,9 +5266,9 @@ inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, i integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== inquirer@^8.2.0: - version "8.2.5" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.2.5.tgz#d8654a7542c35a9b9e069d27e2df4858784d54f8" - integrity sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ== + version "8.2.6" + resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.2.6.tgz#733b74888195d8d400a67ac332011b5fae5ea562" + integrity sha512-M1WuAmb7pn9zdFRtQYk26ZBoY043Sse0wVDdk4Bppr+JOXyQYybdtvK+l9wUibhtjdjvtoiNy8tk+EgsYIUqKg== dependencies: ansi-escapes "^4.2.1" chalk "^4.1.1" @@ -5186,14 +5284,14 @@ inquirer@^8.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" through "^2.3.6" - wrap-ansi "^7.0.0" + wrap-ansi "^6.0.1" -internal-slot@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.4.tgz#8551e7baf74a7a6ba5f749cfb16aa60722f0d6f3" - integrity sha512-tA8URYccNzMo94s5MQZgH8NB/XTa6HsOo0MLfXTKKEnHVVdegzaQoFZ7Jp44bdvLvY2waT5dc+j5ICEswhi7UQ== +internal-slot@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.5.tgz#f2a2ee21f668f8627a4667f309dc0f4fb6674986" + integrity sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ== dependencies: - get-intrinsic "^1.1.3" + get-intrinsic "^1.2.0" has "^1.0.3" side-channel "^1.0.4" @@ -5231,7 +5329,7 @@ is-accessor-descriptor@^1.0.0: dependencies: kind-of "^6.0.0" -is-arguments@^1.0.4, is-arguments@^1.1.1: +is-arguments@^1.0.4: version "1.1.1" resolved "https://registry.yarnpkg.com/is-arguments/-/is-arguments-1.1.1.tgz#15b3f88fda01f2a97fec84ca761a560f123efa9b" integrity sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA== @@ -5239,13 +5337,13 @@ is-arguments@^1.0.4, is-arguments@^1.1.1: call-bind "^1.0.2" has-tostringtag "^1.0.0" -is-array-buffer@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/is-array-buffer/-/is-array-buffer-3.0.1.tgz#deb1db4fcae48308d54ef2442706c0393997052a" - integrity sha512-ASfLknmY8Xa2XtB4wmbz13Wu202baeA18cJBCeCy0wXUHZF0IPyVEXqKEcd+t2fNSLLL1vC6k7lxZEojNbISXQ== +is-array-buffer@^3.0.1, is-array-buffer@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/is-array-buffer/-/is-array-buffer-3.0.2.tgz#f2653ced8412081638ecb0ebbd0c41c6e0aecbbe" + integrity sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w== dependencies: call-bind "^1.0.2" - get-intrinsic "^1.1.3" + get-intrinsic "^1.2.0" is-typed-array "^1.1.10" is-arrayish@^0.2.1: @@ -5292,10 +5390,10 @@ is-ci@^2.0.0: dependencies: ci-info "^2.0.0" -is-core-module@^2.11.0, is-core-module@^2.9.0: - version "2.11.0" - resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144" - integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== +is-core-module@^2.13.0: + version "2.13.0" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.13.0.tgz#bb52aa6e2cbd49a30c2ba68c42bf3435ba6072db" + integrity sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ== dependencies: has "^1.0.3" @@ -5313,7 +5411,7 @@ is-data-descriptor@^1.0.0: dependencies: kind-of "^6.0.0" -is-date-object@^1.0.1, is-date-object@^1.0.5: +is-date-object@^1.0.1: version "1.0.5" resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.5.tgz#0841d5536e724c25597bf6ea62e1bd38298df31f" integrity sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ== @@ -5411,11 +5509,6 @@ is-interactive@^1.0.0: resolved "https://registry.yarnpkg.com/is-interactive/-/is-interactive-1.0.0.tgz#cea6e6ae5c870a7b0a0004070b7b587e0252912e" integrity sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w== -is-map@^2.0.1, is-map@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/is-map/-/is-map-2.0.2.tgz#00922db8c9bf73e81b7a335827bc2a43f2b91127" - integrity sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg== - is-natural-number@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/is-natural-number/-/is-natural-number-4.0.1.tgz#ab9d76e1db4ced51e35de0c72ebecf09f734cde8" @@ -5427,9 +5520,9 @@ is-negative-zero@^2.0.2: integrity sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA== is-node-process@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-node-process/-/is-node-process-1.0.1.tgz#4fc7ac3a91e8aac58175fe0578abbc56f2831b23" - integrity sha512-5IcdXuf++TTNt3oGl9EBdkvndXA8gmc4bz/Y+mdEpWh3Mcn/+kOw6hI7LD5CocqJWMzeb0I0ClndRVNdEPuJXQ== + version "1.2.0" + resolved "https://registry.yarnpkg.com/is-node-process/-/is-node-process-1.2.0.tgz#ea02a1b90ddb3934a19aea414e88edef7e11d134" + integrity sha512-Vg4o6/fqPxIjtxgUH5QLJhwZ7gW5diGCVlXpuUfELC62CuxM1iHcRe51f2W1FDy04Ai4KJkagKjx3XaqyfRKXw== is-number-object@^1.0.4: version "1.0.7" @@ -5472,6 +5565,11 @@ is-plain-object@^2.0.3, is-plain-object@^2.0.4: dependencies: isobject "^3.0.1" +is-plain-object@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344" + integrity sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q== + is-potential-custom-element-name@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5" @@ -5500,11 +5598,6 @@ is-retry-allowed@^2.2.0: resolved "https://registry.yarnpkg.com/is-retry-allowed/-/is-retry-allowed-2.2.0.tgz#88f34cbd236e043e71b6932d09b0c65fb7b4d71d" integrity sha512-XVm7LOeLpTW4jV19QSH38vkswxoLud8sQ57YwJVTPWdiaI9I8keEhGFpBlslyVsgdQy4Opg8QOLb8YRgsyZiQg== -is-set@^2.0.1, is-set@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/is-set/-/is-set-2.0.2.tgz#90755fa4c2562dc1c5d4024760d6119b94ca18ec" - integrity sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g== - is-shared-array-buffer@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz#8f259c573b60b6a32d4058a1a07430c0a7344c79" @@ -5536,16 +5629,12 @@ is-symbol@^1.0.2, is-symbol@^1.0.3: dependencies: has-symbols "^1.0.2" -is-typed-array@^1.1.10, is-typed-array@^1.1.3, is-typed-array@^1.1.9: - version "1.1.10" - resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.10.tgz#36a5b5cb4189b575d1a3e4b08536bfb485801e3f" - integrity sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A== +is-typed-array@^1.1.10, is-typed-array@^1.1.12, is-typed-array@^1.1.3, is-typed-array@^1.1.9: + version "1.1.12" + resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.12.tgz#d0bab5686ef4a76f7a73097b95470ab199c57d4a" + integrity sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg== dependencies: - available-typed-arrays "^1.0.5" - call-bind "^1.0.2" - for-each "^0.3.3" - gopd "^1.0.1" - has-tostringtag "^1.0.0" + which-typed-array "^1.1.11" is-typedarray@^1.0.0, is-typedarray@~1.0.0: version "1.0.0" @@ -5562,11 +5651,6 @@ is-utf8@^0.2.0: resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" integrity sha512-rMYPYvCzsXywIsldgLaSoPlw5PfoB/ssr7hY4pLfcodrA5M/eArza1a9VmTiNIBNMjOGr1Ow9mTyU2o69U6U9Q== -is-weakmap@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/is-weakmap/-/is-weakmap-2.0.1.tgz#5008b59bdc43b698201d18f62b37b2ca243e8cf2" - integrity sha512-NSBR4kH5oVj1Uwvv970ruUkCV7O1mzgVFO4/rev2cLRda9Tm9HrL70ZPut4rOHgY0FNrUu9BCbXA2sdQ+x0chA== - is-weakref@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz#9529f383a9338205e89765e0392efc2f100f06f2" @@ -5574,14 +5658,6 @@ is-weakref@^1.0.2: dependencies: call-bind "^1.0.2" -is-weakset@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/is-weakset/-/is-weakset-2.0.2.tgz#4569d67a747a1ce5a994dfd4ef6dcea76e7c0a1d" - integrity sha512-t2yVvttHkQktwnNNmBQ98AhENLdPUTDTE21uPqAQ0ARwQfGeQKRVS0NNurH7bTf7RrvcVn1OOge45CnBeHCSmg== - dependencies: - call-bind "^1.0.2" - get-intrinsic "^1.1.1" - is-windows@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" @@ -5653,12 +5729,12 @@ istanbul-lib-instrument@^5.0.4: semver "^6.3.0" istanbul-lib-report@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#7518fe52ea44de372f460a76b5ecda9ffb73d8a6" - integrity sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw== + version "3.0.1" + resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz#908305bac9a5bd175ac6a74489eafd0fc2445a7d" + integrity sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw== dependencies: istanbul-lib-coverage "^3.0.0" - make-dir "^3.0.0" + make-dir "^4.0.0" supports-color "^7.1.0" istanbul-lib-source-maps@^4.0.0: @@ -5671,9 +5747,9 @@ istanbul-lib-source-maps@^4.0.0: source-map "^0.6.1" istanbul-reports@^3.0.2: - version "3.1.5" - resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.5.tgz#cc9a6ab25cb25659810e4785ed9d9fb742578bae" - integrity sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w== + version "3.1.6" + resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.6.tgz#2544bcab4768154281a2f0870471902704ccaa1a" + integrity sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg== dependencies: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0" @@ -5748,15 +5824,15 @@ jest-diff@^26.0.0, jest-diff@^26.6.2: jest-get-type "^26.3.0" pretty-format "^26.6.2" -jest-diff@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-29.3.1.tgz#d8215b72fed8f1e647aed2cae6c752a89e757527" - integrity sha512-vU8vyiO7568tmin2lA3r2DP8oRvzhvRcD4DjpXc6uGveQodyk7CKLhQlCSiwgx3g0pFaE88/KLZ0yaTWMc4Uiw== +jest-diff@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-29.7.0.tgz#017934a66ebb7ecf6f205e84699be10afd70458a" + integrity sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw== dependencies: chalk "^4.0.0" - diff-sequences "^29.3.1" - jest-get-type "^29.2.0" - pretty-format "^29.3.1" + diff-sequences "^29.6.3" + jest-get-type "^29.6.3" + pretty-format "^29.7.0" jest-docblock@^26.0.0: version "26.0.0" @@ -5806,10 +5882,10 @@ jest-get-type@^26.3.0: resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-26.3.0.tgz#e97dc3c3f53c2b406ca7afaed4493b1d099199e0" integrity sha512-TpfaviN1R2pQWkIihlfEanwOXK0zcxrKEE4MlU6Tn7keoXdN6/3gK/xl0yEh8DOunn5pOVGKf8hB4R9gVh04ig== -jest-get-type@^29.2.0: - version "29.2.0" - resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-29.2.0.tgz#726646f927ef61d583a3b3adb1ab13f3a5036408" - integrity sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA== +jest-get-type@^29.6.3: + version "29.6.3" + resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-29.6.3.tgz#36f499fdcea197c1045a127319c0481723908fd1" + integrity sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw== jest-haste-map@^26.6.2: version "26.6.2" @@ -5874,15 +5950,15 @@ jest-matcher-utils@^26.6.2: jest-get-type "^26.3.0" pretty-format "^26.6.2" -jest-matcher-utils@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-29.3.1.tgz#6e7f53512f80e817dfa148672bd2d5d04914a572" - integrity sha512-fkRMZUAScup3txIKfMe3AIZZmPEjWEdsPJFK3AIy5qRohWqQFg1qrmKfYXR9qEkNc7OdAu2N4KPHibEmy4HPeQ== +jest-matcher-utils@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz#ae8fec79ff249fd592ce80e3ee474e83a6c44f12" + integrity sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g== dependencies: chalk "^4.0.0" - jest-diff "^29.3.1" - jest-get-type "^29.2.0" - pretty-format "^29.3.1" + jest-diff "^29.7.0" + jest-get-type "^29.6.3" + pretty-format "^29.7.0" jest-message-util@^26.6.2: version "26.6.2" @@ -5899,18 +5975,18 @@ jest-message-util@^26.6.2: slash "^3.0.0" stack-utils "^2.0.2" -jest-message-util@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-29.3.1.tgz#37bc5c468dfe5120712053dd03faf0f053bd6adb" - integrity sha512-lMJTbgNcDm5z+6KDxWtqOFWlGQxD6XaYwBqHR8kmpkP+WWWG90I35kdtQHY67Ay5CSuydkTBbJG+tH9JShFCyA== +jest-message-util@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-29.7.0.tgz#8bc392e204e95dfe7564abbe72a404e28e51f7f3" + integrity sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w== dependencies: "@babel/code-frame" "^7.12.13" - "@jest/types" "^29.3.1" + "@jest/types" "^29.6.3" "@types/stack-utils" "^2.0.0" chalk "^4.0.0" graceful-fs "^4.2.9" micromatch "^4.0.4" - pretty-format "^29.3.1" + pretty-format "^29.7.0" slash "^3.0.0" stack-utils "^2.0.3" @@ -6056,12 +6132,12 @@ jest-util@^26.1.0, jest-util@^26.6.2: is-ci "^2.0.0" micromatch "^4.0.2" -jest-util@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.3.1.tgz#1dda51e378bbcb7e3bc9d8ab651445591ed373e1" - integrity sha512-7YOVZaiX7RJLv76ZfHt4nbNEzzTRiMW/IiOG7ZOKmTXmoGBxUDefgMAxQubu6WPVqP5zSzAdZG0FfLcC7HOIFQ== +jest-util@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.7.0.tgz#23c2b62bfb22be82b44de98055802ff3710fc0bc" + integrity sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA== dependencies: - "@jest/types" "^29.3.1" + "@jest/types" "^29.6.3" "@types/node" "*" chalk "^4.0.0" ci-info "^3.2.0" @@ -6126,9 +6202,9 @@ jmespath@0.16.0: integrity sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw== js-base64@^3.6.1: - version "3.7.4" - resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-3.7.4.tgz#af95b20f23efc8034afd2d1cc5b9d0adf7419037" - integrity sha512-wpM/wi20Tl+3ifTyi0RdDckS4YTD4Lf953mBRrpG8547T7hInHNPEj8+ck4gB8VDcGyeAWFK++Wb/fU1BeavKQ== + version "3.7.5" + resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-3.7.5.tgz#21e24cf6b886f76d6f5f165bfcd69cc55b9e3fca" + integrity sha512-3MEt5DTINKqfScXKfJFrRbxkrnk2AxPWGBL/ycjz4dK8iqiSJ06UxD8jh8xuh6p10TX4t2+7FsBYVxxQbMg+qA== js-levenshtein@^1.1.6: version "1.1.6" @@ -6255,12 +6331,12 @@ json-stringify-safe@~5.0.1: resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" integrity sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA== -json5@2.x, json5@^2.1.2, json5@^2.2.2: +json5@2.x, json5@^2.1.2, json5@^2.2.3: version "2.2.3" resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== -json5@^1.0.1: +json5@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.2.tgz#63d98d60f21b313b77c4d6da18bfa69d80e1d593" integrity sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA== @@ -6311,9 +6387,9 @@ jsprim@^1.2.2: verror "1.10.0" keccak@^3.0.0: - version "3.0.3" - resolved "https://registry.yarnpkg.com/keccak/-/keccak-3.0.3.tgz#4bc35ad917be1ef54ff246f904c2bbbf9ac61276" - integrity sha512-JZrLIAJWuZxKbCilMpNz5Vj7Vtb4scDG3dMXLOsbzBmQGyjwE61BbW7bJkfKKCShXiQZt3T6sBgALRtmd+nZaQ== + version "3.0.4" + resolved "https://registry.yarnpkg.com/keccak/-/keccak-3.0.4.tgz#edc09b89e633c0549da444432ecf062ffadee86d" + integrity sha512-3vKuW0jV8J3XNTzvfyicFR5qvxrSAGl7KIhvgOu5cmWwM7tZRj3fMbj/pfIf4be7aznbc+prBWGjywox/g2Y6Q== dependencies: node-addon-api "^2.0.0" node-gyp-build "^4.2.0" @@ -6326,10 +6402,10 @@ keyv@^3.0.0: dependencies: json-buffer "3.0.0" -keyv@^4.0.0: - version "4.5.2" - resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.2.tgz#0e310ce73bf7851ec702f2eaf46ec4e3805cce56" - integrity sha512-5MHbFaKn8cNSmVW7BYnijeAVlE4cYA/SVkifVgrh7yotnfhKmjuXpDKjrABLnT0SfHWV21P8ow07OGfRrNDg8g== +keyv@^4.0.0, keyv@^4.5.3: + version "4.5.3" + resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.3.tgz#00873d2b046df737963157bd04f294ca818c9c25" + integrity sha512-QCiSav9WaX1PgETJ+SpNnx2PRRapJ/oRSXM4VO5OGYGSjrxbKPVFVhB3l2OCbLCk329N8qyAtsJjSjvVBWzEug== dependencies: json-buffer "3.0.1" @@ -6396,14 +6472,6 @@ levn@^0.4.1: prelude-ls "^1.2.1" type-check "~0.4.0" -levn@~0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" - integrity sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA== - dependencies: - prelude-ls "~1.1.2" - type-check "~0.3.2" - lines-and-columns@^1.1.6: version "1.2.4" resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" @@ -6496,17 +6564,47 @@ lodash.assign@^4.0.3, lodash.assign@^4.0.6: resolved "https://registry.yarnpkg.com/lodash.assign/-/lodash.assign-4.2.0.tgz#0d99f3ccd7a6d261d19bdaeb9245005d285808e7" integrity sha512-hFuH8TY+Yji7Eja3mGiuAxBqLagejScbG8GbG0j6o9vzn0YL14My+ktnqtZgFTosKymC9/44wP6s7xyuLfnClw== +lodash.debounce@^4.0.8: + version "4.0.8" + resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" + integrity sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow== + +lodash.escape@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/lodash.escape/-/lodash.escape-4.0.1.tgz#c9044690c21e04294beaa517712fded1fa88de98" + integrity sha512-nXEOnb/jK9g0DYMr1/Xvq6l5xMD7GDG55+GSYIYmS0G4tBk/hURD4JR9WCavs04t33WmJx9kCyp9vJ+mr4BOUw== + +lodash.flatten@^4.4.0: + version "4.4.0" + resolved "https://registry.yarnpkg.com/lodash.flatten/-/lodash.flatten-4.4.0.tgz#f31c22225a9632d2bbf8e4addbef240aa765a61f" + integrity sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g== + +lodash.invokemap@^4.6.0: + version "4.6.0" + resolved "https://registry.yarnpkg.com/lodash.invokemap/-/lodash.invokemap-4.6.0.tgz#1748cda5d8b0ef8369c4eb3ec54c21feba1f2d62" + integrity sha512-CfkycNtMqgUlfjfdh2BhKO/ZXrP8ePOX5lEU/g0R3ItJcnuxWDwokMGKx1hWcfOikmyOVx6X9IwWnDGlgKl61w== + lodash.merge@^4.6.2: version "4.6.2" resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== +lodash.pullall@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/lodash.pullall/-/lodash.pullall-4.2.0.tgz#9d98b8518b7c965b0fae4099bd9fb7df8bbf38ba" + integrity sha512-VhqxBKH0ZxPpLhiu68YD1KnHmbhQJQctcipvmFnqIBDYzcIHzf3Zpu0tpeOKtR4x76p9yohc506eGdOjTmyIBg== + lodash.truncate@^4.4.2: version "4.4.2" resolved "https://registry.yarnpkg.com/lodash.truncate/-/lodash.truncate-4.4.2.tgz#5a350da0b1113b837ecfffd5812cbe58d6eae193" integrity sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw== -lodash@4.x, lodash@^4.17.15, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.7.0: +lodash.uniqby@^4.7.0: + version "4.7.0" + resolved "https://registry.yarnpkg.com/lodash.uniqby/-/lodash.uniqby-4.7.0.tgz#d99c07a669e9e6d24e1362dfe266c67616af1302" + integrity sha512-e/zcLx6CSbmaEgFHCA7BnoQKyCtKMxnuWrJygbwPs/AIn+IMKl66L8/s+wBUn5LRw2pZx3bUHibiV1b6aTWIww== + +lodash@4.x, lodash@^4.17.15, lodash@^4.17.21, lodash@^4.7.0: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -6570,12 +6668,12 @@ make-dir@^1.0.0: dependencies: pify "^3.0.0" -make-dir@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" - integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== +make-dir@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-4.0.0.tgz#c3c2307a771277cd9638305f915c29ae741b614e" + integrity sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw== dependencies: - semver "^6.0.0" + semver "^7.5.3" make-error@1.x, make-error@^1.1.1: version "1.3.6" @@ -6609,9 +6707,9 @@ map-visit@^1.0.0: object-visit "^1.0.0" marked@^4.0.10: - version "4.2.12" - resolved "https://registry.yarnpkg.com/marked/-/marked-4.2.12.tgz#d69a64e21d71b06250da995dcd065c11083bebb5" - integrity sha512-yr8hSKa3Fv4D3jdZmtMMPghgVt6TWbk86WQaWhDloQjRSQhMMYCAro7jP7VDJrjjdV8pxVxMssXS8B8Y5DZ5aw== + version "4.3.0" + resolved "https://registry.yarnpkg.com/marked/-/marked-4.3.0.tgz#796362821b019f734054582038b116481b456cf3" + integrity sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A== md5.js@^1.3.4: version "1.3.5" @@ -6669,6 +6767,11 @@ methods@~1.1.2: resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" integrity sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w== +micro-ftch@^0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/micro-ftch/-/micro-ftch-0.3.1.tgz#6cb83388de4c1f279a034fb0cf96dfc050853c5f" + integrity sha512-/0LLxhzP0tfiR5hcQebtudP56gUurs2CLkGarnCiB/OqEyUFQ6U3paQi/tgLv0hBJYt2rnr9MNpxz4fiiugstg== + micromatch@^3.1.4: version "3.1.10" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" @@ -6766,9 +6869,9 @@ minimatch@^3.0.0, minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2: brace-expansion "^1.1.7" minimist@^1.1.1, minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6: - version "1.2.7" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.7.tgz#daa1c4d91f507390437c6a8bc01078e7000c4d18" - integrity sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g== + version "1.2.8" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" + integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== minipass@^2.6.0, minipass@^2.9.0: version "2.9.0" @@ -6801,9 +6904,9 @@ mkdirp-promise@^5.0.1: mkdirp "*" mkdirp@*: - version "2.1.3" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-2.1.3.tgz#b083ff37be046fd3d6552468c1f0ff44c1545d1f" - integrity sha512-sjAkg21peAG9HS+Dkx7hlG9Ztx7HLeKnvB3NQRcu/mltCVmvkF0pisbiTSfDVYTT86XEfZrTUosLdZLStquZUw== + version "3.0.1" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-3.0.1.tgz#e44e4c5607fb279c168241713cc6e0fea9adcb50" + integrity sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg== mkdirp@1.x: version "1.0.4" @@ -6913,9 +7016,9 @@ mute-stream@0.0.8: integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== nan@^2.14.0: - version "2.17.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb" - integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ== + version "2.18.0" + resolved "https://registry.yarnpkg.com/nan/-/nan-2.18.0.tgz#26a6faae7ffbeb293a39660e88a76b82e30b7554" + integrity sha512-W7tfG7vMOGtD30sHoZSSc/JVYiyDPEyQVso/Zz+/uQd0B0L46gtC+pHha5FFMRpil6fm/AoEcRWyOVi4+E/f8w== nano-json-stream-parser@^0.1.2: version "0.1.2" @@ -6958,7 +7061,7 @@ negotiator@0.6.3: resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== -neo-async@^2.6.0, neo-async@^2.6.2: +neo-async@^2.6.2: version "2.6.2" resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== @@ -6978,24 +7081,17 @@ node-addon-api@^2.0.0: resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-2.0.2.tgz#432cfa82962ce494b132e9d72a15b29f71ff5d32" integrity sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA== -node-fetch@2.6.7: - version "2.6.7" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" - integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== - dependencies: - whatwg-url "^5.0.0" - -node-fetch@^2.6.7: - version "2.6.8" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.8.tgz#a68d30b162bc1d8fd71a367e81b997e1f4d4937e" - integrity sha512-RZ6dBYuj8dRSfxpUSu+NsdF1dpPpluJxwOp+6IoDp/sH2QNDSvurYsAa+F1WxY2RjA1iP93xhcsUoYbF2XBqVg== +node-fetch@^2.6.12, node-fetch@^2.6.7: + version "2.7.0" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" + integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== dependencies: whatwg-url "^5.0.0" node-gyp-build@^4.2.0, node-gyp-build@^4.3.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.6.0.tgz#0c52e4cbf54bbd28b709820ef7b6a3c2d6209055" - integrity sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ== + version "4.6.1" + resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.6.1.tgz#24b6d075e5e391b8d5539d98c7fc5c210cac8a3e" + integrity sha512-24vnklJmyRS8ViBNI8KbtK/r/DmXQMRiOMXTNz2nrTnAYUwjmEEbnnpB/+kt+yWRv73bPsSPRFddrcIbAxSiMQ== node-int64@^0.4.0: version "0.4.0" @@ -7014,15 +7110,15 @@ node-notifier@^8.0.0: uuid "^8.3.0" which "^2.0.2" -node-releases@^2.0.6: - version "2.0.8" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.8.tgz#0f349cdc8fcfa39a92ac0be9bc48b7706292b9ae" - integrity sha512-dFSmB8fFHEH/s81Xi+Y/15DQY6VHW81nXRj86EMSL3lmuTmK1e+aT4wrFCkTbm+gSwkw4KpX+rT/pMM2c1mF+A== +node-releases@^2.0.13: + version "2.0.13" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.13.tgz#d5ed1627c23e3461e819b02e57b75e4899b1c81d" + integrity sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ== nodemon@^2.0.7: - version "2.0.20" - resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-2.0.20.tgz#e3537de768a492e8d74da5c5813cb0c7486fc701" - integrity sha512-Km2mWHKKY5GzRg6i1j5OxOHQtuvVsgskLfigG25yTtbyfRGn/GNvIbRyOf1PSCKJ2aT/58TiuUsuOU5UToVViw== + version "2.0.22" + resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-2.0.22.tgz#182c45c3a78da486f673d6c1702e00728daf5258" + integrity sha512-B8YqaKMmyuCO7BowF1Z1/mkPqLk6cs/l63Ojtd6otKjMx47Dq1utxfRxcavH1I7VSaL8n5BUaoutadnsX3AAVQ== dependencies: chokidar "^3.5.2" debug "^3.2.7" @@ -7102,9 +7198,9 @@ number-to-bn@1.7.0: strip-hex-prefix "1.0.0" nwsapi@^2.2.0: - version "2.2.2" - resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.2.tgz#e5418863e7905df67d51ec95938d67bf801f0bb0" - integrity sha512-90yv+6538zuvUMnN+zCr8LuV6bPFdq50304114vJYJ8RDyK8D5O9Phpbd6SZWgI7PwzmmfN1upeOJlvybDSgCw== + version "2.2.7" + resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.7.tgz#738e0707d3128cb750dddcfe90e4610482df0f30" + integrity sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ== oauth-sign@~0.9.0: version "0.9.0" @@ -7125,19 +7221,11 @@ object-copy@^0.1.0: define-property "^0.2.5" kind-of "^3.0.3" -object-inspect@^1.12.2, object-inspect@^1.9.0: +object-inspect@^1.12.3, object-inspect@^1.9.0: version "1.12.3" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.3.tgz#ba62dffd67ee256c8c086dfae69e016cd1f198b9" integrity sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g== -object-is@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.1.5.tgz#b9deeaa5fc7f1846a0faecdceec138e5778f53ac" - integrity sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - object-keys@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" @@ -7160,6 +7248,25 @@ object.assign@^4.1.4: has-symbols "^1.0.3" object-keys "^1.1.1" +object.fromentries@^2.0.6: + version "2.0.7" + resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.7.tgz#71e95f441e9a0ea6baf682ecaaf37fa2a8d7e616" + integrity sha512-UPbPHML6sL8PI/mOqPwsH4G6iyXcCGzLin8KvEPenOZN5lpCNBZZQ+V62vdjB1mQHrmqGQt5/OJzemUA+KJmEA== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + +object.groupby@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/object.groupby/-/object.groupby-1.0.1.tgz#d41d9f3c8d6c778d9cbac86b4ee9f5af103152ee" + integrity sha512-HqaQtqLnp/8Bn4GL16cj+CUYbnpe1bh0TtEaWvybszDG4tgxCJuRpV8VGuvNaI1fAnI4lUJzDG55MXcOH4JZcQ== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + get-intrinsic "^1.2.1" + object.pick@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" @@ -7168,13 +7275,13 @@ object.pick@^1.3.0: isobject "^3.0.1" object.values@^1.1.6: - version "1.1.6" - resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.6.tgz#4abbaa71eba47d63589d402856f908243eea9b1d" - integrity sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw== + version "1.1.7" + resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.7.tgz#617ed13272e7e1071b43973aa1655d9291b8442a" + integrity sha512-aU6xnDFYT3x17e/f0IiiwlGPTy2jzMySGfUB4fq6z7CV8l85CWHDk5ErhyhpfDHhrOMwGFhSQkhMGHaIotA6Ng== dependencies: call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" + define-properties "^1.2.0" + es-abstract "^1.22.1" oboe@2.1.4: version "2.1.4" @@ -7221,29 +7328,17 @@ opener@^1.5.2: resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.2.tgz#5d37e1f35077b9dcac4301372271afdeb2a13598" integrity sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A== -optionator@^0.8.1: - version "0.8.3" - resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495" - integrity sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA== - dependencies: - deep-is "~0.1.3" - fast-levenshtein "~2.0.6" - levn "~0.3.0" - prelude-ls "~1.1.2" - type-check "~0.3.2" - word-wrap "~1.2.3" - optionator@^0.9.1: - version "0.9.1" - resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.1.tgz#4f236a6373dae0566a6d43e1326674f50c291499" - integrity sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw== + version "0.9.3" + resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.3.tgz#007397d44ed1872fdc6ed31360190f81814e2c64" + integrity sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg== dependencies: + "@aashutoshrathi/word-wrap" "^1.2.3" deep-is "^0.1.3" fast-levenshtein "^2.0.6" levn "^0.4.1" prelude-ls "^1.2.1" type-check "^0.4.0" - word-wrap "^1.2.3" ora@^5.4.1: version "5.4.1" @@ -7287,9 +7382,9 @@ os-tmpdir@~1.0.2: integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g== outvariant@^1.2.1, outvariant@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/outvariant/-/outvariant-1.3.0.tgz#c39723b1d2cba729c930b74bf962317a81b9b1c9" - integrity sha512-yeWM9k6UPfG/nzxdaPlJkB2p08hCg4xP6Lx99F+vP8YF7xyZVfTmJjrrNalkmzudD4WFvNLVudQikqUmF8zhVQ== + version "1.4.0" + resolved "https://registry.yarnpkg.com/outvariant/-/outvariant-1.4.0.tgz#e742e4bda77692da3eca698ef5bfac62d9fba06e" + integrity sha512-AlWY719RF02ujitly7Kk/0QlV+pXGFDHrHf9O2OKqyqgBieaPOIeuSkL8sRK6j2WK+/ZAURq2kZsY0d8JapUiw== p-cancelable@^0.3.0: version "0.3.0" @@ -7560,9 +7655,9 @@ pinkie@^2.0.0: integrity sha512-MnUuEycAemtSaeFSjXKW/aroV7akBbY+Sv+RkyqFjgAe73F+MR0TBWKBRDkmfWq/HiFmdavfZ1G7h4SPZXaCSg== pirates@^4.0.1: - version "4.0.5" - resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.5.tgz#feec352ea5c3268fb23a37c702ab1699f35a5f3b" - integrity sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ== + version "4.0.6" + resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.6.tgz#3018ae32ecfcff6c29ba2267cbf21166ac1f36b9" + integrity sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg== pkg-dir@^4.2.0: version "4.2.0" @@ -7595,11 +7690,6 @@ prelude-ls@^1.2.1: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== -prelude-ls@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" - integrity sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w== - prepend-http@^1.0.1: version "1.0.4" resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc" @@ -7618,9 +7708,9 @@ prettier-linter-helpers@^1.0.0: fast-diff "^1.1.2" prettier@^2.0.5, prettier@^2.2.1: - version "2.8.3" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.3.tgz#ab697b1d3dd46fb4626fbe2f543afe0cc98d8632" - integrity sha512-tJ/oJ4amDihPoufT5sM0Z1SKEuKay8LfVAMlbbhnnkvt6BUserZylqo2PN+p9KeljLr0OHa2rXHU1T8reeoTrw== + version "2.8.8" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da" + integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q== pretty-format@^26.0.0, pretty-format@^26.6.2: version "26.6.2" @@ -7632,12 +7722,12 @@ pretty-format@^26.0.0, pretty-format@^26.6.2: ansi-styles "^4.0.0" react-is "^17.0.1" -pretty-format@^29.0.0, pretty-format@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.3.1.tgz#1841cac822b02b4da8971dacb03e8a871b4722da" - integrity sha512-FyLnmb1cYJV8biEIiRyzRFvs2lry7PPIvOqKVe1GCUEYg4YGmlx1qG9EJNMxArYm7piII4qb8UV1Pncq5dxmcg== +pretty-format@^29.0.0, pretty-format@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.7.0.tgz#ca42c758310f365bfa71a0bda0a807160b776812" + integrity sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ== dependencies: - "@jest/schemas" "^29.0.0" + "@jest/schemas" "^29.6.3" ansi-styles "^5.0.0" react-is "^18.0.0" @@ -7718,9 +7808,9 @@ punycode@2.1.0: integrity sha512-Yxz2kRwT90aPiWEMHVYnEf4+rhwF1tBmmZ4KepCP+Wkium9JxtWnUm1nqGwpiAHr/tnTSeHqr3wb++jgSkXjhA== punycode@^2.1.0, punycode@^2.1.1: - version "2.2.0" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.2.0.tgz#2092cc57cd2582c38e4e7e8bb869dc8d3148bc74" - integrity sha512-LN6QV1IJ9ZhxWTNdktaPClrNfp8xdSAYS0Zk2ddX7XsXZAxckMHPCBcHRo0cTcEIgYPRiGEkmji3Idkh2yFtYw== + version "2.3.0" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.0.tgz#f67fa67c94da8f4d0cfff981aee4118064199b8f" + integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA== qs@6.11.0: version "6.11.0" @@ -7798,6 +7888,16 @@ raw-body@2.5.1: iconv-lite "0.4.24" unpipe "1.0.0" +raw-body@2.5.2: + version "2.5.2" + resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.2.tgz#99febd83b90e08975087e8f1f9419a149366b68a" + integrity sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA== + dependencies: + bytes "3.1.2" + http-errors "2.0.0" + iconv-lite "0.4.24" + unpipe "1.0.0" + react-is@^17.0.1: version "17.0.2" resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" @@ -7845,9 +7945,9 @@ read-pkg@^5.2.0: type-fest "^0.6.0" readable-stream@^2.0.1, readable-stream@^2.3.0, readable-stream@^2.3.5: - version "2.3.7" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" - integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== + version "2.3.8" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.8.tgz#91125e8042bba1b9887f49345f6277027ce8be9b" + integrity sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA== dependencies: core-util-is "~1.0.0" inherits "~2.0.3" @@ -7858,9 +7958,9 @@ readable-stream@^2.0.1, readable-stream@^2.3.0, readable-stream@^2.3.5: util-deprecate "~1.0.1" readable-stream@^3.4.0, readable-stream@^3.5.0, readable-stream@^3.6.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" - integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== + version "3.6.2" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" + integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== dependencies: inherits "^2.0.3" string_decoder "^1.1.1" @@ -7893,10 +7993,10 @@ reflect-metadata@^0.1.13: resolved "https://registry.yarnpkg.com/reflect-metadata/-/reflect-metadata-0.1.13.tgz#67ae3ca57c972a2aa1642b10fe363fe32d49dc08" integrity sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg== -regenerator-runtime@^0.13.11: - version "0.13.11" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz#f6dca3e7ceec20590d07ada785636a90cdca17f9" - integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg== +regenerator-runtime@^0.14.0: + version "0.14.0" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.0.tgz#5e19d68eb12d486f797e15a3c6a918f7cec5eb45" + integrity sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA== regex-not@^1.0.0, regex-not@^1.0.2: version "1.0.2" @@ -7906,14 +8006,14 @@ regex-not@^1.0.0, regex-not@^1.0.2: extend-shallow "^3.0.2" safe-regex "^1.1.0" -regexp.prototype.flags@^1.4.3: - version "1.4.3" - resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz#87cab30f80f66660181a3bb7bf5981a872b367ac" - integrity sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA== +regexp.prototype.flags@^1.5.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.1.tgz#90ce989138db209f81492edd734183ce99f9677e" + integrity sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg== dependencies: call-bind "^1.0.2" - define-properties "^1.1.3" - functions-have-names "^1.2.2" + define-properties "^1.2.0" + set-function-name "^2.0.0" regexpp@^3.1.0: version "3.2.0" @@ -8018,12 +8118,12 @@ resolve-url@^0.2.1: resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" integrity sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg== -resolve@^1.10.0, resolve@^1.18.1, resolve@^1.22.1, resolve@^1.9.0: - version "1.22.1" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177" - integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== +resolve@^1.10.0, resolve@^1.18.1, resolve@^1.22.4, resolve@^1.9.0: + version "1.22.6" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.6.tgz#dd209739eca3aef739c626fea1b4f3c506195362" + integrity sha512-njhxM7mV12JfufShqGy3Rz8j11RPdLy4xi15UurGJeoHLfJpVXKdh3ueuOqbYUcDZnffr6X739JBo5LzyahEsw== dependencies: - is-core-module "^2.9.0" + is-core-module "^2.13.0" path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" @@ -8118,12 +8218,22 @@ rxjs@^6.6.3: tslib "^1.9.0" rxjs@^7.5.1, rxjs@^7.5.5: - version "7.8.0" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.0.tgz#90a938862a82888ff4c7359811a595e14e1e09a4" - integrity sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg== + version "7.8.1" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.1.tgz#6f6f3d99ea8044291efd92e7c7fcf562c4057543" + integrity sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg== dependencies: tslib "^2.1.0" +safe-array-concat@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/safe-array-concat/-/safe-array-concat-1.0.1.tgz#91686a63ce3adbea14d61b14c99572a8ff84754c" + integrity sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.2.1" + has-symbols "^1.0.3" + isarray "^2.0.5" + safe-buffer@5.2.1, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@^5.2.1, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" @@ -8187,10 +8297,10 @@ saxes@^5.0.1: dependencies: xmlchars "^2.2.0" -schema-utils@^3.1.0, schema-utils@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.1.1.tgz#bc74c4b6b6995c1d88f76a8b77bea7219e0c8281" - integrity sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw== +schema-utils@^3.1.1, schema-utils@^3.2.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.3.0.tgz#f50a88877c3c01652a15b622ae9e9795df7a60fe" + integrity sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg== dependencies: "@types/json-schema" "^7.0.8" ajv "^6.12.5" @@ -8243,26 +8353,26 @@ semver-regex@^3.1.2: integrity sha512-6IiqeZNgq01qGf0TId0t3NvKzSvUsjcpdEO3AQNeIjR6A2+ckTnQlDpl4qu1bjRv0RzN3FP9hzFmws3lKqRWkA== "semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.5.0, semver@^5.7.1: - version "5.7.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" - integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== + version "5.7.2" + resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8" + integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g== semver@6.2.0: version "6.2.0" resolved "https://registry.yarnpkg.com/semver/-/semver-6.2.0.tgz#4d813d9590aaf8a9192693d6c85b9344de5901db" integrity sha512-jdFC1VdUGT/2Scgbimf7FSx9iJLXoqfglSF+gJeuNWVpiE37OIbc1jywR/GJyFdz3mnkz2/id0L0J/cr0izR5A== -semver@7.x, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7: - version "7.3.8" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" - integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== +semver@7.x, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.5.3: + version "7.5.4" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" + integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== dependencies: lru-cache "^6.0.0" -semver@^6.0.0, semver@^6.3.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" - integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== +semver@^6.3.0, semver@^6.3.1: + version "6.3.1" + resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" + integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== semver@~7.0.0: version "7.0.0" @@ -8288,7 +8398,7 @@ send@0.18.0: range-parser "~1.2.1" statuses "2.0.1" -serialize-javascript@^6.0.0: +serialize-javascript@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.1.tgz#b206efb27c3da0b0ab6b52f48d170b7996458e5c" integrity sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w== @@ -8322,9 +8432,18 @@ set-blocking@^2.0.0: integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== set-cookie-parser@^2.4.6: - version "2.5.1" - resolved "https://registry.yarnpkg.com/set-cookie-parser/-/set-cookie-parser-2.5.1.tgz#ddd3e9a566b0e8e0862aca974a6ac0e01349430b" - integrity sha512-1jeBGaKNGdEq4FgIrORu/N570dwoPYio8lSoYLWmX7sQ//0JY08Xh9o5pBcgmHQ/MbsYp/aZnOe1s1lIsbLprQ== + version "2.6.0" + resolved "https://registry.yarnpkg.com/set-cookie-parser/-/set-cookie-parser-2.6.0.tgz#131921e50f62ff1a66a461d7d62d7b21d5d15a51" + integrity sha512-RVnVQxTXuerk653XfuliOxBP81Sf0+qfQE73LIYKcyMYHG94AuH0kgrQpRDuTZnSmjpysHmzxJXKNfa6PjFhyQ== + +set-function-name@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/set-function-name/-/set-function-name-2.0.1.tgz#12ce38b7954310b9f61faa12701620a0c882793a" + integrity sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA== + dependencies: + define-data-property "^1.0.1" + functions-have-names "^1.2.3" + has-property-descriptors "^1.0.0" set-value@^2.0.0, set-value@^2.0.1: version "2.0.1" @@ -8439,14 +8558,14 @@ simple-update-notifier@^1.0.7: dependencies: semver "~7.0.0" -sirv@^1.0.7: - version "1.0.19" - resolved "https://registry.yarnpkg.com/sirv/-/sirv-1.0.19.tgz#1d73979b38c7fe91fcba49c85280daa9c2363b49" - integrity sha512-JuLThK3TnZG1TAKDwNIqNq6QA2afLOCcm+iE8D1Kj3GA40pSPsxQjjJl0J8X3tsR7T+CP1GavpzLwYkgVLWrZQ== +sirv@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/sirv/-/sirv-2.0.3.tgz#ca5868b87205a74bef62a469ed0296abceccd446" + integrity sha512-O9jm9BsID1P+0HOi81VpXPoDxYP374pkOLzACAoyUQ/3OUVndNpsz6wMnY2z+yOxzbllCKZrM+9QrWsv4THnyA== dependencies: "@polka/url" "^1.0.0-next.20" mrmime "^1.0.0" - totalist "^1.0.0" + totalist "^3.0.0" sisteransi@^1.0.5: version "1.0.5" @@ -8575,9 +8694,9 @@ spawn-command@^0.0.2-1: integrity sha512-n98l9E2RMSJ9ON1AKisHzz7V42VDiBQGY6PB1BwRglz99wpVsSuGzQ+jOi6lFXBGVTCrRpltvjm+/XA+tpeJrg== spdx-correct@^3.0.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.1.1.tgz#dece81ac9c1e6713e5f7d1b6f17d468fa53d89a9" - integrity sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w== + version "3.2.0" + resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.2.0.tgz#4f5ab0668f0059e34f9c00dce331784a12de4e9c" + integrity sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA== dependencies: spdx-expression-parse "^3.0.0" spdx-license-ids "^3.0.0" @@ -8596,9 +8715,9 @@ spdx-expression-parse@^3.0.0: spdx-license-ids "^3.0.0" spdx-license-ids@^3.0.0: - version "3.0.12" - resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz#69077835abe2710b65f03969898b6637b505a779" - integrity sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA== + version "3.0.15" + resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.15.tgz#142460aabaca062bc7cd4cc87b7d50725ed6a4ba" + integrity sha512-lpT8hSQp9jAKp9mhtBU4Xjon8LPGBvLIuBiSVhMEtmLecTh2mO0tlqrAMp47tBXzMr13NJMQ2lf7RpQGLJ3HsQ== split-string@^3.0.1, split-string@^3.0.2: version "3.1.0" @@ -8647,13 +8766,6 @@ statuses@2.0.1: resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== -stop-iteration-iterator@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/stop-iteration-iterator/-/stop-iteration-iterator-1.0.0.tgz#6a60be0b4ee757d1ed5254858ec66b10c49285e4" - integrity sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ== - dependencies: - internal-slot "^1.0.4" - stream-browserify@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-3.0.0.tgz#22b0a2850cdf6503e73085da1fc7b7d0c2122f2f" @@ -8714,23 +8826,32 @@ string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.1" -string.prototype.trimend@^1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz#c4a27fa026d979d79c04f17397f250a462944533" - integrity sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ== +string.prototype.trim@^1.2.8: + version "1.2.8" + resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.2.8.tgz#f9ac6f8af4bd55ddfa8895e6aea92a96395393bd" + integrity sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ== dependencies: call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" + define-properties "^1.2.0" + es-abstract "^1.22.1" -string.prototype.trimstart@^1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz#e90ab66aa8e4007d92ef591bbf3cd422c56bdcf4" - integrity sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA== +string.prototype.trimend@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.7.tgz#1bb3afc5008661d73e2dc015cd4853732d6c471e" + integrity sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA== dependencies: call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" + define-properties "^1.2.0" + es-abstract "^1.22.1" + +string.prototype.trimstart@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz#d4cdb44b83a4737ffbac2d406e405d43d0184298" + integrity sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" string_decoder@^1.1.1: version "1.3.0" @@ -8958,24 +9079,24 @@ terminal-link@^2.0.0: ansi-escapes "^4.2.1" supports-hyperlinks "^2.0.0" -terser-webpack-plugin@^5.1.3: - version "5.3.6" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.6.tgz#5590aec31aa3c6f771ce1b1acca60639eab3195c" - integrity sha512-kfLFk+PoLUQIbLmB1+PZDMRSZS99Mp+/MHqDNmMA6tOItzRt+Npe3E+fsMs5mfcM0wCtrrdU387UnV+vnSffXQ== +terser-webpack-plugin@^5.3.7: + version "5.3.9" + resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.9.tgz#832536999c51b46d468067f9e37662a3b96adfe1" + integrity sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA== dependencies: - "@jridgewell/trace-mapping" "^0.3.14" + "@jridgewell/trace-mapping" "^0.3.17" jest-worker "^27.4.5" schema-utils "^3.1.1" - serialize-javascript "^6.0.0" - terser "^5.14.1" + serialize-javascript "^6.0.1" + terser "^5.16.8" -terser@^5.14.1: - version "5.16.1" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.16.1.tgz#5af3bc3d0f24241c7fb2024199d5c461a1075880" - integrity sha512-xvQfyfA1ayT0qdK47zskQgRZeWLoOQ8JQ6mIgRGVNwZKdQMU+5FkCBjmv4QjcrTzyZquRw2FVtlJSRUmMKQslw== +terser@^5.16.8: + version "5.20.0" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.20.0.tgz#ea42aea62578703e33def47d5c5b93c49772423e" + integrity sha512-e56ETryaQDyebBwJIWYB2TT6f2EZ0fL0sW/JRXNMN26zZdKi2u/E/5my5lG6jNxym6qsrVXfFRmOdV42zlAgLQ== dependencies: - "@jridgewell/source-map" "^0.3.2" - acorn "^8.5.0" + "@jridgewell/source-map" "^0.3.3" + acorn "^8.8.2" commander "^2.20.0" source-map-support "~0.5.20" @@ -9077,10 +9198,10 @@ toidentifier@1.0.1: resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35" integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== -totalist@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/totalist/-/totalist-1.1.0.tgz#a4d65a3e546517701e3e5c37a47a70ac97fe56df" - integrity sha512-gduQwd1rOdDMGxFG1gEvhV88Oirdo2p+KjoYFU7k2g+i7n6AFFbDQ5kMPUsW0pNbfQsB/cwXvT1i4Bue0s9g5g== +totalist@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/totalist/-/totalist-3.0.1.tgz#ba3a3d600c915b1a97872348f79c127475f6acf8" + integrity sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ== touch@^3.1.0: version "3.1.0" @@ -9090,9 +9211,9 @@ touch@^3.1.0: nopt "~1.0.10" tough-cookie@^4.0.0: - version "4.1.2" - resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.1.2.tgz#e53e84b85f24e0b65dd526f46628db6c85f6b874" - integrity sha512-G9fqXWoYFZgTc2z8Q5zaHy/vJMjm+WV0AkAeHxVCQiEB1b+dGvWzFW6QV07cY5jQ5gRkeid2qIkzkxUnmoQZUQ== + version "4.1.3" + resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.1.3.tgz#97b9adb0728b42280aa3d814b6b999b2ff0318bf" + integrity sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw== dependencies: psl "^1.1.33" punycode "^2.1.1" @@ -9182,13 +9303,13 @@ tsconfig-paths-webpack-plugin@^3.3.0: enhanced-resolve "^5.7.0" tsconfig-paths "^3.9.0" -tsconfig-paths@^3.14.1, tsconfig-paths@^3.9.0: - version "3.14.1" - resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz#ba0734599e8ea36c862798e920bcf163277b137a" - integrity sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ== +tsconfig-paths@^3.14.2, tsconfig-paths@^3.9.0: + version "3.14.2" + resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz#6e32f1f79412decd261f92d633a9dc1cfa99f088" + integrity sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g== dependencies: "@types/json5" "^0.0.29" - json5 "^1.0.1" + json5 "^1.0.2" minimist "^1.2.6" strip-bom "^3.0.0" @@ -9198,9 +9319,9 @@ tslib@^1.8.1, tslib@^1.9.0: integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== tslib@^2.1.0: - version "2.4.1" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.1.tgz#0d0bfbaac2880b91e22df0768e55be9753a5b17e" - integrity sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA== + version "2.6.2" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" + integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== tsutils@^3.21.0: version "3.21.0" @@ -9228,13 +9349,6 @@ type-check@^0.4.0, type-check@~0.4.0: dependencies: prelude-ls "^1.2.1" -type-check@~0.3.2: - version "0.3.2" - resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" - integrity sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg== - dependencies: - prelude-ls "~1.1.2" - type-detect@4.0.8: version "4.0.8" resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" @@ -9283,6 +9397,36 @@ type@^2.7.2: resolved "https://registry.yarnpkg.com/type/-/type-2.7.2.tgz#2376a15a3a28b1efa0f5350dcf72d24df6ef98d0" integrity sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw== +typed-array-buffer@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/typed-array-buffer/-/typed-array-buffer-1.0.0.tgz#18de3e7ed7974b0a729d3feecb94338d1472cd60" + integrity sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.2.1" + is-typed-array "^1.1.10" + +typed-array-byte-length@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/typed-array-byte-length/-/typed-array-byte-length-1.0.0.tgz#d787a24a995711611fb2b87a4052799517b230d0" + integrity sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA== + dependencies: + call-bind "^1.0.2" + for-each "^0.3.3" + has-proto "^1.0.1" + is-typed-array "^1.1.10" + +typed-array-byte-offset@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/typed-array-byte-offset/-/typed-array-byte-offset-1.0.0.tgz#cbbe89b51fdef9cd6aaf07ad4707340abbc4ea0b" + integrity sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg== + dependencies: + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + for-each "^0.3.3" + has-proto "^1.0.1" + is-typed-array "^1.1.10" + typed-array-length@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/typed-array-length/-/typed-array-length-1.0.4.tgz#89d83785e5c4098bec72e08b319651f0eac9c1bb" @@ -9332,9 +9476,9 @@ typescript-json-schema@^0.50.1: yargs "^16.2.0" typescript@^4.1.5: - version "4.9.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.4.tgz#a2a3d2756c079abda241d75f149df9d561091e78" - integrity sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg== + version "4.9.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" + integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== typescript@~4.2.3: version "4.2.4" @@ -9417,10 +9561,10 @@ unset-value@^1.0.0: has-value "^0.3.1" isobject "^3.0.0" -update-browserslist-db@^1.0.9: - version "1.0.10" - resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz#0f54b876545726f17d00cd9a2561e6dade943ff3" - integrity sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ== +update-browserslist-db@^1.0.13: + version "1.0.13" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz#3c5e4f5c083661bd38ef64b6328c26ed6c8248c4" + integrity sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg== dependencies: escalade "^3.1.1" picocolors "^1.0.0" @@ -9499,7 +9643,7 @@ util-deprecate@^1.0.1, util-deprecate@~1.0.1: resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== -util@^0.12.0, util@^0.12.3, util@^0.12.4: +util@^0.12.3, util@^0.12.4, util@^0.12.5: version "0.12.5" resolved "https://registry.yarnpkg.com/util/-/util-0.12.5.tgz#5f17a6059b73db61a875668781a1c2b136bd6fbc" integrity sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA== @@ -9541,14 +9685,14 @@ uuid@^8.3.0: integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== uuid@^9.0.0: - version "9.0.0" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.0.tgz#592f550650024a38ceb0c562f2f6aa435761efb5" - integrity sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg== + version "9.0.1" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.1.tgz#e188d4c8853cc722220392c424cd637f32293f30" + integrity sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA== v8-compile-cache@^2.0.3: - version "2.3.0" - resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" - integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA== + version "2.4.0" + resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.4.0.tgz#cdada8bec61e15865f05d097c5f4fd30e94dc128" + integrity sha512-ocyWc3bAHBB/guyqJQVI5o4BZkPhznPYUG2ea80Gond/BgNWpap8TOmLSeeQG7bnh2KMISxskdADG59j7zruhw== v8-to-istanbul@^7.0.0: version "7.1.2" @@ -9641,6 +9785,15 @@ web-encoding@^1.1.5: optionalDependencies: "@zxing/text-encoding" "0.9.0" +web3-bzz@1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/web3-bzz/-/web3-bzz-1.10.2.tgz#482dfddcc5f65d5877b37cc20775725220b4ad87" + integrity sha512-vLOfDCj6198Qc7esDrCKeFA/M3ZLbowsaHQ0hIL4NmIHoq7lU8aSRTa5AI+JBh8cKN1gVryJsuW2ZCc5bM4I4Q== + dependencies: + "@types/node" "^12.12.6" + got "12.1.0" + swarm-js "^0.1.40" + web3-bzz@1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/web3-bzz/-/web3-bzz-1.2.1.tgz#c3bd1e8f0c02a13cd6d4e3c3e9e1713f144f6f0d" @@ -9650,14 +9803,13 @@ web3-bzz@1.2.1: swarm-js "0.1.39" underscore "1.9.1" -web3-bzz@1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/web3-bzz/-/web3-bzz-1.8.1.tgz#81397be5ce262d03d82b92e9d8acc11f8a609ea1" - integrity sha512-dJJHS84nvpoxv6ijTMkdUSlRr5beCXNtx4UZcrFLHBva8dT63QEtKdLyDt2AyMJJdVzTCk78uir/6XtVWrdS6w== +web3-core-helpers@1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/web3-core-helpers/-/web3-core-helpers-1.10.2.tgz#bd47686c0e74ef4475713c581f9306a035ce8a74" + integrity sha512-1JfaNtox6/ZYJHNoI+QVc2ObgwEPeGF+YdxHZQ7aF5605BmlwM1Bk3A8xv6mg64jIRvEq1xX6k9oG6x7p1WgXQ== dependencies: - "@types/node" "^12.12.6" - got "12.1.0" - swarm-js "^0.1.40" + web3-eth-iban "1.10.2" + web3-utils "1.10.2" web3-core-helpers@1.2.1: version "1.2.1" @@ -9668,13 +9820,16 @@ web3-core-helpers@1.2.1: web3-eth-iban "1.2.1" web3-utils "1.2.1" -web3-core-helpers@1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/web3-core-helpers/-/web3-core-helpers-1.8.1.tgz#7904747b23fd0afa4f2c86ed98ea9418ccad7672" - integrity sha512-ClzNO6T1S1gifC+BThw0+GTfcsjLEY8T1qUp6Ly2+w4PntAdNtKahxWKApWJ0l9idqot/fFIDXwO3Euu7I0Xqw== +web3-core-method@1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/web3-core-method/-/web3-core-method-1.10.2.tgz#4adf3f8c8d0776f0f320e583b791955c41037971" + integrity sha512-gG6ES+LOuo01MJHML4gnEt702M8lcPGMYZoX8UjZzmEebGrPYOY9XccpCrsFgCeKgQzM12SVnlwwpMod1+lcLg== dependencies: - web3-eth-iban "1.8.1" - web3-utils "1.8.1" + "@ethersproject/transactions" "^5.6.2" + web3-core-helpers "1.10.2" + web3-core-promievent "1.10.2" + web3-core-subscriptions "1.10.2" + web3-utils "1.10.2" web3-core-method@1.2.1: version "1.2.1" @@ -9687,16 +9842,12 @@ web3-core-method@1.2.1: web3-core-subscriptions "1.2.1" web3-utils "1.2.1" -web3-core-method@1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/web3-core-method/-/web3-core-method-1.8.1.tgz#0fc5a433a9fc784c447522f141c0a8e0163c7790" - integrity sha512-oYGRodktfs86NrnFwaWTbv2S38JnpPslFwSSARwFv4W9cjbGUW3LDeA5MKD/dRY+ssZ5OaekeMsUCLoGhX68yA== +web3-core-promievent@1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/web3-core-promievent/-/web3-core-promievent-1.10.2.tgz#13b380b69ee05c5bf075836be64c2f3b8bdc1a5f" + integrity sha512-Qkkb1dCDOU8dZeORkcwJBQRAX+mdsjx8LqFBB+P4W9QgwMqyJ6LXda+y1XgyeEVeKEmY1RCeTq9Y94q1v62Sfw== dependencies: - "@ethersproject/transactions" "^5.6.2" - web3-core-helpers "1.8.1" - web3-core-promievent "1.8.1" - web3-core-subscriptions "1.8.1" - web3-utils "1.8.1" + eventemitter3 "4.0.4" web3-core-promievent@1.2.1: version "1.2.1" @@ -9706,12 +9857,16 @@ web3-core-promievent@1.2.1: any-promise "1.3.0" eventemitter3 "3.1.2" -web3-core-promievent@1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/web3-core-promievent/-/web3-core-promievent-1.8.1.tgz#f334c8b2ceac6c2228f06d2a515f6d103157f036" - integrity sha512-9mxqHlgB0MrZI4oUIRFkuoJMNj3E7btjrMv3sMer/Z9rYR1PfoSc1aAokw4rxKIcAh+ylVtd/acaB2HKB7aRPg== +web3-core-requestmanager@1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/web3-core-requestmanager/-/web3-core-requestmanager-1.10.2.tgz#f5b1264c6470c033f08e21210b0af0c23497c68a" + integrity sha512-nlLeNJUu6fR+ZbJr2k9Du/nN3VWwB4AJPY4r6nxUODAmykgJq57T21cLP/BEk6mbiFQYGE9TrrPhh4qWxQEtAw== dependencies: - eventemitter3 "4.0.4" + util "^0.12.5" + web3-core-helpers "1.10.2" + web3-providers-http "1.10.2" + web3-providers-ipc "1.10.2" + web3-providers-ws "1.10.2" web3-core-requestmanager@1.2.1: version "1.2.1" @@ -9724,16 +9879,13 @@ web3-core-requestmanager@1.2.1: web3-providers-ipc "1.2.1" web3-providers-ws "1.2.1" -web3-core-requestmanager@1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/web3-core-requestmanager/-/web3-core-requestmanager-1.8.1.tgz#272ffa55b7b568ecbc8e4a257ca080355c31c60e" - integrity sha512-x+VC2YPPwZ1khvqA6TA69LvfFCOZXsoUVOxmTx/vIN22PrY9KzKhxcE7pBSiGhmab1jtmRYXUbcQSVpAXqL8cw== +web3-core-subscriptions@1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/web3-core-subscriptions/-/web3-core-subscriptions-1.10.2.tgz#d325483141ab1406241d6707b86fd6944e4b7ea6" + integrity sha512-MiWcKjz4tco793EPPPLc/YOJmYUV3zAfxeQH/UVTfBejMfnNvmfwKa2SBKfPIvKQHz/xI5bV2TF15uvJEucU7w== dependencies: - util "^0.12.0" - web3-core-helpers "1.8.1" - web3-providers-http "1.8.1" - web3-providers-ipc "1.8.1" - web3-providers-ws "1.8.1" + eventemitter3 "4.0.4" + web3-core-helpers "1.10.2" web3-core-subscriptions@1.2.1: version "1.2.1" @@ -9744,13 +9896,18 @@ web3-core-subscriptions@1.2.1: underscore "1.9.1" web3-core-helpers "1.2.1" -web3-core-subscriptions@1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/web3-core-subscriptions/-/web3-core-subscriptions-1.8.1.tgz#f5ae1380e92746eadfab6475b8a70ef5a1be6bbf" - integrity sha512-bmCMq5OeA3E2vZUh8Js1HcJbhwtsE+yeMqGC4oIZB3XsL5SLqyKLB/pU+qUYqQ9o4GdcrFTDPhPg1bgvf7p1Pw== +web3-core@1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/web3-core/-/web3-core-1.10.2.tgz#464a15335b3adecc4a1cdd53c89b995769059f03" + integrity sha512-qTn2UmtE8tvwMRsC5pXVdHxrQ4uZ6jiLgF5DRUVtdi7dPUmX18Dp9uxKfIfhGcA011EAn8P6+X7r3pvi2YRxBw== dependencies: - eventemitter3 "4.0.4" - web3-core-helpers "1.8.1" + "@types/bn.js" "^5.1.1" + "@types/node" "^12.12.6" + bignumber.js "^9.0.0" + web3-core-helpers "1.10.2" + web3-core-method "1.10.2" + web3-core-requestmanager "1.10.2" + web3-utils "1.10.2" web3-core@1.2.1: version "1.2.1" @@ -9762,18 +9919,13 @@ web3-core@1.2.1: web3-core-requestmanager "1.2.1" web3-utils "1.2.1" -web3-core@1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/web3-core/-/web3-core-1.8.1.tgz#050b1c408d1f9b7ae539e90f7f7d1b7a7d10578b" - integrity sha512-LbRZlJH2N6nS3n3Eo9Y++25IvzMY7WvYnp4NM/Ajhh97dAdglYs6rToQ2DbL2RLvTYmTew4O/y9WmOk4nq9COw== +web3-eth-abi@1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/web3-eth-abi/-/web3-eth-abi-1.10.2.tgz#65db4af1acb0b72cb9d10cd6f045a8bcdb270b1b" + integrity sha512-pY4fQUio7W7ZRSLf+vsYkaxJqaT/jHcALZjIxy+uBQaYAJ3t6zpQqMZkJB3Dw7HUODRJ1yI0NPEFGTnkYf/17A== dependencies: - "@types/bn.js" "^5.1.0" - "@types/node" "^12.12.6" - bignumber.js "^9.0.0" - web3-core-helpers "1.8.1" - web3-core-method "1.8.1" - web3-core-requestmanager "1.8.1" - web3-utils "1.8.1" + "@ethersproject/abi" "^5.6.3" + web3-utils "1.10.2" web3-eth-abi@1.2.1: version "1.2.1" @@ -9784,13 +9936,21 @@ web3-eth-abi@1.2.1: underscore "1.9.1" web3-utils "1.2.1" -web3-eth-abi@1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/web3-eth-abi/-/web3-eth-abi-1.8.1.tgz#47455d6513217c4b0866fea6f97b1c4afa0b6535" - integrity sha512-0mZvCRTIG0UhDhJwNQJgJxu4b4DyIpuMA0GTfqxqeuqzX4Q/ZvmoNurw0ExTfXaGPP82UUmmdkRi6FdZOx+C6w== +web3-eth-accounts@1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/web3-eth-accounts/-/web3-eth-accounts-1.10.2.tgz#5ce9e4de0f84a88e72801810b98cc25164956404" + integrity sha512-6/HhCBYAXN/f553/SyxS9gY62NbLgpD1zJpENcvRTDpJN3Znvli1cmpl5Q3ZIUJkvHnG//48EWfWh0cbb3fbKQ== dependencies: - "@ethersproject/abi" "^5.6.3" - web3-utils "1.8.1" + "@ethereumjs/common" "2.5.0" + "@ethereumjs/tx" "3.3.2" + "@ethereumjs/util" "^8.1.0" + eth-lib "0.2.8" + scrypt-js "^3.0.1" + uuid "^9.0.0" + web3-core "1.10.2" + web3-core-helpers "1.10.2" + web3-core-method "1.10.2" + web3-utils "1.10.2" web3-eth-accounts@1.2.1: version "1.2.1" @@ -9809,22 +9969,19 @@ web3-eth-accounts@1.2.1: web3-core-method "1.2.1" web3-utils "1.2.1" -web3-eth-accounts@1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/web3-eth-accounts/-/web3-eth-accounts-1.8.1.tgz#1ce7387721f118aeb0376291e4d8bbe2ac323406" - integrity sha512-mgzxSYgN54/NsOFBO1Fq1KkXp1S5KlBvI/DlgvajU72rupoFMq6Cu6Yp9GUaZ/w2ij9PzEJuFJk174XwtfMCmg== - dependencies: - "@ethereumjs/common" "2.5.0" - "@ethereumjs/tx" "3.3.2" - crypto-browserify "3.12.0" - eth-lib "0.2.8" - ethereumjs-util "^7.0.10" - scrypt-js "^3.0.1" - uuid "^9.0.0" - web3-core "1.8.1" - web3-core-helpers "1.8.1" - web3-core-method "1.8.1" - web3-utils "1.8.1" +web3-eth-contract@1.10.2, web3-eth-contract@^1.7.4: + version "1.10.2" + resolved "https://registry.yarnpkg.com/web3-eth-contract/-/web3-eth-contract-1.10.2.tgz#9114c52ba5ca5859f3403abea69a13f8678828ad" + integrity sha512-CZLKPQRmupP/+OZ5A/CBwWWkBiz5B/foOpARz0upMh1yjb0dEud4YzRW2gJaeNu0eGxDLsWVaXhUimJVGYprQw== + dependencies: + "@types/bn.js" "^5.1.1" + web3-core "1.10.2" + web3-core-helpers "1.10.2" + web3-core-method "1.10.2" + web3-core-promievent "1.10.2" + web3-core-subscriptions "1.10.2" + web3-eth-abi "1.10.2" + web3-utils "1.10.2" web3-eth-contract@1.2.1: version "1.2.1" @@ -9840,19 +9997,19 @@ web3-eth-contract@1.2.1: web3-eth-abi "1.2.1" web3-utils "1.2.1" -web3-eth-contract@1.8.1, web3-eth-contract@^1.7.4: - version "1.8.1" - resolved "https://registry.yarnpkg.com/web3-eth-contract/-/web3-eth-contract-1.8.1.tgz#bdf3e33bbcb79a1b6144dffd6a0deefd2e459272" - integrity sha512-1wphnl+/xwCE2io44JKnN+ti3oa47BKRiVzvWd42icwRbcpFfRxH9QH+aQX3u8VZIISNH7dAkTWpGIIJgGFTmg== +web3-eth-ens@1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/web3-eth-ens/-/web3-eth-ens-1.10.2.tgz#5708e1830ab261b139882cc43662afb3a733112e" + integrity sha512-kTQ42UdNHy4BQJHgWe97bHNMkc3zCMBKKY7t636XOMxdI/lkRdIjdE5nQzt97VjQvSVasgIWYKRAtd8aRaiZiQ== dependencies: - "@types/bn.js" "^5.1.0" - web3-core "1.8.1" - web3-core-helpers "1.8.1" - web3-core-method "1.8.1" - web3-core-promievent "1.8.1" - web3-core-subscriptions "1.8.1" - web3-eth-abi "1.8.1" - web3-utils "1.8.1" + content-hash "^2.5.2" + eth-ens-namehash "2.0.8" + web3-core "1.10.2" + web3-core-helpers "1.10.2" + web3-core-promievent "1.10.2" + web3-eth-abi "1.10.2" + web3-eth-contract "1.10.2" + web3-utils "1.10.2" web3-eth-ens@1.2.1: version "1.2.1" @@ -9868,19 +10025,13 @@ web3-eth-ens@1.2.1: web3-eth-contract "1.2.1" web3-utils "1.2.1" -web3-eth-ens@1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/web3-eth-ens/-/web3-eth-ens-1.8.1.tgz#e78a9651fea8282abe8565b001819e2d645e5929" - integrity sha512-FT8xTI9uN8RxeBQa/W8pLa2aoFh4+EE34w7W2271LICKzla1dtLyb6XSdn48vsUcPmhWsTVk9mO9RTU0l4LGQQ== +web3-eth-iban@1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/web3-eth-iban/-/web3-eth-iban-1.10.2.tgz#f8e668034834c5be038adeb14c39b923e9257558" + integrity sha512-y8+Ii2XXdyHQMFNL2NWpBnXe+TVJ4ryvPlzNhObRRnIo4O4nLIXS010olLDMayozDzoUlmzCmBZJYc9Eev1g7A== dependencies: - content-hash "^2.5.2" - eth-ens-namehash "2.0.8" - web3-core "1.8.1" - web3-core-helpers "1.8.1" - web3-core-promievent "1.8.1" - web3-eth-abi "1.8.1" - web3-eth-contract "1.8.1" - web3-utils "1.8.1" + bn.js "^5.2.1" + web3-utils "1.10.2" web3-eth-iban@1.2.1: version "1.2.1" @@ -9890,13 +10041,17 @@ web3-eth-iban@1.2.1: bn.js "4.11.8" web3-utils "1.2.1" -web3-eth-iban@1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/web3-eth-iban/-/web3-eth-iban-1.8.1.tgz#c6484e5d68ca644aa78431301e7acd5df24598d1" - integrity sha512-DomoQBfvIdtM08RyMGkMVBOH0vpOIxSSQ+jukWk/EkMLGMWJtXw/K2c2uHAeq3L/VPWNB7zXV2DUEGV/lNE2Dg== +web3-eth-personal@1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/web3-eth-personal/-/web3-eth-personal-1.10.2.tgz#a281cc1cecb2f3243ac0467c075a1579fa562901" + integrity sha512-+vEbJsPUJc5J683y0c2aN645vXC+gPVlFVCQu4IjPvXzJrAtUfz26+IZ6AUOth4fDJPT0f1uSLS5W2yrUdw9BQ== dependencies: - bn.js "^5.2.1" - web3-utils "1.8.1" + "@types/node" "^12.12.6" + web3-core "1.10.2" + web3-core-helpers "1.10.2" + web3-core-method "1.10.2" + web3-net "1.10.2" + web3-utils "1.10.2" web3-eth-personal@1.2.1: version "1.2.1" @@ -9909,17 +10064,23 @@ web3-eth-personal@1.2.1: web3-net "1.2.1" web3-utils "1.2.1" -web3-eth-personal@1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/web3-eth-personal/-/web3-eth-personal-1.8.1.tgz#00b5ff1898b62044d25ed5fddd8486168d4827cf" - integrity sha512-myIYMvj7SDIoV9vE5BkVdon3pya1WinaXItugoii2VoTcQNPOtBxmYVH+XS5ErzCJlnxzphpQrkywyY64bbbCA== - dependencies: - "@types/node" "^12.12.6" - web3-core "1.8.1" - web3-core-helpers "1.8.1" - web3-core-method "1.8.1" - web3-net "1.8.1" - web3-utils "1.8.1" +web3-eth@1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/web3-eth/-/web3-eth-1.10.2.tgz#46baa0d8a1203b425f77ac2cf823fbb73666fcb9" + integrity sha512-s38rhrntyhGShmXC4R/aQtfkpcmev9c7iZwgb9CDIBFo7K8nrEJvqIOyajeZTxnDIiGzTJmrHxiKSadii5qTRg== + dependencies: + web3-core "1.10.2" + web3-core-helpers "1.10.2" + web3-core-method "1.10.2" + web3-core-subscriptions "1.10.2" + web3-eth-abi "1.10.2" + web3-eth-accounts "1.10.2" + web3-eth-contract "1.10.2" + web3-eth-ens "1.10.2" + web3-eth-iban "1.10.2" + web3-eth-personal "1.10.2" + web3-net "1.10.2" + web3-utils "1.10.2" web3-eth@1.2.1: version "1.2.1" @@ -9940,23 +10101,14 @@ web3-eth@1.2.1: web3-net "1.2.1" web3-utils "1.2.1" -web3-eth@1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/web3-eth/-/web3-eth-1.8.1.tgz#395f6cd56edaac5dbb23e8cec9886c3fd32c430e" - integrity sha512-LgyzbhFqiFRd8M8sBXoFN4ztzOnkeckl3H/9lH5ek7AdoRMhBg7tYpYRP3E5qkhd/q+yiZmcUgy1AF6NHrC1wg== - dependencies: - web3-core "1.8.1" - web3-core-helpers "1.8.1" - web3-core-method "1.8.1" - web3-core-subscriptions "1.8.1" - web3-eth-abi "1.8.1" - web3-eth-accounts "1.8.1" - web3-eth-contract "1.8.1" - web3-eth-ens "1.8.1" - web3-eth-iban "1.8.1" - web3-eth-personal "1.8.1" - web3-net "1.8.1" - web3-utils "1.8.1" +web3-net@1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/web3-net/-/web3-net-1.10.2.tgz#77f39dea930619035d3bf99969941870f2f0c550" + integrity sha512-w9i1t2z7dItagfskhaCKwpp6W3ylUR88gs68u820y5f8yfK5EbPmHc6c2lD8X9ZrTnmDoeOpIRCN/RFPtZCp+g== + dependencies: + web3-core "1.10.2" + web3-core-method "1.10.2" + web3-utils "1.10.2" web3-net@1.2.1: version "1.2.1" @@ -9967,14 +10119,15 @@ web3-net@1.2.1: web3-core-method "1.2.1" web3-utils "1.2.1" -web3-net@1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/web3-net/-/web3-net-1.8.1.tgz#2bed4d4b93166724129ec33d0e5dea98880285f4" - integrity sha512-LyEJAwogdFo0UAXZqoSJGFjopdt+kLw0P00FSZn2yszbgcoI7EwC+nXiOsEe12xz4LqpYLOtbR7+gxgiTVjjHQ== +web3-providers-http@1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/web3-providers-http/-/web3-providers-http-1.10.2.tgz#8bd54b5bc5bcc50612fd52af65bd773f926045f7" + integrity sha512-G8abKtpkyKGpRVKvfjIF3I4O/epHP7mxXWN8mNMQLkQj1cjMFiZBZ13f+qI77lNJN7QOf6+LtNdKrhsTGU72TA== dependencies: - web3-core "1.8.1" - web3-core-method "1.8.1" - web3-utils "1.8.1" + abortcontroller-polyfill "^1.7.5" + cross-fetch "^4.0.0" + es6-promise "^4.2.8" + web3-core-helpers "1.10.2" web3-providers-http@1.2.1: version "1.2.1" @@ -9984,15 +10137,13 @@ web3-providers-http@1.2.1: web3-core-helpers "1.2.1" xhr2-cookies "1.1.0" -web3-providers-http@1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/web3-providers-http/-/web3-providers-http-1.8.1.tgz#8aa89c11a9272f11ddb74b871273c92225faa28d" - integrity sha512-1Zyts4O9W/UNEPkp+jyL19Jc3D15S4yp8xuLTjVhcUEAlHo24NDWEKxtZGUuHk4HrKL2gp8OlsDbJ7MM+ESDgg== +web3-providers-ipc@1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/web3-providers-ipc/-/web3-providers-ipc-1.10.2.tgz#4314a04c1d68f5d1cb2d047d027db97c85f921f7" + integrity sha512-lWbn6c+SgvhLymU8u4Ea/WOVC0Gqs7OJUvauejWz+iLycxeF0xFNyXnHVAi42ZJDPVI3vnfZotafoxcNNL7Sug== dependencies: - abortcontroller-polyfill "^1.7.3" - cross-fetch "^3.1.4" - es6-promise "^4.2.8" - web3-core-helpers "1.8.1" + oboe "2.1.5" + web3-core-helpers "1.10.2" web3-providers-ipc@1.2.1: version "1.2.1" @@ -10003,13 +10154,14 @@ web3-providers-ipc@1.2.1: underscore "1.9.1" web3-core-helpers "1.2.1" -web3-providers-ipc@1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/web3-providers-ipc/-/web3-providers-ipc-1.8.1.tgz#6128a3a3a824d06bf0efcfe86325401f8691a5ca" - integrity sha512-nw/W5nclvi+P2z2dYkLWReKLnocStflWqFl+qjtv0xn3MrUTyXMzSF0+61i77+16xFsTgzo4wS/NWIOVkR0EFA== +web3-providers-ws@1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/web3-providers-ws/-/web3-providers-ws-1.10.2.tgz#00bf6e00080dd82b8ad7fbed657a6d20ecc532de" + integrity sha512-3nYSiP6grI5GvpkSoehctSywfCTodU21VY8bUtXyFHK/IVfDooNtMpd5lVIMvXVAlaxwwrCfjebokaJtKH2Iag== dependencies: - oboe "2.1.5" - web3-core-helpers "1.8.1" + eventemitter3 "4.0.4" + web3-core-helpers "1.10.2" + websocket "^1.0.32" web3-providers-ws@1.2.1: version "1.2.1" @@ -10020,14 +10172,15 @@ web3-providers-ws@1.2.1: web3-core-helpers "1.2.1" websocket "github:web3-js/WebSocket-Node#polyfill/globalThis" -web3-providers-ws@1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/web3-providers-ws/-/web3-providers-ws-1.8.1.tgz#5e5370e07eb8c615ed298ebc8602b283c7b7d649" - integrity sha512-TNefIDAMpdx57+YdWpYZ/xdofS0P+FfKaDYXhn24ie/tH9G+AB+UBSOKnjN0KSadcRSCMBwGPRiEmNHPavZdsA== +web3-shh@1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/web3-shh/-/web3-shh-1.10.2.tgz#2a41e1a308de5320d1f17080765206b727aa669e" + integrity sha512-UP0Kc3pHv9uULFu0+LOVfPwKBSJ6B+sJ5KflF7NyBk6TvNRxlpF3hUhuaVDCjjB/dDUR6T0EQeg25FA2uzJbag== dependencies: - eventemitter3 "4.0.4" - web3-core-helpers "1.8.1" - websocket "^1.0.32" + web3-core "1.10.2" + web3-core-method "1.10.2" + web3-core-subscriptions "1.10.2" + web3-net "1.10.2" web3-shh@1.2.1: version "1.2.1" @@ -10039,15 +10192,19 @@ web3-shh@1.2.1: web3-core-subscriptions "1.2.1" web3-net "1.2.1" -web3-shh@1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/web3-shh/-/web3-shh-1.8.1.tgz#028a95cf9d3a36020380938b9a127610efbb9be7" - integrity sha512-sqHgarnfcY2Qt3PYS4R6YveHrDy7hmL09yeLLHHCI+RKirmjLVqV0rc5LJWUtlbYI+kDoa5gbgde489M9ZAC0g== +web3-utils@1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-1.10.2.tgz#361103d28a94d5e2a87ba15d776a62c33303eb44" + integrity sha512-TdApdzdse5YR+5GCX/b/vQnhhbj1KSAtfrDtRW7YS0kcWp1gkJsN62gw6GzCaNTeXookB7UrLtmDUuMv65qgow== dependencies: - web3-core "1.8.1" - web3-core-method "1.8.1" - web3-core-subscriptions "1.8.1" - web3-net "1.8.1" + "@ethereumjs/util" "^8.1.0" + bn.js "^5.2.1" + ethereum-bloom-filters "^1.0.6" + ethereum-cryptography "^2.1.2" + ethjs-unit "0.1.6" + number-to-bn "1.7.0" + randombytes "^2.1.0" + utf8 "3.0.0" web3-utils@1.2.1: version "1.2.1" @@ -10062,19 +10219,6 @@ web3-utils@1.2.1: underscore "1.9.1" utf8 "3.0.0" -web3-utils@1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-1.8.1.tgz#f2f7ca7eb65e6feb9f3d61056d0de6bbd57125ff" - integrity sha512-LgnM9p6V7rHHUGfpMZod+NST8cRfGzJ1BTXAyNo7A9cJX9LczBfSRxJp+U/GInYe9mby40t3v22AJdlELibnsQ== - dependencies: - bn.js "^5.2.1" - ethereum-bloom-filters "^1.0.6" - ethereumjs-util "^7.1.0" - ethjs-unit "0.1.6" - number-to-bn "1.7.0" - randombytes "^2.1.0" - utf8 "3.0.0" - web3@1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/web3/-/web3-1.2.1.tgz#5d8158bcca47838ab8c2b784a2dee4c3ceb4179b" @@ -10089,17 +10233,17 @@ web3@1.2.1: web3-utils "1.2.1" web3@^1.7.4: - version "1.8.1" - resolved "https://registry.yarnpkg.com/web3/-/web3-1.8.1.tgz#8ea67215ef5f3a6f6d3381800b527242ea22885a" - integrity sha512-tAqFsQhGv340C9OgRJIuoScN7f7wa1tUvsnnDUMt9YE6J4gcm7TV2Uwv+KERnzvV+xgdeuULYpsioRRNKrUvoQ== + version "1.10.2" + resolved "https://registry.yarnpkg.com/web3/-/web3-1.10.2.tgz#5b7e165b396fb0bea501cef4d5ce754aebad5b73" + integrity sha512-DAtZ3a3ruPziE80uZ3Ob0YDZxt6Vk2un/F5BcBrxO70owJ9Z1Y2+loZmbh1MoAmoLGjA/SUSHeUtid3fYmBaog== dependencies: - web3-bzz "1.8.1" - web3-core "1.8.1" - web3-eth "1.8.1" - web3-eth-personal "1.8.1" - web3-net "1.8.1" - web3-shh "1.8.1" - web3-utils "1.8.1" + web3-bzz "1.10.2" + web3-core "1.10.2" + web3-eth "1.10.2" + web3-eth-personal "1.10.2" + web3-net "1.10.2" + web3-shh "1.10.2" + web3-utils "1.10.2" webidl-conversions@^3.0.0: version "3.0.1" @@ -10117,18 +10261,26 @@ webidl-conversions@^6.1.0: integrity sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w== webpack-bundle-analyzer@^4.3.0: - version "4.7.0" - resolved "https://registry.yarnpkg.com/webpack-bundle-analyzer/-/webpack-bundle-analyzer-4.7.0.tgz#33c1c485a7fcae8627c547b5c3328b46de733c66" - integrity sha512-j9b8ynpJS4K+zfO5GGwsAcQX4ZHpWV+yRiHDiL+bE0XHJ8NiPYLTNVQdlFYWxtpg9lfAQNlwJg16J9AJtFSXRg== + version "4.9.1" + resolved "https://registry.yarnpkg.com/webpack-bundle-analyzer/-/webpack-bundle-analyzer-4.9.1.tgz#d00bbf3f17500c10985084f22f1a2bf45cb2f09d" + integrity sha512-jnd6EoYrf9yMxCyYDPj8eutJvtjQNp8PHmni/e/ulydHBWhT5J3menXt3HEkScsu9YqMAcG4CfFjs3rj5pVU1w== dependencies: + "@discoveryjs/json-ext" "0.5.7" acorn "^8.0.4" acorn-walk "^8.0.0" - chalk "^4.1.0" commander "^7.2.0" + escape-string-regexp "^4.0.0" gzip-size "^6.0.0" - lodash "^4.17.20" + is-plain-object "^5.0.0" + lodash.debounce "^4.0.8" + lodash.escape "^4.0.1" + lodash.flatten "^4.4.0" + lodash.invokemap "^4.6.0" + lodash.pullall "^4.2.0" + lodash.uniqby "^4.7.0" opener "^1.5.2" - sirv "^1.0.7" + picocolors "^1.0.0" + sirv "^2.0.3" ws "^7.3.1" webpack-cli@^4.3.0: @@ -10150,9 +10302,9 @@ webpack-cli@^4.3.0: webpack-merge "^5.7.3" webpack-merge@^5.7.3: - version "5.8.0" - resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-5.8.0.tgz#2b39dbf22af87776ad744c390223731d30a68f61" - integrity sha512-/SaI7xY0831XwP6kzuwhKWVKDP9t1QY1h65lAFLbZqMPIuYcD9QAW4u9STIbU9kaJbPBB/geU/gLr1wDjOhQ+Q== + version "5.9.0" + resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-5.9.0.tgz#dc160a1c4cf512ceca515cc231669e9ddb133826" + integrity sha512-6NbRQw4+Sy50vYNTw7EyOn41OZItPiXB8GNv3INSoe3PSFaHJEz3SHTrYVaRm2LilNGnFUzh0FAwqPEmU/CwDg== dependencies: clone-deep "^4.0.1" wildcard "^2.0.0" @@ -10163,21 +10315,21 @@ webpack-sources@^3.2.3: integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== webpack@^5.11.1: - version "5.75.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.75.0.tgz#1e440468647b2505860e94c9ff3e44d5b582c152" - integrity sha512-piaIaoVJlqMsPtX/+3KTTO6jfvrSYgauFVdt8cr9LTHKmcq/AMd4mhzsiP7ZF/PGRNPGA8336jldh9l2Kt2ogQ== + version "5.88.2" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.88.2.tgz#f62b4b842f1c6ff580f3fcb2ed4f0b579f4c210e" + integrity sha512-JmcgNZ1iKj+aiR0OvTYtWQqJwq37Pf683dY9bVORwVbUrDhLhdn/PlO2sHsFHPkj7sHNQF3JwaAkp49V+Sq1tQ== dependencies: "@types/eslint-scope" "^3.7.3" - "@types/estree" "^0.0.51" - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/wasm-edit" "1.11.1" - "@webassemblyjs/wasm-parser" "1.11.1" + "@types/estree" "^1.0.0" + "@webassemblyjs/ast" "^1.11.5" + "@webassemblyjs/wasm-edit" "^1.11.5" + "@webassemblyjs/wasm-parser" "^1.11.5" acorn "^8.7.1" - acorn-import-assertions "^1.7.6" + acorn-import-assertions "^1.9.0" browserslist "^4.14.5" chrome-trace-event "^1.0.2" - enhanced-resolve "^5.10.0" - es-module-lexer "^0.9.0" + enhanced-resolve "^5.15.0" + es-module-lexer "^1.2.1" eslint-scope "5.1.1" events "^3.2.0" glob-to-regexp "^0.4.1" @@ -10186,9 +10338,9 @@ webpack@^5.11.1: loader-runner "^4.2.0" mime-types "^2.1.27" neo-async "^2.6.2" - schema-utils "^3.1.0" + schema-utils "^3.2.0" tapable "^2.1.1" - terser-webpack-plugin "^5.1.3" + terser-webpack-plugin "^5.3.7" watchpack "^2.4.0" webpack-sources "^3.2.3" @@ -10254,42 +10406,31 @@ which-boxed-primitive@^1.0.2: is-string "^1.0.5" is-symbol "^1.0.3" -which-collection@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/which-collection/-/which-collection-1.0.1.tgz#70eab71ebbbd2aefaf32f917082fc62cdcb70906" - integrity sha512-W8xeTUwaln8i3K/cY1nGXzdnVZlidBcagyNFtBdD5kxnb4TvGKR7FfSIS3mYpwWS1QUCutfKz8IY8RjftB0+1A== - dependencies: - is-map "^2.0.1" - is-set "^2.0.1" - is-weakmap "^2.0.1" - is-weakset "^2.0.1" - which-module@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/which-module/-/which-module-1.0.0.tgz#bba63ca861948994ff307736089e3b96026c2a4f" integrity sha512-F6+WgncZi/mJDrammbTuHe1q0R5hOXv/mBaiNA2TCNT/LTHusX0V+CJnj9XT8ki5ln2UZyyddDgHfCzyrOH7MQ== which-module@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" - integrity sha512-B+enWhmw6cjfVC7kS8Pj9pCrKSc5txArRyaYGe088shv/FGWH+0Rjx/xPgtsWfsUtS27FkP697E4DDhgrgoc0Q== + version "2.0.1" + resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.1.tgz#776b1fe35d90aebe99e8ac15eb24093389a4a409" + integrity sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ== which-pm-runs@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/which-pm-runs/-/which-pm-runs-1.1.0.tgz#35ccf7b1a0fce87bd8b92a478c9d045785d3bf35" integrity sha512-n1brCuqClxfFfq/Rb0ICg9giSZqCS+pLtccdag6C2HyufBrh3fBOiy9nb6ggRMvWOVH5GrdJskj5iGTZNxd7SA== -which-typed-array@^1.1.2, which-typed-array@^1.1.9: - version "1.1.9" - resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.9.tgz#307cf898025848cf995e795e8423c7f337efbde6" - integrity sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA== +which-typed-array@^1.1.11, which-typed-array@^1.1.2: + version "1.1.11" + resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.11.tgz#99d691f23c72aab6768680805a271b69761ed61a" + integrity sha512-qe9UWWpkeG5yzZ0tNYxDmd7vo58HDBc39mZ0xWWpolAGADdFOzkfamWLDxkOWcvHQKVmdTyQdLD4NOfjLWTKew== dependencies: available-typed-arrays "^1.0.5" call-bind "^1.0.2" for-each "^0.3.3" gopd "^1.0.1" has-tostringtag "^1.0.0" - is-typed-array "^1.1.10" which@^1.2.9: version "1.3.1" @@ -10306,20 +10447,15 @@ which@^2.0.1, which@^2.0.2: isexe "^2.0.0" wildcard@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/wildcard/-/wildcard-2.0.0.tgz#a77d20e5200c6faaac979e4b3aadc7b3dd7f8fec" - integrity sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw== + version "2.0.1" + resolved "https://registry.yarnpkg.com/wildcard/-/wildcard-2.0.1.tgz#5ab10d02487198954836b6349f74fff961e10f67" + integrity sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ== window-size@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.2.0.tgz#b4315bb4214a3d7058ebeee892e13fa24d98b075" integrity sha512-UD7d8HFA2+PZsbKyaOCEy8gMh1oDtHgJh1LfgjQ4zVXmYjAT/kvz3PueITKuqDiIXQe7yzpPnxX3lNc+AhQMyw== -word-wrap@^1.2.3, word-wrap@~1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" - integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== - wordwrap@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" @@ -10342,7 +10478,7 @@ wrap-ansi@^5.1.0: string-width "^3.0.0" strip-ansi "^5.0.0" -wrap-ansi@^6.2.0: +wrap-ansi@^6.0.1, wrap-ansi@^6.2.0: version "6.2.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== @@ -10436,18 +10572,18 @@ xml-name-validator@^3.0.0: resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a" integrity sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw== -xml2js@0.4.19: - version "0.4.19" - resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.19.tgz#686c20f213209e94abf0d1bcf1efaa291c7827a7" - integrity sha512-esZnJZJOiJR9wWKMyuvSE1y6Dq5LCuJanqhxslH2bxM6duahNZ+HMpCLhBQGZkbX6xRf8x1Y2eJlgt2q3qo49Q== +xml2js@0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.5.0.tgz#d9440631fbb2ed800203fad106f2724f62c493b7" + integrity sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA== dependencies: sax ">=0.6.0" - xmlbuilder "~9.0.1" + xmlbuilder "~11.0.0" -xmlbuilder@~9.0.1: - version "9.0.7" - resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-9.0.7.tgz#132ee63d2ec5565c557e20f4c22df9aca686b10d" - integrity sha512-7YXTQc3P2l9+0rjaUbLwMKRhtmwg1M1eDf6nag7urC7pIPYLD9W/jmzQ4ptRSUbodw5S0jfoGTflLemQibSpeQ== +xmlbuilder@~11.0.0: + version "11.0.1" + resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-11.0.1.tgz#be9bae1c8a046e76b31127726347d0ad7002beb3" + integrity sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA== xmlchars@^2.2.0: version "2.2.0" @@ -10581,9 +10717,9 @@ yargs@^16.2.0: yargs-parser "^20.2.2" yargs@^17.3.1: - version "17.6.2" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.6.2.tgz#2e23f2944e976339a1ee00f18c77fedee8332541" - integrity sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw== + version "17.7.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" + integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w== dependencies: cliui "^8.0.1" escalade "^3.1.1"