In order to allow for gas-less transactions we have implemented a variation of EIP-865. The list of frozen addresses is available To allow the appropriate authorities to seize the backing assets.įreezing is something that Paxos will not do on its own accord,Īnd as such we expect to happen extremely rarely. It can also wipe the balance of an address after it is frozen The assetProtectionRole can freeze and unfreeze the BUSD balance of any address on chain. The simple model for pausing transfers following OpenZeppelin'sĪs required by our regulators, we have introduced a role for asset protection to freeze or seize the assets of a criminal party when required to do so by law, including by court order or other legal process. The ability to pause is controlled by a single owner role, In the event of a critical security threat, Paxos has the ability to pause transfersĪnd approvals of the BUSD token. Suppl圜ontrollerSet(address indexed oldSuppl圜ontroller, address indexed newSuppl圜ontroller).SupplyDecreased(address indexed from, uint256 value).SupplyIncreased(address indexed to, uint256 value).Of the supply controller, and events to monitor the change in supply of BUSD. The supply control interface includes methods to get the current address Requests for the purchase and redemption of BUSD. There is a single suppl圜ontroller address that can mint and burn the tokenīased on the actual movement of cash in and out of the reserve based on The total supply of BUSD is backed by fiat held in reserve at Paxos. Transaction mined onto the blockchain more quickly. Mempool for certain transactions and then offering a higher gas price to get another Note, however, that anyĪllowance change is subject to front-running, which is as simple as watching the The recommended mitigation in cases where the owner does not trust the spender is toįirst set the allowance to zero before setting it to a new amount, checking that theĪllowance was not spent before sending the new approval transaction. Original allowance, and also get approved for the intended new allowance. Transaction at a similar time that the owner sends the new approve transactionĪnd the transferFrom by the spender goes through first, then the spender gets to use the To change the allowance of a spender that already has an allowance. The problem occurs when the owner decides There is a well known gotcha involving the ERC20 approve method. Warning about ERC20 approve front-running To custody the tokens, such as in the 0x protocol. Typical interaction with the contract will use transfer to move the token as payment.Īdditionally, a pattern involving approve and transferFrom can be used to allow anotherĪddress to move tokens from your address to a third party without the need for the middleperson event Approval(address indexed owner, address indexed spender, uint256 value).event Transfer(address indexed from, address indexed to, uint256 value).transferFrom(address from, address to, uint256 value).
0 Comments
Leave a Reply. |