Common Transactions
This is a list of the most common user-facing transactions possible in the PERI Finance ecosystem, and the events they emit on success.
Called contract:
ProxyERC20
Target (underlying) contract:
PeriFinance
Methods:
issuePynths(uint256 amount)
issuePynthsOnBehalf(address user, uint256)
issueMaxPynths()
issueMaxPynthsOnBehalf(address user)
Events Emitted:
On a successful transaction, the following events occur:
- 1.
Transfer
from0x0
toaccount
foramount
emitted onProxypUSD
- 2.
Issued
amount
toaccount
emitted onProxypUSD
- 3.
IssuanceDebtRatioEntry
emitted onProxyFeePool
More info
Check out our unstaking walkthru for more information
Called contract:
ProxyERC20
Target (underlying) contract:
PeriFinance
Methods:
burnPynths(uint256 amount)
burnPynthsOnBehalf(address user, uint256 amount)
burnPynthsToTarget()
burnPynthsToTargetOnBehalf(address user)
Events Emitted:
On a successful transaction, the following events occur:
- 1.
Transfer
fromaccount
to0x0
foramount
emitted onProxypUSD
- 2.
Burned
amount
fromaccount
emitted onProxypUSD
- 3.
IssuanceDebtRatioEntry
emitted onProxyFeePool
Check out our claiming walkthrough for more information
Called contract:
ProxyFeePool
Target (underlying) contract:
FeePool
Methods:
claimFees()
claimOnBehalf(address user)
Events Emitted:
On a successful transaction, the following events occur:
- 1.
Transfer
fromFEE_ADDRESS
to0x0
foramount
emitted onProxypUSD
- 2.
Burned
amount
fromFEE_ADDRESS
emitted onProxypUSD
- 3.
Transfer
from0x0
toaccount
foramount
emitted onProxypUSD
- 4.
Issued
amount
toaccount
emitted onProxypUSD
- 5.
VestingEntryCreated
emitted onRewardEscrow
- 6.
FeesClaimed
emitted onProxyFeePool
Check out our trading walkthrough for more information
Called contract:
ProxyERC20
Target (underlying) contract:
PeriFinance
Methods:
exchange(bytes32 src, uint256 fromAmount, bytes32 dest)
exchangeOnBehalf(address user, bytes32 src, uint256 fromAmount, bytes32 dest)
Events Emitted:
On a successful transaction, the following events occur:
If fees are owing on the
src
pynth, these events come first:- 1.
Transfer
fromaccount
to0x0
forfeesOwing
emitted onProxy<pynth>
for thesrc
pynth. - 2.
Burned
feesOwing
fromaccount
emitted onProxy<pynth>
for thesrc
pynth. - 3.
ExchangeReclaim
fromaccount
forfeesOwing
onsrc
synth emitted onProxySynthetix
Else if fees are owed on the
src
pynth, then these events come first:- 1.
Transfer
from0x0
toaccount
forfeesOwed
emitted onProxy<pynth>
for thesrc
pynth. - 2.
Issued
feesOwed
toaccount
emitted onProxy<synth>
for thesrc
synth. - 3.
ExchangeRebate
fromaccount
forfeesOwed
onsrc
pynth emitted onProxySynthetix
For every exchange, the following events then occur:
- 1.
Transfer
fromaccount
to0x0
forfromAmount
emitted onProxy<pynth>
for thesrc
pynth. - 2.
Burned
fromAmount
fromaccount
emitted onProxy<pynth>
for thesrc
pynth. - 3.
Transfer
from0x0
toaccount
fortoAmount - fee
emitted on onProxy<pynth>
for thedest
pynth. - 4.
Issued
toAmount - fee
toaccount
emitted onProxy<pynth>
for thedest
pynth. - 5.
Transfer
from0x0
toFEE_ADDRESS
forfee
emitted onProxypUSD
- 6.
Issued
amount
toFEE_ADDRESS
emitted onProxypUSD
- 7.
PynthExchange
foraccount
emitted onProxySynthetix