Created
July 18, 2019 14:22
-
-
Save ephdtrg/a169772238ae0f59a7543e6488b49d10 to your computer and use it in GitHub Desktop.
abi for freeze tron payments contract
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"entrys": [ | |
{ | |
"outputs": [ | |
{ | |
"type": "bool" | |
} | |
], | |
"constant": true, | |
"name": "CONTINUE_MINTING", | |
"stateMutability": "View", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"name": "_release", | |
"type": "uint64" | |
}, | |
{ | |
"name": "_balance", | |
"type": "uint256" | |
} | |
], | |
"constant": true, | |
"inputs": [ | |
{ | |
"name": "_addr", | |
"type": "address" | |
}, | |
{ | |
"name": "_index", | |
"type": "uint256" | |
} | |
], | |
"name": "getFreezing", | |
"stateMutability": "View", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"type": "bool" | |
} | |
], | |
"constant": true, | |
"name": "mintingFinished", | |
"stateMutability": "View", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"type": "bool" | |
} | |
], | |
"inputs": [ | |
{ | |
"name": "_spender", | |
"type": "address" | |
}, | |
{ | |
"name": "_value", | |
"type": "uint256" | |
} | |
], | |
"name": "approve", | |
"stateMutability": "Nonpayable", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"type": "bool" | |
} | |
], | |
"inputs": [ | |
{ | |
"name": "_to", | |
"type": "address" | |
}, | |
{ | |
"name": "_amount", | |
"type": "uint256" | |
}, | |
{ | |
"name": "_until", | |
"type": "uint64" | |
} | |
], | |
"name": "mintAndFreeze", | |
"stateMutability": "Nonpayable", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"type": "bool" | |
} | |
], | |
"constant": true, | |
"name": "initialized", | |
"stateMutability": "View", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"name": "balance", | |
"type": "uint256" | |
} | |
], | |
"constant": true, | |
"inputs": [ | |
{ | |
"name": "_owner", | |
"type": "address" | |
} | |
], | |
"name": "actualBalanceOf", | |
"stateMutability": "View", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"type": "uint256" | |
} | |
], | |
"constant": true, | |
"name": "totalSupply", | |
"stateMutability": "View", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"type": "string" | |
} | |
], | |
"constant": true, | |
"name": "TOKEN_NAME", | |
"stateMutability": "View", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"type": "string" | |
} | |
], | |
"constant": true, | |
"name": "TOKEN_SYMBOL", | |
"stateMutability": "View", | |
"type": "Function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"name": "_to", | |
"type": "address" | |
}, | |
{ | |
"name": "_amount", | |
"type": "uint256" | |
}, | |
{ | |
"name": "_until", | |
"type": "uint64" | |
} | |
], | |
"name": "freezeTo", | |
"stateMutability": "Nonpayable", | |
"type": "Function" | |
}, | |
{ | |
"name": "unpause", | |
"stateMutability": "Nonpayable", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"type": "bool" | |
} | |
], | |
"inputs": [ | |
{ | |
"name": "_to", | |
"type": "address" | |
}, | |
{ | |
"name": "_amount", | |
"type": "uint256" | |
} | |
], | |
"name": "mint", | |
"stateMutability": "Nonpayable", | |
"type": "Function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"name": "_value", | |
"type": "uint256" | |
} | |
], | |
"name": "burn", | |
"stateMutability": "Nonpayable", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"type": "uint256" | |
} | |
], | |
"constant": true, | |
"name": "TOKEN_DECIMAL_MULTIPLIER", | |
"stateMutability": "View", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"type": "uint256" | |
} | |
], | |
"constant": true, | |
"name": "TOKEN_DECIMALS", | |
"stateMutability": "View", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"name": "tokens", | |
"type": "uint256" | |
} | |
], | |
"name": "releaseAll", | |
"stateMutability": "Nonpayable", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"type": "bool" | |
} | |
], | |
"constant": true, | |
"name": "paused", | |
"stateMutability": "View", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"type": "bool" | |
} | |
], | |
"inputs": [ | |
{ | |
"name": "_spender", | |
"type": "address" | |
}, | |
{ | |
"name": "_subtractedValue", | |
"type": "uint256" | |
} | |
], | |
"name": "decreaseApproval", | |
"stateMutability": "Nonpayable", | |
"type": "Function" | |
}, | |
{ | |
"name": "releaseOnce", | |
"stateMutability": "Nonpayable", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"name": "balance", | |
"type": "uint256" | |
} | |
], | |
"constant": true, | |
"inputs": [ | |
{ | |
"name": "_owner", | |
"type": "address" | |
} | |
], | |
"name": "balanceOf", | |
"stateMutability": "View", | |
"type": "Function" | |
}, | |
{ | |
"name": "renounceOwnership", | |
"stateMutability": "Nonpayable", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"type": "address" | |
} | |
], | |
"constant": true, | |
"name": "TARGET_USER", | |
"stateMutability": "View", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"type": "bool" | |
} | |
], | |
"name": "finishMinting", | |
"stateMutability": "Nonpayable", | |
"type": "Function" | |
}, | |
{ | |
"name": "pause", | |
"stateMutability": "Nonpayable", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"type": "address" | |
} | |
], | |
"constant": true, | |
"name": "owner", | |
"stateMutability": "View", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"type": "bool" | |
} | |
], | |
"constant": true, | |
"name": "PAUSED", | |
"stateMutability": "View", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"name": "count", | |
"type": "uint256" | |
} | |
], | |
"constant": true, | |
"inputs": [ | |
{ | |
"name": "_addr", | |
"type": "address" | |
} | |
], | |
"name": "freezingCount", | |
"stateMutability": "View", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"type": "uint8" | |
} | |
], | |
"constant": true, | |
"name": "TOKEN_DECIMALS_UINT8", | |
"stateMutability": "View", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"type": "bool" | |
} | |
], | |
"inputs": [ | |
{ | |
"name": "_spender", | |
"type": "address" | |
}, | |
{ | |
"name": "_addedValue", | |
"type": "uint256" | |
} | |
], | |
"name": "increaseApproval", | |
"stateMutability": "Nonpayable", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"name": "balance", | |
"type": "uint256" | |
} | |
], | |
"constant": true, | |
"inputs": [ | |
{ | |
"name": "_owner", | |
"type": "address" | |
} | |
], | |
"name": "freezingBalanceOf", | |
"stateMutability": "View", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"type": "uint256" | |
} | |
], | |
"constant": true, | |
"inputs": [ | |
{ | |
"name": "_owner", | |
"type": "address" | |
}, | |
{ | |
"name": "_spender", | |
"type": "address" | |
} | |
], | |
"name": "allowance", | |
"stateMutability": "View", | |
"type": "Function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"name": "_newOwner", | |
"type": "address" | |
} | |
], | |
"name": "transferOwnership", | |
"stateMutability": "Nonpayable", | |
"type": "Function" | |
}, | |
{ | |
"stateMutability": "Nonpayable", | |
"type": "Constructor" | |
}, | |
{ | |
"name": "Initialized", | |
"type": "Event" | |
}, | |
{ | |
"name": "Pause", | |
"type": "Event" | |
}, | |
{ | |
"name": "Unpause", | |
"type": "Event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "burner", | |
"type": "address" | |
}, | |
{ | |
"name": "value", | |
"type": "uint256" | |
} | |
], | |
"name": "Burn", | |
"type": "Event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"name": "amount", | |
"type": "uint256" | |
} | |
], | |
"name": "Mint", | |
"type": "Event" | |
}, | |
{ | |
"name": "MintFinished", | |
"type": "Event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "previousOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnershipRenounced", | |
"type": "Event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "previousOwner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnershipTransferred", | |
"type": "Event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"name": "release", | |
"type": "uint64" | |
}, | |
{ | |
"name": "amount", | |
"type": "uint256" | |
} | |
], | |
"name": "Freezed", | |
"type": "Event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "owner", | |
"type": "address" | |
}, | |
{ | |
"name": "amount", | |
"type": "uint256" | |
} | |
], | |
"name": "Released", | |
"type": "Event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "owner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"name": "spender", | |
"type": "address" | |
}, | |
{ | |
"name": "value", | |
"type": "uint256" | |
} | |
], | |
"name": "Approval", | |
"type": "Event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "from", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"name": "value", | |
"type": "uint256" | |
} | |
], | |
"name": "Transfer", | |
"type": "Event" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"type": "string" | |
} | |
], | |
"constant": true, | |
"name": "name", | |
"stateMutability": "Pure", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"type": "string" | |
} | |
], | |
"constant": true, | |
"name": "symbol", | |
"stateMutability": "Pure", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"type": "uint8" | |
} | |
], | |
"constant": true, | |
"name": "decimals", | |
"stateMutability": "Pure", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"name": "_success", | |
"type": "bool" | |
} | |
], | |
"inputs": [ | |
{ | |
"name": "_from", | |
"type": "address" | |
}, | |
{ | |
"name": "_to", | |
"type": "address" | |
}, | |
{ | |
"name": "_value", | |
"type": "uint256" | |
} | |
], | |
"name": "transferFrom", | |
"stateMutability": "Nonpayable", | |
"type": "Function" | |
}, | |
{ | |
"outputs": [ | |
{ | |
"name": "_success", | |
"type": "bool" | |
} | |
], | |
"inputs": [ | |
{ | |
"name": "_to", | |
"type": "address" | |
}, | |
{ | |
"name": "_value", | |
"type": "uint256" | |
} | |
], | |
"name": "transfer", | |
"stateMutability": "Nonpayable", | |
"type": "Function" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment