Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade contract to Cairo 2.7 #549

Merged
merged 14 commits into from
Aug 21, 2024
Prev Previous commit
Next Next commit
updated abigen aliases
piniom committed Aug 21, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit bb41ca4fd8eccbbccdfd5708d0f4057cd67cf587
25 changes: 22 additions & 3 deletions packages/account_sdk/src/abigen/mod.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,27 @@
#[allow(warnings)]
#[allow(non_snake_case)]
#[allow(clippy)]
#[rustfmt::skip]
pub mod controller;
pub mod controller {
use cainome::rs::abigen;

abigen!(
Controller,
"packages/account_sdk/compiled/controller.contract_class.json",
type_aliases {
argent::outside_execution::outside_execution::outside_execution_component::Event as OutsideExecutionEvent;
controller::Controller::Event as ControllerEvent;
controller::external_owners::external_owners::external_owners_component::Event as ExternalOwnersEvent;
controller::delegate_account::delegate_account::delegate_account_component::Event as DelegateAccountEvent;
controller::session::session::session_component::Event as SessionEvent;
controller::multiple_owners::multiple_owners::multiple_owners_component::Event as MultipleOwnersEvent;
controller::introspection::src5::src5_component::Event as Src5ComponentEvent;
openzeppelin::token::erc20::erc20::ERC20Component::Event as ERC20ComponentEvent;
openzeppelin::access::ownable::ownable::OwnableComponent::Event as OwnableComponentEvent;
openzeppelin_upgrades::upgradeable::UpgradeableComponent::Event as UpgradeEvent;
openzeppelin_security::reentrancyguard::ReentrancyGuardComponent::Event as ReentrancyGuardEvent;
},
derives(Clone, serde::Serialize, serde::Deserialize, PartialEq, Debug)
);
}

#[allow(warnings)]
#[allow(non_snake_case)]