UNPKG

violet-swapr

Version:

An SDK for building applications on top of DXswap.

217 lines (216 loc) 4.34 kB
[ { "inputs": [ { "internalType": "address", "name": "_rewardTokensValidatorAddress", "type": "address" }, { "internalType": "address", "name": "_stakableTokenValidatorAddress", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": false, "internalType": "address", "name": "deployedAt", "type": "address" } ], "name": "DistributionCreated", "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": "_rewardTokensAddresses", "type": "address[]" }, { "internalType": "address", "name": "_stakableTokenAddress", "type": "address" }, { "internalType": "uint256[]", "name": "_rewardAmounts", "type": "uint256[]" }, { "internalType": "uint64", "name": "_startingTimestamp", "type": "uint64" }, { "internalType": "uint64", "name": "_endingTimestmp", "type": "uint64" }, { "internalType": "bool", "name": "_locked", "type": "bool" }, { "internalType": "uint256", "name": "_stakingCap", "type": "uint256" } ], "name": "createDistribution", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "distributions", "outputs": [ { "internalType": "contract ERC20StakingRewardsDistribution", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getDistributionsAmount", "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": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "rewardTokensValidator", "outputs": [ { "internalType": "contract IRewardTokensValidator", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_rewardTokensValidatorAddress", "type": "address" } ], "name": "setRewardTokensValidator", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_stakableTokenValidatorAddress", "type": "address" } ], "name": "setStakableTokenValidator", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "stakableTokenValidator", "outputs": [ { "internalType": "contract IStakableTokenValidator", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]