Skip to content

Commit

Permalink
address and abi change (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
solidoracle committed May 15, 2024
1 parent 67b49ca commit 170018f
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 5 deletions.
59 changes: 55 additions & 4 deletions bulla-contracts/abis/BullaFactoring.json
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,11 @@
"name": "InvoiceCanceled",
"type": "error"
},
{
"inputs": [],
"name": "InvoiceCreditorChanged",
"type": "error"
},
{
"inputs": [],
"name": "InvoiceNotApproved",
Expand Down Expand Up @@ -821,6 +826,19 @@
"name": "InvoiceKickbackAmountSent",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "contract IInvoiceProviderAdapter",
"name": "newInvoiceProviderAdapter",
"type": "address"
}
],
"name": "InvoiceProviderAdapterChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand Down Expand Up @@ -1265,7 +1283,7 @@
},
{
"internalType": "uint16",
"name": "minDays",
"name": "minDaysInterestApplied",
"type": "uint16"
}
],
Expand Down Expand Up @@ -1296,6 +1314,11 @@
"name": "faceValue",
"type": "uint256"
},
{
"internalType": "address",
"name": "creditor",
"type": "address"
},
{
"internalType": "address",
"name": "debtor",
Expand Down Expand Up @@ -1363,7 +1386,7 @@
},
{
"internalType": "uint16",
"name": "minDays",
"name": "minDaysInterestApplied",
"type": "uint16"
}
],
Expand Down Expand Up @@ -1466,11 +1489,26 @@
"outputs": [
{
"internalType": "uint256",
"name": "",
"name": "kickbackAmount",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "trueInterest",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "trueProtocolFee",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "taxAmount",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"stateMutability": "view",
"type": "function"
},
{
Expand Down Expand Up @@ -2412,6 +2450,19 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "contract IInvoiceProviderAdapter",
"name": "_newInvoiceProviderAdapter",
"type": "address"
}
],
"name": "setInvoiceProviderAdapter",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down
2 changes: 1 addition & 1 deletion bulla-contracts/config/sepolia.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"bullaFinance": { "address": "0xB219ecd037E8A5410d2e8839586D9F3996685cfB", "startBlock": 5096555 },
"frendLend": { "address": "0x3E058834CE20A54F0755889c008D3fF62D33cE85", "startBlock": 5096555 },
"instantPayment": { "address": "0x1cD1A83C2965CB7aD55d60551877Eb390e9C3d7A", "startBlock": 5096555 },
"bullaFactoring": { "address": "0xd55077b4e2E80bB9d76235E49dbfF330d2a39b0d", "startBlock": 5752212 }
"bullaFactoring": { "address": "0x2371A9F2c103f8f546a969109B350d6A13d0851B", "startBlock": 5752212 }
}

0 comments on commit 170018f

Please sign in to comment.