mirror of
https://github.com/Instadapp/compound-dsa-managers.git
synced 2024-07-29 21:48:19 +00:00
minor fix
This commit is contained in:
parent
b7b990a703
commit
fcfc956984
|
@ -24,7 +24,7 @@ export function handleManagerToggledByAllow(call: AllowCall): void {
|
||||||
let transactionData = createOrLoadTransaction(transactionID);
|
let transactionData = createOrLoadTransaction(transactionID);
|
||||||
transactionData.txnIndex = call.transaction.index;
|
transactionData.txnIndex = call.transaction.index;
|
||||||
transactionData.from = call.transaction.from;
|
transactionData.from = call.transaction.from;
|
||||||
transactionData.to = call.transaction.to;
|
transactionData.to = call.to;
|
||||||
transactionData.input = call.transaction.input;
|
transactionData.input = call.transaction.input;
|
||||||
transactionData.blockNumber = call.block.number;
|
transactionData.blockNumber = call.block.number;
|
||||||
transactionData.timestamp = call.block.timestamp;
|
transactionData.timestamp = call.block.timestamp;
|
||||||
|
@ -50,7 +50,7 @@ export function handleManagerToggledByAllow(call: AllowCall): void {
|
||||||
owner.save();
|
owner.save();
|
||||||
}
|
}
|
||||||
|
|
||||||
export function handleMnaagerToggledByPermit(call: AllowBySigCall): void {
|
export function handleManagerToggledByPermit(call: AllowBySigCall): void {
|
||||||
let ownerID = call.inputs.owner.toHexString() + "#" + call.to.toHexString();
|
let ownerID = call.inputs.owner.toHexString() + "#" + call.to.toHexString();
|
||||||
let managerID = call.inputs.manager.toHexString() + "#" + ownerID;
|
let managerID = call.inputs.manager.toHexString() + "#" + ownerID;
|
||||||
let transactionID =
|
let transactionID =
|
||||||
|
@ -61,7 +61,7 @@ export function handleMnaagerToggledByPermit(call: AllowBySigCall): void {
|
||||||
let transactionData = createOrLoadTransaction(transactionID);
|
let transactionData = createOrLoadTransaction(transactionID);
|
||||||
transactionData.txnIndex = call.transaction.index;
|
transactionData.txnIndex = call.transaction.index;
|
||||||
transactionData.from = call.transaction.from;
|
transactionData.from = call.transaction.from;
|
||||||
transactionData.to = call.transaction.to;
|
transactionData.to = call.to;
|
||||||
transactionData.input = call.transaction.input;
|
transactionData.input = call.transaction.input;
|
||||||
transactionData.blockNumber = call.block.number;
|
transactionData.blockNumber = call.block.number;
|
||||||
transactionData.timestamp = call.block.timestamp;
|
transactionData.timestamp = call.block.timestamp;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user